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)
int camogm_audio_mov (void *buf, int len, int slen)


Function Documentation

int camogm_audio_mov ( void *  buf,
int  len,
int  slen 
)

Definition at line 234 of file camogm_mov.c.

References CAMOGM_FRAME_FILE_ERR, D0, debug_file, state, and write.

Referenced by audio_process().

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 181 of file camogm_mov.c.

References D4, debug_file, free(), he, autoexp_t::height, q_template, quicktime_template_parser(), read, state, stderr, timescale, autoexp_t::width, and write.

int camogm_frame_mov ( void   ) 

Definition at line 159 of file camogm_mov.c.

References CAMOGM_FRAME_FILE_ERR, D0, debug_file, state, and stderr.

void camogm_free_mov ( void   ) 

Definition at line 135 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 108 of file camogm_mov.c.

References context_audio_t::audio_present, CAMOGM_FRAME_FILE_ERR, CAMOGM_FRAME_MALLOC, ctx_a, D0, debug_file, free(), malloc(), q_template, qtSourceFileName, qtSourceFileName_audio, and qtSourceFileName_video.

int camogm_start_mov ( void   ) 

Definition at line 142 of file camogm_mov.c.

References context_audio_t::audio_present, CAMOGM_FRAME_FILE_ERR, CAMOGM_FRAME_MALLOC, ctx_a, D0, DA, debug_file, malloc(), QUICKTIME_MIN_HEADER, state, and stderr.


Generated on Thu Aug 7 16:19:30 2008 for elphel by  doxygen 1.5.1