I read the h264 encoder docs and example codes in ezsdk-0504, but still don't how to set up this parameter using omx api.
The case I encounter is the input yuv frame is field separated, and the default setup of h264 encoder cannot handle it.
The IVIDEO_VideoLayout is defined as:
typedef enum {
IVIDEO_FIELD_INTERLEAVED = 0, /**< Buffer layout is interleaved. */
IVIDEO_FIELD_SEPARATED = 1, /**< Buffer layout is field separated. */
IVIDEO_TOP_ONLY = 2, /**< Buffer contains only top field. */
IVIDEO_BOTTOM_ONLY = 3 /**< Buffer contains only bottom field. */
} IVIDEO_VideoLayout;
Thanks.
Llano