Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-camogm
Commits
432ef318
Commit
432ef318
authored
May 08, 2019
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Tiff files sequence
parent
7643fa8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
camogm_jpeg.c
src/camogm_jpeg.c
+6
-2
camogmgui.php
src/camogmgui/camogmgui.php
+2
-2
No files found.
src/camogm_jpeg.c
View file @
432ef318
...
...
@@ -291,8 +291,12 @@ int camogm_frame_jpeg(camogm_state *state)
struct
iovec
chunks_iovec
[
8
];
int
port
=
state
->
port_num
;
time_t
curr_time
;
sprintf
(
state
->
path
,
"%s%d_%010ld_%06ld.jpeg"
,
state
->
path_prefix
,
port
,
state
->
this_frame_params
[
port
].
timestamp_sec
,
state
->
this_frame_params
[
port
].
timestamp_usec
);
int
is_tiff
=
state
->
this_frame_params
[
port
].
color
==
COLORMODE_RAW
;
if
(
is_tiff
)
{
sprintf
(
state
->
path
,
"%s%d_%010ld_%06ld.tiff"
,
state
->
path_prefix
,
port
,
state
->
this_frame_params
[
port
].
timestamp_sec
,
state
->
this_frame_params
[
port
].
timestamp_usec
);
}
else
{
sprintf
(
state
->
path
,
"%s%d_%010ld_%06ld.jpeg"
,
state
->
path_prefix
,
port
,
state
->
this_frame_params
[
port
].
timestamp_sec
,
state
->
this_frame_params
[
port
].
timestamp_usec
);
}
if
(
!
state
->
rawdev_op
)
{
l
=
0
;
for
(
i
=
0
;
i
<
(
state
->
chunk_index
)
-
1
;
i
++
)
{
...
...
src/camogmgui/camogmgui.php
View file @
432ef318
...
...
@@ -620,9 +620,9 @@
else
echo
"<input type=
\"
radio
\"
id=
\"
radioMov
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
mov
\"
onChange=
\"
format_changed(this);
\"
> Apple Quicktime Movie<br />"
;
if
(
$xml_format
==
"jpeg"
)
echo
"<input type=
\"
radio
\"
id=
\"
radioJpg
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
checked> JPEG Sequence<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioJpg
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
checked> JPEG
/Tiff
Sequence<br />"
;
else
echo
"<input type=
\"
radio
\"
id=
\"
radioJpg
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
> JPEG Sequence<br />"
;
echo
"<input type=
\"
radio
\"
id=
\"
radioJpg
\"
style=
\"
top:3px; position:relative;
\"
name=
\"
container
\"
value=
\"
jpg
\"
onChange=
\"
format_changed(this);
\"
> JPEG
/Tiff
Sequence<br />"
;
if
(
$xml_rawdev_path
!=
""
)
{
$fastrec_checked
=
"checked"
;
}
else
{
...
...
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