Video related definitions and functions. More...
Modules | |
| Video decoding | |
Video related definitions and functions (reading). | |
| Video encoding | |
Video related definitions and functions (writing). | |
Enumerations | |
| enum | lqt_interlace_mode_t { LQT_INTERLACE_NONE = 0, LQT_INTERLACE_TOP_FIRST, LQT_INTERLACE_BOTTOM_FIRST } |
interlace modes More... | |
| enum | lqt_chroma_placement_t { LQT_CHROMA_PLACEMENT_DEFAULT = 0, LQT_CHROMA_PLACEMENT_MPEG2, LQT_CHROMA_PLACEMENT_DVPAL } |
Chroma placement. More... | |
Functions | |
| void | quicktime_set_cmodel (quicktime_t *file, int colormodel) |
| Set the colormodel for en-/decoding. | |
| void | quicktime_set_row_span (quicktime_t *file, int row_span) |
| Set the row_span for en-/decoding. | |
| void | lqt_set_video_parameter (quicktime_t *file, int track, const char *key, const void *value) |
| Set a codec parameter for a video track. | |
| const char * | lqt_interlace_mode_to_string (lqt_interlace_mode_t mode) |
| Convert an interlace mode to a human readable string. | |
| const char * | lqt_chroma_placement_to_string (lqt_chroma_placement_t chroma_placement) |
| Convert a chroma placement to a human readable string. | |
| int | lqt_get_best_colormodel (quicktime_t *file, int track, int *supported) |
| Get the best colormodel out of a list of supported colormodels. | |
| int | lqt_get_cmodel (quicktime_t *file, int track) |
| Get the colormodel, which will be valid for the next en-/decode call. | |
| uint8_t ** | lqt_rows_alloc (int width, int height, int colormodel, int *rowspan, int *rowspan_uv) |
| Allocate a frame buffer for use with libquicktime. | |
| void | lqt_rows_copy (uint8_t **out_rows, uint8_t **in_rows, int width, int height, int in_rowspan, int in_rowspan_uv, int out_rowspan, int out_rowspan_uv, int colormodel) |
| Copy a video frame. | |
| void | lqt_rows_copy_sub (uint8_t **out_rows, uint8_t **in_rows, int width, int height, int in_rowspan, int in_rowspan_uv, int out_rowspan, int out_rowspan_uv, int colormodel, int src_x, int src_y, int dst_x, int dst_y) |
| Copy a subrectangle video frame. | |
| void | lqt_rows_clear (uint8_t **rows, int width, int height, int rowspan, int rowspan_uv, int colormodel) |
| Clear a video frame. | |
| void | lqt_rows_free (uint8_t **rows) |
| Free a frame allocated by lqt_rows_alloc. | |
| void | lqt_set_cmodel (quicktime_t *file, int track, int colormodel) |
| Set the colormodel for en-/decoding. | |
| void | lqt_set_row_span (quicktime_t *file, int track, int row_span) |
| Set the row span for the luma plane. | |
| void | lqt_set_row_span_uv (quicktime_t *file, int track, int row_span_uv) |
| Set the row span for the chroma planes. | |
Video related definitions and functions.
| enum lqt_interlace_mode_t |
interlace modes
This is the interlace mode of a video track. Read it with lqt_get_interlace_mode .
Chroma placement.
This describes the chroma placement of a video track. Read it with lqt_get_chroma_placement . Chroma placement makes only sense for YUV420 formats. For other pixelformats, it is set implicitely to LQT_CHROMA_PLACEMENT_DEFAULT.
| void quicktime_set_cmodel | ( | quicktime_t * | file, | |
| int | colormodel | |||
| ) |
Set the colormodel for en-/decoding.
| file | A quicktime handle
|
| void quicktime_set_row_span | ( | quicktime_t * | file, | |
| int | row_span | |||
| ) |
Set the row_span for en-/decoding.
| file | A quicktime handle
|
| void lqt_set_video_parameter | ( | quicktime_t * | file, | |
| int | track, | |||
| const char * | key, | |||
| const void * | value | |||
| ) |
Set a codec parameter for a video track.
| file | A quicktime handle
|
| const char* lqt_interlace_mode_to_string | ( | lqt_interlace_mode_t | mode | ) |
Convert an interlace mode to a human readable string.
| mode | An interlace mode
|
| const char* lqt_chroma_placement_to_string | ( | lqt_chroma_placement_t | chroma_placement | ) |
Convert a chroma placement to a human readable string.
| chroma_placement | A chroma placement
|
| int lqt_get_best_colormodel | ( | quicktime_t * | file, | |
| int | track, | |||
| int * | supported | |||
| ) |
Get the best colormodel out of a list of supported colormodels.
| file | A quicktime handle
|
| int lqt_get_cmodel | ( | quicktime_t * | file, | |
| int | track | |||
| ) |
Get the colormodel, which will be valid for the next en-/decode call.
| file | A quicktime handle
|
| uint8_t** lqt_rows_alloc | ( | int | width, | |
| int | height, | |||
| int | colormodel, | |||
| int * | rowspan, | |||
| int * | rowspan_uv | |||
| ) |
Allocate a frame buffer for use with libquicktime.
| width | The width of the frame
|
| void lqt_rows_copy | ( | uint8_t ** | out_rows, | |
| uint8_t ** | in_rows, | |||
| int | width, | |||
| int | height, | |||
| int | in_rowspan, | |||
| int | in_rowspan_uv, | |||
| int | out_rowspan, | |||
| int | out_rowspan_uv, | |||
| int | colormodel | |||
| ) |
Copy a video frame.
| out_rows | Destination frame
|
| void lqt_rows_copy_sub | ( | uint8_t ** | out_rows, | |
| uint8_t ** | in_rows, | |||
| int | width, | |||
| int | height, | |||
| int | in_rowspan, | |||
| int | in_rowspan_uv, | |||
| int | out_rowspan, | |||
| int | out_rowspan_uv, | |||
| int | colormodel, | |||
| int | src_x, | |||
| int | src_y, | |||
| int | dst_x, | |||
| int | dst_y | |||
| ) |
Copy a subrectangle video frame.
| out_rows | Destination frame
|
| void lqt_rows_clear | ( | uint8_t ** | rows, | |
| int | width, | |||
| int | height, | |||
| int | rowspan, | |||
| int | rowspan_uv, | |||
| int | colormodel | |||
| ) |
Clear a video frame.
| rows | Frame
|
| void lqt_rows_free | ( | uint8_t ** | rows | ) |
Free a frame allocated by lqt_rows_alloc.
| rows | The frame to be freed |
| void lqt_set_cmodel | ( | quicktime_t * | file, | |
| int | track, | |||
| int | colormodel | |||
| ) |
Set the colormodel for en-/decoding.
| file | A quicktime handle
|
| void lqt_set_row_span | ( | quicktime_t * | file, | |
| int | track, | |||
| int | row_span | |||
| ) |
Set the row span for the luma plane.
| file | A quicktime handle
|
| void lqt_set_row_span_uv | ( | quicktime_t * | file, | |
| int | track, | |||
| int | row_span_uv | |||
| ) |
Set the row span for the chroma planes.
| file | A quicktime handle
|
1.6.3