/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDec_Utils.c | 120 …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 …]
|
D | OMX_AacDecoder.c | 205 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() 248 … pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE; in OMX_ComponentInit() 249 … pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_FALSE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Dec_Utils.c | 124 …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 …]
|
D | OMX_Mp3Decoder.c | 211 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() 251 … pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE; in OMX_ComponentInit() 252 … pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_FALSE; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEnc_Utils.c | 112 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 …]
|
D | OMX_WbAmrEncoder.c | 191 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() 231 … pComponentPrivate->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/ |
D | OMX_WbAmrDec_Utils.c | 117 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 …]
|
D | OMX_WbAmrDecoder.c | 197 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/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDec_Utils.c | 121 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 …]
|
D | OMX_WmaDecoder.c | 186 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/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDec_Thread.c | 83 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 …]
|
D | OMX_VideoDec_Utils.c | 63 OMX_U32 VIDDEC_GetRMFrecuency(VIDDEC_COMPONENT_PRIVATE* pComponentPrivate) in VIDDEC_GetRMFrecuency() argument 67 OMX_PRINT1(pComponentPrivate->dbg, "+++ENTERING\n"); in VIDDEC_GetRMFrecuency() 70 if ((OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_CIF_WIDTH) || in VIDDEC_GetRMFrecuency() 71 … (OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_CIF_HEIGHT)) { in VIDDEC_GetRMFrecuency() 72 … if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingAVC) { in VIDDEC_GetRMFrecuency() 75 … else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingWMV) { in VIDDEC_GetRMFrecuency() 78 …else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4) { in VIDDEC_GetRMFrecuency() 79 … if ((OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_D1MAX_HEIGHT || in VIDDEC_GetRMFrecuency() 80 … (OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_D1MAX_WIDTH) in VIDDEC_GetRMFrecuency() 89 …else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG2) { in VIDDEC_GetRMFrecuency() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
D | OMX_AacEnc_Utils.c | 119 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 …]
|
D | OMX_AacEnc_CompThread.c | 87 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/ |
D | OMX_JpegEnc_Utils.c | 98 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 …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDec_Utils.c | 124 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 …]
|
D | OMX_AmrDecoder.c | 201 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/ |
D | OMX_VideoEnc_Thread.c | 121 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/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEncoder.c | 207 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() 250 … pComponentPrivate->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/image/src/openmax_il/jpeg_dec/src/ |
D | OMX_JpegDec_Utils.c | 115 …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 …]
|
D | OMX_JpegDec_Thread.c | 83 …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/g729_enc/src/ |
D | OMX_G729Enc_Utils.c | 126 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/ |
D | OMX_G729Dec_Utils.c | 134 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/ |
D | OMX_G722Dec_Utils.c | 123 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/ |
D | OMX_G726Dec_Utils.c | 119 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 …]
|