Hi,
I need to enable Slice Based Encoding for H264 Encoder on OMAP5 platform ,
The Configurations necessary to enable Slice Mode is set from OMX frameowrk. OMX layer is implemented on Android
InputPort
OMX_VIDEO_PARAM_DATASYNCMODETYPE dataSyncType
dataSync.eDataMode = OMX_Video_EntireFrame
OutPut Port
OMX_VIDEO_PARAM_DATASYNCMODETYPE dataSyncType
dataSyncType.eDataMode = OMX_Video_SliceMode;
dataSyncType.nNumDataUnits = 1;
OMX_VIDEO_CONFIG_SLICECODINGTYPE slicetype
slicetype.eSliceMode = OMX_VIDEO_SLICEMODE_AVCByteSlice;
slicetype.nSlicesize = sizeBytes;
But according OMAP5 H264 Encoder User Guide, supposed to make a getBufferFxn and PutDataFxn needs to called from app/framework part
Can anyone provide some inputs on how to make getBufferFxn and PutDataFxn from OMX layer
Regards,
Pushpa