Main Page | Modules | Directories | File List

Frame rows pointers


Functions

uint8_t ** lqt_gavl_rows_create (quicktime_t *file, int track)
 Creeate a row pointer array.
void lqt_gavl_rows_destroy (uint8_t **rows)
 Free rows array.

Detailed Description

Video frames in libquicktime and gavl are compatible for planar formats. For packed formats however, we need an additional array for storing the rows. We could allocate and free them dynamically, causing a lot of overhead. Therefore, we supply 2 functions for creating and freeing the row pointers so they can be reused.

Function Documentation

uint8_t** lqt_gavl_rows_create quicktime_t file,
int  track
 

Creeate a row pointer array.

Parameters:
file A quicktime handle
track Track index (starting with 0)
Returns:
A row pointer array, you can pass to lqt_gavl_encode_video or lqt_gavl_decode_video.

void lqt_gavl_rows_destroy uint8_t **  rows  ) 
 

Free rows array.

Parameters:
rows Row array crated with lqt_gavl_rows_create.


Generated on Thu Jun 8 01:40:10 2006 for lqtgavl by  doxygen 1.4.4