Input/output frame context structure. This aims to be a generic input/output frame structure for any kind of processing (e.g. video, audio, subtitles, data, ...). Not all the fields will be necessarily used by all the processors, in fact, most of the processors will only use a subset of these fields.
Definition at line 78 of file proc_if.h.
int proc_frame_ctx_s::linesize[PROC_FRAME_NUM_DATA_POINTERS] |
Number of bytes per line for each plane. This is not the number of actual data bytes per line, but the stride in byte units (stride bytes >= data bytes per line). For example, in the case of raw video YUV planar formatted data, each line-size refer to the buffer line stride applicable to each data plane. In the case of non-planar raw data or compressed/encoded data, only one entry may be used and would specify the buffer size in bytes (note that buffer size >= actual data size) The number of actual data bytes per line is given by 'width' parameter for the corresponding plane.
Definition at line 107 of file proc_if.h.