apps/camogm2/camogm_mov.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int camogm_init_mov (void)
int camogm_start_mov (void)
int camogm_frame_mov (void)
int camogm_end_mov (void)
 move to the start of the file and insert generated header
void camogm_free_mov (void)


Function Documentation

int camogm_end_mov ( void   ) 

move to the start of the file and insert generated header

frame period measured in 1/10000 of a second?

that was in old code. If that works - try to switch to microseconds

4-byte length+"mdat"

now - string containing header template

output file descriptor (opened)

width in pixels

frame size - will look in the table

array of frame lengths to build an index

free memory used for index

Definition at line 184 of file camogm_mov.c.

References D4, debug_file, camogm_state::frame_data_start, camogm_state::frame_lengths, camogm_state::frame_period, camogm_state::frameno, camogm_state::frames_per_chunk, free(), he, camogm_state::height, camogm_state::ivf, q_template, quicktime_template_parser(), read, SEEK_CUR, SEEK_SET, state, camogm_state::timescale, timescale, camogm_state::width, and write.

int camogm_frame_mov ( void   ) 

Definition at line 162 of file camogm_mov.c.

References CAMOGM_FRAME_FILE_ERR, camogm_state::chunk_index, D0, debug_file, camogm_state::frame_lengths, camogm_state::frameno, camogm_state::ivf, camogm_state::packetchunks, and state.

void camogm_free_mov ( void   ) 

Definition at line 138 of file camogm_mov.c.

References free(), and q_template.

int camogm_init_mov ( void   ) 

called first time format is changed to this one (only once) recording is stopped read frame template from the file if it is not done yet

Definition at line 111 of file camogm_mov.c.

References CAMOGM_FRAME_FILE_ERR, CAMOGM_FRAME_MALLOC, D0, debug_file, free(), malloc(), q_template, qtSourceFileName, SEEK_END, SEEK_SET, and size.

int camogm_start_mov ( void   ) 

Definition at line 145 of file camogm_mov.c.

References CAMOGM_FRAME_FILE_ERR, CAMOGM_FRAME_MALLOC, D0, debug_file, camogm_state::frame_data_start, camogm_state::frame_lengths, camogm_state::frame_params, camogm_state::frames_per_chunk, camogm_state::ivf, malloc(), camogm_state::max_frames, camogm_state::path, camogm_state::path_prefix, QUICKTIME_MIN_HEADER, SEEK_SET, state, interframe_params_t::timestamp_sec, and interframe_params_t::timestamp_usec.


Generated on Fri Nov 28 00:06:57 2008 for elphel by  doxygen 1.5.1