Home
last modified time | relevance | path

Searched refs:pComponentPrivate (Results 1 – 25 of 120) sorted by relevance

12345

/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
DOMX_AacDec_Utils.c120 …AACDEC_COMPONENT_PRIVATE *pComponentPrivate = (AACDEC_COMPONENT_PRIVATE *)pHandle->pComponentPriva… in AACDEC_Fill_LCMLInitParams() local
124 pComponentPrivate->nRuntimeInputBuffers = 0; in AACDEC_Fill_LCMLInitParams()
125 pComponentPrivate->nRuntimeOutputBuffers = 0; in AACDEC_Fill_LCMLInitParams()
127 …OMX_PRDSP2(pComponentPrivate->dbg, "%d:::pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->bPopulate… in AACDEC_Fill_LCMLInitParams()
128 __LINE__,pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->bPopulated); in AACDEC_Fill_LCMLInitParams()
129 …OMX_PRDSP2(pComponentPrivate->dbg, "%d:::pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->bEnabled … in AACDEC_Fill_LCMLInitParams()
130 __LINE__,pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->bEnabled); in AACDEC_Fill_LCMLInitParams()
131 …OMX_PRDSP2(pComponentPrivate->dbg, "%d:::pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC]->bPopulat… in AACDEC_Fill_LCMLInitParams()
132 __LINE__,pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC]->bPopulated); in AACDEC_Fill_LCMLInitParams()
133 …OMX_PRDSP2(pComponentPrivate->dbg, "%d:::pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC]->bEnabled… in AACDEC_Fill_LCMLInitParams()
[all …]
DOMX_AacDecoder.c205 AACDEC_COMPONENT_PRIVATE *pComponentPrivate; in OMX_ComponentInit() local
232 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate,AACDEC_COMPONENT_PRIVATE); in OMX_ComponentInit()
234 pComponentPrivate = pHandle->pComponentPrivate; in OMX_ComponentInit()
235 pComponentPrivate->pHandle = pHandle; in OMX_ComponentInit()
236 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_AACDEC"); in OMX_ComponentInit()
239 pComponentPrivate->pPERF = PERF_Create(PERF_FOURCC('A','A','C','D'), in OMX_ComponentInit()
246 pComponentPrivate->iPVCapabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE; in OMX_ComponentInit()
247 pComponentPrivate->iPVCapabilityFlags.iOMXComponentNeedsNALStartCode = OMX_FALSE; in OMX_ComponentInit()
248pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
249pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Dec_Utils.c124 …MP3DEC_COMPONENT_PRIVATE *pComponentPrivate =(MP3DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivat… in MP3DEC_Fill_LCMLInitParams() local
129 pComponentPrivate->nRuntimeInputBuffers = 0; in MP3DEC_Fill_LCMLInitParams()
130 pComponentPrivate->nRuntimeOutputBuffers = 0; in MP3DEC_Fill_LCMLInitParams()
132 OMX_PRINT1(pComponentPrivate->dbg, "Entered MP3DEC_Fill_LCMLInitParams\n"); in MP3DEC_Fill_LCMLInitParams()
133 …OMX_PRCOMM2(pComponentPrivate->dbg, ":::pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->bPopulated =… in MP3DEC_Fill_LCMLInitParams()
134 pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->bPopulated); in MP3DEC_Fill_LCMLInitParams()
135 …OMX_PRCOMM2(pComponentPrivate->dbg, ":::pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->bEnabled = %… in MP3DEC_Fill_LCMLInitParams()
136 pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->bEnabled); in MP3DEC_Fill_LCMLInitParams()
137 …OMX_PRCOMM2(pComponentPrivate->dbg, ":::pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT]->bPopulated … in MP3DEC_Fill_LCMLInitParams()
138 pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT]->bPopulated); in MP3DEC_Fill_LCMLInitParams()
[all …]
DOMX_Mp3Decoder.c211 MP3DEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; in OMX_ComponentInit() local
237 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate,MP3DEC_COMPONENT_PRIVATE); in OMX_ComponentInit()
239 pComponentPrivate = pHandle->pComponentPrivate; in OMX_ComponentInit()
240 pComponentPrivate->pHandle = pHandle; in OMX_ComponentInit()
241 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_MP3DEC"); in OMX_ComponentInit()
244 pComponentPrivate->pPERF = PERF_Create(PERF_FOURCC('M','P','3','D'), in OMX_ComponentInit()
249 pComponentPrivate->iPVCapabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE; in OMX_ComponentInit()
250 pComponentPrivate->iPVCapabilityFlags.iOMXComponentNeedsNALStartCode = OMX_FALSE; in OMX_ComponentInit()
251pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
252pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
DOMX_WbAmrEnc_Utils.c112 WBAMRENC_COMPONENT_PRIVATE *pComponentPrivate = pHandle->pComponentPrivate; in WBAMRENC_FillLCMLInitParams() local
118 OMX_PRINT1(pComponentPrivate->dbg, "Entering\n"); in WBAMRENC_FillLCMLInitParams()
119 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in WBAMRENC_FillLCMLInitParams()
120 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; in WBAMRENC_FillLCMLInitParams()
122 nIpBufSize = pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT]->nBufferSize; in WBAMRENC_FillLCMLInitParams()
123 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in WBAMRENC_FillLCMLInitParams()
124 pComponentPrivate->nRuntimeOutputBuffers = nOpBuf; in WBAMRENC_FillLCMLInitParams()
126 nOpBufSize = pComponentPrivate->pPortDef[WBAMRENC_OUTPUT_PORT]->nBufferSize; in WBAMRENC_FillLCMLInitParams()
127 OMX_PRBUFFER2(pComponentPrivate->dbg, in WBAMRENC_FillLCMLInitParams()
129 OMX_PRBUFFER2(pComponentPrivate->dbg, in WBAMRENC_FillLCMLInitParams()
[all …]
DOMX_WbAmrEncoder.c191 WBAMRENC_COMPONENT_PRIVATE *pComponentPrivate; in OMX_ComponentInit() local
221 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, WBAMRENC_COMPONENT_PRIVATE); in OMX_ComponentInit()
223 ((WBAMRENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; in OMX_ComponentInit()
224 pComponentPrivate = pHandle->pComponentPrivate; in OMX_ComponentInit()
226 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_WBAMRENC"); in OMX_ComponentInit()
229 pComponentPrivate->iPVCapabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE; in OMX_ComponentInit()
230 pComponentPrivate->iPVCapabilityFlags.iOMXComponentNeedsNALStartCode = OMX_FALSE; in OMX_ComponentInit()
231pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
232 pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
233 pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsMovableInputBuffers = OMX_FALSE; in OMX_ComponentInit()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
DOMX_WbAmrDec_Utils.c117 WBAMR_DEC_COMPONENT_PRIVATE *pComponentPrivate; in WBAMR_DEC_Fill_LCMLInitParams() local
120 pComponentPrivate = pHandle->pComponentPrivate; in WBAMR_DEC_Fill_LCMLInitParams()
121 OMX_PRINT1(pComponentPrivate->dbg, "WBAMR_DEC_Fill_LCMLInitParams\n "); in WBAMR_DEC_Fill_LCMLInitParams()
122 OMX_PRDSP1(pComponentPrivate->dbg, "pHandle = %p\n",pHandle); in WBAMR_DEC_Fill_LCMLInitParams()
123 …OMX_PRDSP1(pComponentPrivate->dbg, "pHandle->pComponentPrivate = %p\n",pHandle->pComponentPrivate); in WBAMR_DEC_Fill_LCMLInitParams()
125 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in WBAMR_DEC_Fill_LCMLInitParams()
126 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; in WBAMR_DEC_Fill_LCMLInitParams()
127 if(pComponentPrivate->mimemode == 1) in WBAMR_DEC_Fill_LCMLInitParams()
131 else if (pComponentPrivate->mimemode == 2) in WBAMR_DEC_Fill_LCMLInitParams()
137 if (OMX_AUDIO_AMRDTXasEFR == pComponentPrivate->iAmrMode){ in WBAMR_DEC_Fill_LCMLInitParams()
[all …]
DOMX_WbAmrDecoder.c197 WBAMR_DEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; in OMX_ComponentInit() local
227 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, WBAMR_DEC_COMPONENT_PRIVATE); in OMX_ComponentInit()
231 pHandle->pComponentPrivate)->pHandle = pHandle; in OMX_ComponentInit()
235 pHandle->pComponentPrivate)->sPortParam.nPorts = 0x2; in OMX_ComponentInit()
237 pHandle->pComponentPrivate)->sPortParam.nStartPortNumber = 0x0; in OMX_ComponentInit()
243 pHandle->pComponentPrivate)->wbamrParams[WBAMR_DEC_INPUT_PORT] = amr_ip; in OMX_ComponentInit()
245 …pHandle->pComponentPrivate)->wbamrParams[WBAMR_DEC_OUTPUT_PORT] = (OMX_AUDIO_PARAM_AMRTYPE*)amr_op; in OMX_ComponentInit()
249 pComponentPrivate = pHandle->pComponentPrivate; in OMX_ComponentInit()
250 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_WBAMRDEC"); in OMX_ComponentInit()
253 pComponentPrivate->pPERF = PERF_Create(PERF_FOURCC('W','B','D','_'), in OMX_ComponentInit()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Thread.c83 extern OMX_ERRORTYPE VIDDEC_DisablePort(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam…
84 extern OMX_ERRORTYPE VIDDEC_EnablePort(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nParam1…
85 extern OMX_ERRORTYPE VIDDEC_HandleDataBuf_FromApp( VIDDEC_COMPONENT_PRIVATE *pComponentPrivate);
86 extern OMX_ERRORTYPE VIDDEC_HandleDataBuf_FromDsp( VIDDEC_COMPONENT_PRIVATE *pComponentPrivate );
87 extern OMX_ERRORTYPE VIDDEC_HandleFreeDataBuf( VIDDEC_COMPONENT_PRIVATE *pComponentPrivate );
88 …n OMX_ERRORTYPE VIDDEC_HandleFreeOutputBufferFromApp(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate) ;
91 extern OMX_ERRORTYPE VIDDEC_HandleCommandMarkBuffer(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OM…
92 extern OMX_ERRORTYPE VIDDEC_HandleCommandFlush(VIDDEC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32…
93 extern OMX_ERRORTYPE VIDDEC_Handle_InvalidState (VIDDEC_COMPONENT_PRIVATE* pComponentPrivate);
120 VIDDEC_COMPONENT_PRIVATE* pComponentPrivate; in OMX_VidDec_Thread() local
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDec_Utils.c121 WMADEC_COMPONENT_PRIVATE *pComponentPrivate, *pComponentPrivate_CC; in WMADECFill_LCMLInitParams() local
123 pComponentPrivate = pComponent->pComponentPrivate; in WMADECFill_LCMLInitParams()
124 pComponentPrivate_CC = pComponentPrivate; in WMADECFill_LCMLInitParams()
127 OMX_PRINT2(pComponentPrivate->dbg, "[WMADECFill_LCMLInitParams] pComponent = %p",pComponent); in WMADECFill_LCMLInitParams()
128 OMX_PRINT2(pComponentPrivate->dbg, "[WMADECFill_LCMLInitParams] pComponentPrivate = %p", in WMADECFill_LCMLInitParams()
129 pComponentPrivate); in WMADECFill_LCMLInitParams()
130 OMX_PRINT1(pComponentPrivate->dbg, "%d :: Entered WMADECFill_LCMLInitParams",__LINE__); in WMADECFill_LCMLInitParams()
131 OMX_PRINT2(pComponentPrivate->dbg, "%d :: WMADECFill_LCMLInitParams - pComponentPrivate = %p", in WMADECFill_LCMLInitParams()
132 __LINE__,pComponentPrivate); in WMADECFill_LCMLInitParams()
133 OMX_PRINT2(pComponentPrivate->dbg, "%d :: WMADECFill_LCMLInitParams - pHandle = %p",__LINE__, in WMADECFill_LCMLInitParams()
[all …]
DOMX_WmaDecoder.c186 WMADEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; in OMX_ComponentInit() local
219 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, WMADEC_COMPONENT_PRIVATE); in OMX_ComponentInit()
220 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; in OMX_ComponentInit()
223 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->sPortParam.nPorts = 0x2; in OMX_ComponentInit()
224 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->sPortParam.nStartPortNumber = 0x0; in OMX_ComponentInit()
232 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->wma_op=wma_op; in OMX_ComponentInit()
233 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->rcaheader=rcaheader; in OMX_ComponentInit()
235 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->wmaParams[INPUT_PORT] = wma_ip; in OMX_ComponentInit()
236 …((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->wmaParams[OUTPUT_PORT] = (OMX_AUDIO_PARA… in OMX_ComponentInit()
239 pComponentPrivate = pHandle->pComponentPrivate; in OMX_ComponentInit()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/
DOMX_AacEnc_Utils.c119 AACENC_COMPONENT_PRIVATE *pComponentPrivate = pHandle->pComponentPrivate; in AACENCFill_LCMLInitParams() local
126 OMX_PRINT1(pComponentPrivate->dbg, "%d :: UTIL: AACENCFill_LCMLInitParams\n ",__LINE__); in AACENCFill_LCMLInitParams()
127 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in AACENCFill_LCMLInitParams()
128 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; in AACENCFill_LCMLInitParams()
129 nIpBufSize = pComponentPrivate->pPortDef[INPUT_PORT]->nBufferSize; in AACENCFill_LCMLInitParams()
130 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in AACENCFill_LCMLInitParams()
131 nOpBufSize = pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize; in AACENCFill_LCMLInitParams()
133 pComponentPrivate->nRuntimeOutputBuffers = nOpBuf; in AACENCFill_LCMLInitParams()
136 FramesPerOutBuf = (OMX_U16)pComponentPrivate->FramesPer_OutputBuffer; in AACENCFill_LCMLInitParams()
137 …OMX_PRBUFFER1(pComponentPrivate->dbg, "%d :: UTIL: Frames per output buffer = %d \n\n",__LINE__, F… in AACENCFill_LCMLInitParams()
[all …]
DOMX_AacEnc_CompThread.c87 AACENC_COMPONENT_PRIVATE* pComponentPrivate = (AACENC_COMPONENT_PRIVATE*)pThreadData; in AACENC_ComponentThread() local
88 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; in AACENC_ComponentThread()
92 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('A', 'A', 'C', 'E'), in AACENC_ComponentThread()
97 OMX_PRINT1(pComponentPrivate->dbg, "%d :: Entering ComponentThread\n", __LINE__); in AACENC_ComponentThread()
98 fdmax = pComponentPrivate->cmdPipe[0]; in AACENC_ComponentThread()
100 if (pComponentPrivate->dataPipe[0] > fdmax) in AACENC_ComponentThread()
101 fdmax = pComponentPrivate->dataPipe[0]; in AACENC_ComponentThread()
106 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in AACENC_ComponentThread()
107 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in AACENC_ComponentThread()
120 if (pComponentPrivate->bIsThreadstop == 1) { in AACENC_ComponentThread()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Utils.c98 static OMX_ERRORTYPE HandleJpegEncInternalFlush(JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U…
123 …JPEGENC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGENC_COMPONENT_PRIVATE *)pHandle->pComponentPri… in GetJpegEncLCMLHandle() local
128 OMX_PRDSP1(pComponentPrivate->dbg, "Inside GetLCMLHandle function\n"); in GetJpegEncLCMLHandle()
157 OMX_PRDSP4(pComponentPrivate->dbg, "eError != OMX_ErrorNone...\n"); in GetJpegEncLCMLHandle()
161 OMX_PRDSP2(pComponentPrivate->dbg, "Received LCML Handle\n"); in GetJpegEncLCMLHandle()
163 pComponentPrivate->pDllHandle = handle; in GetJpegEncLCMLHandle()
164 pComponentPrivate->pLCML = (void *)LCML_pHandle; in GetJpegEncLCMLHandle()
165 pComponentPrivate->pLCML->pComponentPrivate = (JPEGENC_COMPONENT_PRIVATE *)pComponentPrivate; in GetJpegEncLCMLHandle()
171 …JPEGENC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGENC_COMPONENT_PRIVATE *)pHandle->pComponentPri… in GetJpegEncLCMLHandle() local
199 (LCML_DSP_INTERFACE*)pComponentPrivate->pLCML = (LCML_DSP_INTERFACE *)LCML_pHandle; in GetJpegEncLCMLHandle()
[all …]
DOMX_JpegEnc_Thread.c106 …JPEGENC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGENC_COMPONENT_PRIVATE *)pHandle->pComponentPri… in OMX_JpegEnc_Thread() local
109 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURS("JPET"), in OMX_JpegEnc_Thread()
115 fdmax = pComponentPrivate->nCmdPipe[0]; in OMX_JpegEnc_Thread()
117 if ( pComponentPrivate->free_outBuf_Q[0] > fdmax ) { in OMX_JpegEnc_Thread()
118 fdmax = pComponentPrivate->free_outBuf_Q[0]; in OMX_JpegEnc_Thread()
122 if ( pComponentPrivate->filled_inpBuf_Q[0] > fdmax ) { in OMX_JpegEnc_Thread()
123 fdmax = pComponentPrivate->filled_inpBuf_Q[0]; in OMX_JpegEnc_Thread()
126 OMX_TRACE2(pComponentPrivate->dbg, "fd max is %d\n",fdmax); in OMX_JpegEnc_Thread()
130 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); in OMX_JpegEnc_Thread()
131 if (pComponentPrivate->nCurState != OMX_StatePause) { in OMX_JpegEnc_Thread()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDec_Utils.c124 AMRDEC_COMPONENT_PRIVATE *pComponentPrivate; in NBAMRDECFill_LCMLInitParams() local
128 pComponentPrivate = pHandle->pComponentPrivate; in NBAMRDECFill_LCMLInitParams()
129 …OMX_PRINT1 (pComponentPrivate->dbg, "%d :: OMX_AmrDec_Utils.c :: NBAMRDECFill_LCMLInitParams\n ",_… in NBAMRDECFill_LCMLInitParams()
131 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in NBAMRDECFill_LCMLInitParams()
132 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; in NBAMRDECFill_LCMLInitParams()
134 if(pComponentPrivate->mimemode == 1) in NBAMRDECFill_LCMLInitParams()
138 else if (pComponentPrivate->mimemode == 2) in NBAMRDECFill_LCMLInitParams()
144 if (OMX_AUDIO_AMRDTXasEFR == pComponentPrivate->iAmrMode) in NBAMRDECFill_LCMLInitParams()
153 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in NBAMRDECFill_LCMLInitParams()
154 pComponentPrivate->nRuntimeOutputBuffers = nOpBuf; in NBAMRDECFill_LCMLInitParams()
[all …]
DOMX_AmrDecoder.c201 AMRDEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; in OMX_ComponentInit() local
231 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, AMRDEC_COMPONENT_PRIVATE); in OMX_ComponentInit()
234 pHandle->pComponentPrivate)->pHandle = pHandle; in OMX_ComponentInit()
238 pHandle->pComponentPrivate)->sPortParam.nPorts = 0x2; in OMX_ComponentInit()
240 pHandle->pComponentPrivate)->sPortParam.nStartPortNumber = 0x0; in OMX_ComponentInit()
249 pHandle->pComponentPrivate)->amrParams[NBAMRDEC_INPUT_PORT] = amr_ip; in OMX_ComponentInit()
251 … pHandle->pComponentPrivate)->amrParams[NBAMRDEC_OUTPUT_PORT] = (OMX_AUDIO_PARAM_AMRTYPE*)amr_op; in OMX_ComponentInit()
253 pComponentPrivate = pHandle->pComponentPrivate; in OMX_ComponentInit()
254 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_NBAMRDEC"); in OMX_ComponentInit()
257 pComponentPrivate->pPERF = PERF_Create(PERF_FOURCC('N','B','D','_'), in OMX_ComponentInit()
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/
DOMX_VideoEnc_Thread.c121 VIDENC_COMPONENT_PRIVATE* pComponentPrivate = NULL; in OMX_VIDENC_Thread() local
131 pComponentPrivate = (VIDENC_COMPONENT_PRIVATE*)pThreadData; in OMX_VIDENC_Thread()
132 pLcmlHandle = (LCML_DSP_INTERFACE*)pComponentPrivate->pLCML; in OMX_VIDENC_Thread()
135 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('V', 'E', ' ', 'T'), in OMX_VIDENC_Thread()
143 fdmax = pComponentPrivate->nCmdPipe[0]; in OMX_VIDENC_Thread()
145 if (pComponentPrivate->nFree_oPipe[0] > fdmax) in OMX_VIDENC_Thread()
147 fdmax = pComponentPrivate->nFree_oPipe[0]; in OMX_VIDENC_Thread()
150 if (pComponentPrivate->nFilled_iPipe[0] > fdmax) in OMX_VIDENC_Thread()
152 fdmax = pComponentPrivate->nFilled_iPipe[0]; in OMX_VIDENC_Thread()
158 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); in OMX_VIDENC_Thread()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDec_Utils.c115 …JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGDEC_COMPONENT_PRIVATE *)pHandle->pComponentPri… in GetLCMLHandleJpegDec() local
120 JPEGDEC_OMX_CONF_CHECK_CMD(pComponentPrivate, 1, 1); in GetLCMLHandleJpegDec()
149 …OMX_PRDSP5(pComponentPrivate->dbg, "eError != OMX_ErrorNone... in (*fpGetHandle)(&LCML_pHandle);\n… in GetLCMLHandleJpegDec()
153 pComponentPrivate->pDllHandle = handle; in GetLCMLHandleJpegDec()
154 pComponentPrivate->pLCML = (void *)LCML_pHandle; in GetLCMLHandleJpegDec()
155 pComponentPrivate->pLCML->pComponentPrivate = (JPEGDEC_COMPONENT_PRIVATE *)pComponentPrivate; in GetLCMLHandleJpegDec()
163 …JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGDEC_COMPONENT_PRIVATE *)pHandle->pComponentPri… in GetLCMLHandleJpegDec()
190 (LCML_DSP_INTERFACE*)pComponentPrivate->pLCML = (LCML_DSP_INTERFACE *)LCML_pHandle; in GetLCMLHandleJpegDec()
191 pComponentPrivate->pLCML->pComponentPrivate = (JPEGDEC_COMPONENT_PRIVATE *)pComponentPrivate; in GetLCMLHandleJpegDec()
209 OMX_ERRORTYPE DisablePortJpegDec(JPEGDEC_COMPONENT_PRIVATE* pComponentPrivate, in DisablePortJpegDec() argument
[all …]
DOMX_JpegDec_Thread.c83 …JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGDEC_COMPONENT_PRIVATE *)pHandle->pComponentPri… in OMX_JpegDec_Thread() local
88 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURS("JPDT"), in OMX_JpegDec_Thread()
95 nFdmax = pComponentPrivate->nCmdPipe[0]; in OMX_JpegDec_Thread()
97 if (pComponentPrivate->nFree_outBuf_Q[0] > nFdmax) { in OMX_JpegDec_Thread()
98 nFdmax = pComponentPrivate->nFree_outBuf_Q[0]; in OMX_JpegDec_Thread()
101 if (pComponentPrivate->nFilled_inpBuf_Q[0] > nFdmax) { in OMX_JpegDec_Thread()
102 nFdmax = pComponentPrivate->nFilled_inpBuf_Q[0]; in OMX_JpegDec_Thread()
105 OMX_PRINT1(pComponentPrivate->dbg, "fd max is %d\n", nFdmax); in OMX_JpegDec_Thread()
110 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds); in OMX_JpegDec_Thread()
111 if (pComponentPrivate->nCurState != OMX_StatePause) { in OMX_JpegDec_Thread()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
DOMX_AmrEncoder.c207 AMRENC_COMPONENT_PRIVATE *pComponentPrivate; in OMX_ComponentInit() local
239 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, AMRENC_COMPONENT_PRIVATE); in OMX_ComponentInit()
242 ((AMRENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; in OMX_ComponentInit()
243 pComponentPrivate = pHandle->pComponentPrivate; in OMX_ComponentInit()
245 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_NBAMRENC"); in OMX_ComponentInit()
248 pComponentPrivate->iPVCapabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE; in OMX_ComponentInit()
249 pComponentPrivate->iPVCapabilityFlags.iOMXComponentNeedsNALStartCode = OMX_FALSE; in OMX_ComponentInit()
250pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
251 pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_FALSE; in OMX_ComponentInit()
252 pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsMovableInputBuffers = OMX_FALSE; in OMX_ComponentInit()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Enc_Utils.c126 G729ENC_COMPONENT_PRIVATE *pComponentPrivate = pHandle->pComponentPrivate; in G729ENC_FillLCMLInitParams() local
132 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
133 nIpBufSize = pComponentPrivate->pPortDef[G729ENC_INPUT_PORT]->nBufferSize; in G729ENC_FillLCMLInitParams()
134 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; in G729ENC_FillLCMLInitParams()
135 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729ENC_FillLCMLInitParams()
136 nOpBufSize = pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT]->nBufferSize; in G729ENC_FillLCMLInitParams()
137 pComponentPrivate->nRuntimeOutputBuffers = nOpBuf; in G729ENC_FillLCMLInitParams()
170 if(pComponentPrivate->dasfMode == 1) in G729ENC_FillLCMLInitParams()
173 OMX_G729MALLOC_STRUCT(pComponentPrivate->strmAttr, LCML_STRMATTR); in G729ENC_FillLCMLInitParams()
174 pComponentPrivate->strmAttr->uSegid = G729ENC_DEFAULT_SEGMENT; in G729ENC_FillLCMLInitParams()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Dec_Utils.c134 G729DEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; in G729DECFill_LCMLInitParams() local
139 G729DEC_DPRINT("%d :: pHandle->pComponentPrivate = %p\n",__LINE__,pHandle->pComponentPrivate); in G729DECFill_LCMLInitParams()
140 pComponentPrivate = pHandle->pComponentPrivate; in G729DECFill_LCMLInitParams()
142 pComponentPrivate->bufParamsArray = malloc((10 * sizeof(unsigned long int)) + 256); in G729DECFill_LCMLInitParams()
143 pComponentPrivate->bufParamsArray += 128; in G729DECFill_LCMLInitParams()
144 memset(pComponentPrivate->bufParamsArray, 0, 9 * sizeof(unsigned long int)); in G729DECFill_LCMLInitParams()
145 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
146 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; in G729DECFill_LCMLInitParams()
147 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G729DECFill_LCMLInitParams()
148 pComponentPrivate->nRuntimeOutputBuffers = nOpBuf; in G729DECFill_LCMLInitParams()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
DOMX_G722Dec_Utils.c123 G722DEC_COMPONENT_PRIVATE* pComponentPrivate = (G722DEC_COMPONENT_PRIVATE*)pThreadData; in G722DEC_ComponentThread() local
124 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; in G722DEC_ComponentThread()
128 fdmax = pComponentPrivate->cmdPipe[0]; in G722DEC_ComponentThread()
130 if (pComponentPrivate->dataPipe[0] > fdmax) { in G722DEC_ComponentThread()
131 fdmax = pComponentPrivate->dataPipe[0]; in G722DEC_ComponentThread()
136 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); in G722DEC_ComponentThread()
137 FD_SET (pComponentPrivate->dataPipe[0], &rfds); in G722DEC_ComponentThread()
148 if (pComponentPrivate->bExitCompThrd == 1) { in G722DEC_ComponentThread()
155 pComponentPrivate->cbInfo.EventHandler ( in G722DEC_ComponentThread()
161 } else if ((FD_ISSET (pComponentPrivate->dataPipe[0], &rfds))) { in G722DEC_ComponentThread()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
DOMX_G726Dec_Utils.c119 G726DEC_COMPONENT_PRIVATE *pComponentPrivate = in G726DEC_Fill_LCMLInitParams() local
120 (G726DEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; in G726DEC_Fill_LCMLInitParams()
130 __LINE__,pComponentPrivate->pPortDef[G726D_INPUT_PORT]->bPopulated); in G726DEC_Fill_LCMLInitParams()
132 __LINE__,pComponentPrivate->pPortDef[G726D_INPUT_PORT]->bEnabled); in G726DEC_Fill_LCMLInitParams()
134 __LINE__,pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->bPopulated); in G726DEC_Fill_LCMLInitParams()
136 __LINE__,pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->bEnabled); in G726DEC_Fill_LCMLInitParams()
138 pComponentPrivate->strmAttr = NULL; in G726DEC_Fill_LCMLInitParams()
140 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; in G726DEC_Fill_LCMLInitParams()
141 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; in G726DEC_Fill_LCMLInitParams()
142 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; in G726DEC_Fill_LCMLInitParams()
[all …]

12345