Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-autoexposure
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-autoexposure
Commits
69defb6b
Commit
69defb6b
authored
Nov 27, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added debug output
parent
d495822f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
aexp_utils.c
src/aexp_utils.c
+1
-1
autoexposure.c
src/autoexposure.c
+4
-1
No files found.
src/aexp_utils.c
View file @
69defb6b
src/autoexposure.c
View file @
69defb6b
...
@@ -151,7 +151,10 @@ int main (int argc, char *argv[]) {
...
@@ -151,7 +151,10 @@ int main (int argc, char *argv[]) {
// lseek(fd_fparmsall,10+LSEEK_FRAME_WAIT_ABS, SEEK_END); /// skip 3 frames (first got 0 pixels, 2- 0x3fff) - one extra, sometimes it is needed
// lseek(fd_fparmsall,10+LSEEK_FRAME_WAIT_ABS, SEEK_END); /// skip 3 frames (first got 0 pixels, 2- 0x3fff) - one extra, sometimes it is needed
// with 10 - 3 bad frames
// with 10 - 3 bad frames
lseek
(
fd_fparmsall
,
14
+
LSEEK_FRAME_WAIT_ABS
,
SEEK_END
);
/// skip 3 frames (first got 0 pixels, 2- 0x3fff) - one extra, sometimes it is needed
MDF0
(
fprintf
(
stderr
,
"autoexposure#%d this_frame = 0x%x
\n
"
,
sensor_port
,
(
int
)
GLOBALPARS_SNGL
(
G_THIS_FRAME
)));
// lseek(fd_fparmsall,14+LSEEK_FRAME_WAIT_ABS, SEEK_END); /// skip 3 frames (first got 0 pixels, 2- 0x3fff) - one extra, sometimes it is needed
lseek
(
fd_fparmsall
,
20
+
LSEEK_FRAME_WAIT_ABS
,
SEEK_END
);
/// skip 3 frames (first got 0 pixels, 2- 0x3fff) - one extra, sometimes it is needed
MDF0
(
fprintf
(
stderr
,
"frame 14: autoexposure#%d this_frame = 0x%x
\n
"
,
sensor_port
,
(
int
)
GLOBALPARS_SNGL
(
G_THIS_FRAME
)));
while
(
1
)
{
/// restart loop
while
(
1
)
{
/// restart loop
if
(
initParams
(
daemon_bit
)
<
0
)
exit
(
1
);
/// initialization errors
if
(
initParams
(
daemon_bit
)
<
0
)
exit
(
1
);
/// initialization errors
...
...
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