Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
84c24b0a
Commit
84c24b0a
authored
Sep 09, 2015
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added generation of JPEG headers and tables
parent
70528b01
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
610 additions
and
0 deletions
+610
-0
x393_parameters.vh
includes/x393_parameters.vh
+1
-0
test_mcntrl.py
py393/test_mcntrl.py
+3
-0
x393_jpeg.py
py393/x393_jpeg.py
+606
-0
No files found.
includes/x393_parameters.vh
View file @
84c24b0a
...
...
@@ -579,6 +579,7 @@
parameter CMPRS_CBIT_CMODE_JP4DIFFHDRDIV2 = 4'ha, // jp4, 4 blocks, differential, hdr,divide by 2
parameter CMPRS_CBIT_CMODE_MONO1 = 4'hb, // mono JPEG (not yet implemented)
parameter CMPRS_CBIT_CMODE_MONO4 = 4'he, // mono 4 blocks
parameter CMPRS_CBIT_FRAMES_SINGLE = 0, //1, // use a single-frame buffer for images
parameter CMPRS_COLOR18 = 0, // JPEG 4:2:0 with 18x18 overlapping tiles for de-bayer
...
...
py393/test_mcntrl.py
View file @
84c24b0a
...
...
@@ -65,6 +65,7 @@ import x393_cmprs
import
x393_frame_sequencer
import
x393_sensor
import
x393_rtc
import
x393_jpeg
import
vrlg
__all__
=
[]
__version__
=
0.1
...
...
@@ -348,6 +349,7 @@ USAGE
x393FrameSequencer
=
x393_frame_sequencer
.
X393FrameSequencer
(
verbose
,
args
.
simulated
,
args
.
localparams
)
x393Sensor
=
x393_sensor
.
X393Sensor
(
verbose
,
args
.
simulated
,
args
.
localparams
)
x393Rtc
=
x393_rtc
.
X393Rtc
(
verbose
,
args
.
simulated
,
args
.
localparams
)
x393Jpeg
=
x393_jpeg
.
X393Jpeg
(
verbose
,
args
.
simulated
,
args
.
localparams
)
'''
print ("----------------------")
print("x393_mem.__dict__="+str(x393_mem.__dict__))
...
...
@@ -380,6 +382,7 @@ USAGE
extractTasks
(
x393_frame_sequencer
.
X393FrameSequencer
,
x393FrameSequencer
)
extractTasks
(
x393_sensor
.
X393Sensor
,
x393Sensor
)
extractTasks
(
x393_rtc
.
X393Rtc
,
x393Rtc
)
extractTasks
(
x393_jpeg
.
X393Jpeg
,
x393Jpeg
)
for
cmdLine
in
commands
:
print
(
'Running task: '
+
str
(
cmdLine
))
...
...
py393/x393_jpeg.py
0 → 100644
View file @
84c24b0a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment