Hello TI,
Currently we are using ezsdk_dm814x-evm_5_05_01_04 with NDA signed Overlay code. We are running demo for interlace encoding with Field seperated configuration.
We have following dataLayout configuration:
parameters.dataLayout = IVIDEO_FIELD_SEPARATED;
parameters.topFieldFirstFlag = 1;
parameters.secondFieldOffsetHeight[0] = 0;
parameters.secondFieldOffsetHeight[1] = 0;
parameters.secondFieldOffsetHeight[2] = 0;
parameters.secondFieldOffsetWidth[0] = 0;
parameters.secondFieldOffsetWidth[1] = 0;
parameters.secondFieldOffsetWidth[2] = 0;
Interlace Encoding is working correct but we observe following problem.
1. Last buffer given to encoder input is TOP field and then set "parameters.videoDynamicParams.h264EncDynamicParams.videnc2DynamicParams.forceFrame = IVIDEO_IDR_FRAME;" with setConfig. So once this setting done Encoder start encode TOP field as bottom and Bottom as TOP field.
Please suggest change to resolve this problem as soon as possible.
Thanks,
Jignesh