SW:EZSDK5.5 OMX
HW:DM8168
OMX_INIT_PARAM (&tStaticParam);
tStaticParam.nPortIndex = OMX_VIDENC_OUTPUT_PORT;
eError = OMX_GetParameter (pHandle, OMX_TI_IndexParamVideoStaticParams,
&tStaticParam);
tStaticParam.videoStaticParams.h264EncStaticParams.rateControlParams.HRDBufferSize = pAppData->nBitRate * 2;
tStaticParam.videoStaticParams.h264EncStaticParams.videnc2Params.encodingPreset = XDM_USER_DEFINED;//XDM_DEFAULT;
tStaticParam.videoStaticParams.h264EncStaticParams.videnc2Params.rateControlPreset = IVIDEO_USER_DEFINED;//IVIDEO_LOW_DELAY;
tStaticParam.videoStaticParams.h264EncStaticParams.intraCodingParams.intraCodingPreset = IH264_INTRACODING_USERDEFINED;
tStaticParam.videoStaticParams.h264EncStaticParams.intraCodingParams.lumaIntra4x4Enable = 0x1FF; //when 0x1f and 0x1ff, same results
tStaticParam.videoStaticParams.h264EncStaticParams.intraCodingParams.lumaIntra8x8Enable = 0x1FF;
tStaticParam.videoStaticParams.h264EncStaticParams.intraCodingParams.lumaIntra16x16Enable = 0xF;
tStaticParam.videoStaticParams.h264EncStaticParams.intraCodingParams.chromaIntra8x8Enable = 0xF;
tStaticParam.videoStaticParams.h264EncStaticParams.intraCodingParams.chromaComponentEnable = IH264_CHROMA_COMPONENT_CB_CR_BOTH;
tStaticParam.videoStaticParams.h264EncStaticParams.intraCodingParams.constrainedIntraPredEnable = 0;
eError = OMX_SetParameter (pHandle, OMX_TI_IndexParamVideoStaticParams,
&tStaticParam);
}
but the StaticParam does not take effect? the Encoded stream does not change.