/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
OMX_Mp3Decoder.c | 211 MP3DEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 237 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate,MP3DEC_COMPONENT_PRIVATE); 239 pComponentPrivate = pHandle->pComponentPrivate; 240 pComponentPrivate->pHandle = pHandle; 241 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_MP3DEC"); 244 pComponentPrivate->pPERF = PERF_Create(PERF_FOURCC('M','P','3','D'), 249 pComponentPrivate->iPVCapabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE; 250 pComponentPrivate->iPVCapabilityFlags.iOMXComponentNeedsNALStartCode = OMX_FALSE; 251 pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE [all...] |
OMX_Mp3Dec_CompThread.c | 109 MP3DEC_COMPONENT_PRIVATE* pComponentPrivate = (MP3DEC_COMPONENT_PRIVATE*)pThreadData; 110 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; 117 OMX_PRINT1(pComponentPrivate->dbg, ":: Entering ComponentThread \n"); 120 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('M', 'P', '3',' '), 125 fdmax = pComponentPrivate->cmdPipe[0]; 127 if (pComponentPrivate->dataPipe[0] > fdmax) { 128 fdmax = pComponentPrivate->dataPipe[0]; 133 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 134 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 147 if (pComponentPrivate->bExitCompThrd == 1) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
OMX_G711Dec_Utils.c | 131 G711DEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 136 G711DEC_DPRINT("%d :: pHandle->pComponentPrivate = %p\n",__LINE__,pHandle->pComponentPrivate); 138 pComponentPrivate = pHandle->pComponentPrivate; 140 nIpBuf = (OMX_U16)pComponentPrivate->pInputBufferList->numBuffers; 141 nIpBufSize = pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize; 142 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; 143 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; 144 nOpBufSize = pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferSize [all...] |
OMX_G711Dec_ComponentThread.c | 71 G711DEC_COMPONENT_PRIVATE* pComponentPrivate = (G711DEC_COMPONENT_PRIVATE*)pThreadData; 72 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; 78 fdmax = pComponentPrivate->cmdPipe[0]; 80 if (pComponentPrivate->dataPipe[0] > fdmax) { 81 fdmax = pComponentPrivate->dataPipe[0]; 86 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 87 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 102 if (pComponentPrivate->bIsStopping == 1) { 103 pComponentPrivate->bIsStopping = 0; 104 pComponentPrivate->lcml_nOpBuf = 0 [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
OMX_WbAmrEncoder.c | 191 WBAMRENC_COMPONENT_PRIVATE *pComponentPrivate; 221 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, WBAMRENC_COMPONENT_PRIVATE); 223 ((WBAMRENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; 224 pComponentPrivate = pHandle->pComponentPrivate; 226 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_WBAMRENC"); 229 pComponentPrivate->iPVCapabilityFlags.iIsOMXComponentMultiThreaded = OMX_TRUE; 230 pComponentPrivate->iPVCapabilityFlags.iOMXComponentNeedsNALStartCode = OMX_FALSE; 231 pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalOutputBufferAlloc = OMX_FALSE; 232 pComponentPrivate->iPVCapabilityFlags.iOMXComponentSupportsExternalInputBufferAlloc = OMX_FALSE [all...] |
OMX_WbAmrEnc_CompThread.c | 98 WBAMRENC_COMPONENT_PRIVATE* pComponentPrivate = (WBAMRENC_COMPONENT_PRIVATE*)pThreadData; 99 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; 104 OMX_PRINT1(pComponentPrivate->dbg, "Entering\n"); 107 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('W', 'B', 'E', '_'), 112 fdmax = pComponentPrivate->cmdPipe[0]; 114 if (pComponentPrivate->dataPipe[0] > fdmax) { 115 fdmax = pComponentPrivate->dataPipe[0]; 120 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 121 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 135 if (pComponentPrivate->bIsThreadstop == 1) [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
OMX_VideoEncoder.c | 320 VIDENC_COMPONENT_PRIVATE* pComponentPrivate = NULL; 353 VIDENC_MALLOC(pHandle->pComponentPrivate, 358 pComponentPrivate = (VIDENC_COMPONENT_PRIVATE*)pHandle->pComponentPrivate; 359 pComponentPrivate->pMemoryListHead = pMemoryListHead; 361 pComponentPrivate->dbg = dbg; 362 pComponentPrivate->compressionFormats[0]=OMX_VIDEO_CodingAVC; 363 pComponentPrivate->compressionFormats[1]=OMX_VIDEO_CodingMPEG4; 364 pComponentPrivate->compressionFormats[2]=OMX_VIDEO_CodingH263; 365 pComponentPrivate->colorFormats[0]=OMX_COLOR_FormatYUV420Planar [all...] |
OMX_VideoEnc_Thread.c | 121 VIDENC_COMPONENT_PRIVATE* pComponentPrivate = NULL; 131 pComponentPrivate = (VIDENC_COMPONENT_PRIVATE*)pThreadData; 132 pLcmlHandle = (LCML_DSP_INTERFACE*)pComponentPrivate->pLCML; 135 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('V', 'E', ' ', 'T'), 143 fdmax = pComponentPrivate->nCmdPipe[0]; 145 if (pComponentPrivate->nFree_oPipe[0] > fdmax) 147 fdmax = pComponentPrivate->nFree_oPipe[0]; 150 if (pComponentPrivate->nFilled_iPipe[0] > fdmax) 152 fdmax = pComponentPrivate->nFilled_iPipe[0]; 158 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds) [all...] |
OMX_VideoEnc_Utils.c | 338 * @param pComponentPrivate pointer to the private video encoder structure 344 void OMX_VIDENC_EmptyDataPipes (VIDENC_COMPONENT_PRIVATE *pComponentPrivate) 347 while (pComponentPrivate->EmptythisbufferCount != pComponentPrivate->EmptybufferdoneCount || 348 pComponentPrivate->FillthisbufferCount != pComponentPrivate->FillbufferdoneCount) { 362 void OMX_VIDENC_SignalIfAllBuffersAreReturned(VIDENC_COMPONENT_PRIVATE *pComponentPrivate) 365 if ((pComponentPrivate->EmptythisbufferCount == pComponentPrivate->EmptybufferdoneCount) && 366 (pComponentPrivate->FillthisbufferCount == pComponentPrivate->FillbufferdoneCount)) [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
OMX_JpegDecoder.c | 125 static OMX_ERRORTYPE Allocate_DSPResources_JPEGDec(OMX_IN JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, 135 static void JPEGDEC_InitBufferFlagTrack(JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate, 171 JPEGDEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 179 pComponentPrivate = (JPEGDEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 180 JPEGDEC_OMX_CONF_CHECK_CMD(pComponentPrivate, 1, 1); 182 pPortDef = pComponentPrivate->pCompPort[nPortIndex]->pPortDef; 183 nBufferCount = pComponentPrivate->pCompPort[nPortIndex]->nBuffCount; 184 pCompPort = pComponentPrivate->pCompPort[nPortIndex]; 186 OMX_PRINT1(pComponentPrivate->dbg, "Entering function AllocateBuffer_JPEGDec\n") [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
OMX_G722Enc_Utils.c | 115 G722ENC_COMPONENT_PRIVATE* pComponentPrivate = (G722ENC_COMPONENT_PRIVATE*)pThreadData; 116 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; 118 fdmax = pComponentPrivate->cmdPipe[0]; 120 if (pComponentPrivate->dataPipe[0] > fdmax) { 121 fdmax = pComponentPrivate->dataPipe[0]; 126 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 127 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 142 pComponentPrivate->bIsStopping); 145 pComponentPrivate->app_nBuf); 147 if (pComponentPrivate->bIsStopping == 1) [all...] |
OMX_G722Encoder.c | 199 G722ENC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 228 pHandle->pComponentPrivate = (G722ENC_COMPONENT_PRIVATE *) 231 G722ENC_MEMPRINT("%d:::[ALLOC] %p\n",__LINE__,pHandle->pComponentPrivate); 232 if(pHandle->pComponentPrivate == NULL) { 237 memset (pHandle->pComponentPrivate,0,sizeof(G722ENC_COMPONENT_PRIVATE)); 240 ((G722ENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; 242 pHandle->pComponentPrivate)->sPortParam.nPorts = 0x2; 244 pHandle->pComponentPrivate)->sPortParam.nStartPortNumber = 0x0; 246 pHandle->pComponentPrivate)->pcmParams = NULL; 248 pHandle->pComponentPrivate)->g722Params = NULL [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
OMX_G711Enc_Utils.c | 109 G711ENC_COMPONENT_PRIVATE *pComponentPrivate = pHandle->pComponentPrivate; 117 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; 118 nIpBufSize = pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferSize; 119 pComponentPrivate->nRuntimeInputBuffers = nIpBuf; 121 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; 122 nOpBufSize = pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nBufferSize; 123 pComponentPrivate->nRuntimeOutputBuffers = nOpBuf; 158 if(pComponentPrivate->dasfMode == 1) { 160 G711ENC_OMX_MALLOC_STRUCT(pComponentPrivate->strmAttr, LCML_STRMATTR) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
OMX_WmaDecoder.c | 186 WMADEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 219 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, WMADEC_COMPONENT_PRIVATE); 220 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; 223 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->sPortParam.nPorts = 0x2; 224 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->sPortParam.nStartPortNumber = 0x0; 232 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->wma_op=wma_op; 233 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->rcaheader=rcaheader; 235 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->wmaParams[INPUT_PORT] = wma_ip; 236 ((WMADEC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->wmaParams[OUTPUT_PORT] = (OMX_AUDIO_PARAM_WMATYPE*)wma_op; 239 pComponentPrivate = pHandle->pComponentPrivate [all...] |
OMX_WmaDec_ComponentThread.c | 90 WMADEC_COMPONENT_PRIVATE* pComponentPrivate = (WMADEC_COMPONENT_PRIVATE*)pThreadData; 91 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; 93 OMX_PRINT1(pComponentPrivate->dbg, "OMX_WmaDec_ComponentThread:%d\n",__LINE__); 95 OMX_PRDSP2(pComponentPrivate->dbg, "PERF%d :: OMX_WmaDec_ComponentThread.c\n",__LINE__); 96 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('W', 'M', 'A', 'D'), 100 fdmax = pComponentPrivate->cmdPipe[0]; 102 if (pComponentPrivate->dataPipe[0] > fdmax) { 103 fdmax = pComponentPrivate->dataPipe[0]; 108 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 109 FD_SET (pComponentPrivate->dataPipe[0], &rfds) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
OMX_WbAmrDecoder.c | 197 WBAMR_DEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 227 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, WBAMR_DEC_COMPONENT_PRIVATE); 231 pHandle->pComponentPrivate)->pHandle = pHandle; 235 pHandle->pComponentPrivate)->sPortParam.nPorts = 0x2; 237 pHandle->pComponentPrivate)->sPortParam.nStartPortNumber = 0x0; 243 pHandle->pComponentPrivate)->wbamrParams[WBAMR_DEC_INPUT_PORT] = amr_ip; 245 pHandle->pComponentPrivate)->wbamrParams[WBAMR_DEC_OUTPUT_PORT] = (OMX_AUDIO_PARAM_AMRTYPE*)amr_op; 249 pComponentPrivate = pHandle->pComponentPrivate; 250 OMX_DBG_INIT(pComponentPrivate->dbg, "OMX_DBG_WBAMRDEC") [all...] |
OMX_WbAmrDec_ComponentThread.c | 92 WBAMR_DEC_COMPONENT_PRIVATE* pComponentPrivate = (WBAMR_DEC_COMPONENT_PRIVATE*)pThreadData; 93 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; 102 OMX_PRINT1(pComponentPrivate->dbg, "Entering\n"); 105 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('W', 'B', '_', 'D'), 110 fdmax = pComponentPrivate->cmdPipe[0]; 112 if (pComponentPrivate->dataPipe[0] > fdmax) { 113 fdmax = pComponentPrivate->dataPipe[0]; 118 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 119 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 124 OMX_PRINT1(pComponentPrivate->dbg, "AmrComponentThread \n") [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
OMX_AacEncoder.c | 167 AACENC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 195 OMX_MALLOC_GENERIC(pHandle->pComponentPrivate, AACENC_COMPONENT_PRIVATE); 196 ((AACENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; 199 ((AACENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->sPortParam.nPorts = 0x2; 200 ((AACENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->sPortParam.nStartPortNumber = 0x0; 208 ((AACENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->aacParams[INPUT_PORT] = aac_ip; 209 ((AACENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->aacParams[OUTPUT_PORT] = aac_op; 239 ((AACENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pcmParam[INPUT_PORT] = aac_pcm_ip; 240 ((AACENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pcmParam[OUTPUT_PORT] = aac_pcm_op; 245 pComponentPrivate = pHandle->pComponentPrivate [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
OMX_AmrEnc_ComponentThread.c | 105 AMRENC_COMPONENT_PRIVATE* pComponentPrivate = (AMRENC_COMPONENT_PRIVATE*)pThreadData; 106 OMX_COMPONENTTYPE *pHandle = pComponentPrivate->pHandle; 107 OMX_PRINT1(pComponentPrivate->dbg, "%d :: Entering NBAMRENC_CompThread\n", __LINE__); 110 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURCC('N', 'B', '_', 'E'), 115 fdmax = pComponentPrivate->cmdPipe[0]; 117 if (pComponentPrivate->dataPipe[0] > fdmax) { 118 fdmax = pComponentPrivate->dataPipe[0]; 123 FD_SET (pComponentPrivate->cmdPipe[0], &rfds); 124 FD_SET (pComponentPrivate->dataPipe[0], &rfds); 137 if (pComponentPrivate->bIsThreadstop == 1) [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
OMX_JpegEnc_Thread.c | 106 JPEGENC_COMPONENT_PRIVATE *pComponentPrivate = (JPEGENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 109 pComponentPrivate->pPERFcomp = PERF_Create(PERF_FOURS("JPET"), 115 fdmax = pComponentPrivate->nCmdPipe[0]; 117 if ( pComponentPrivate->free_outBuf_Q[0] > fdmax ) { 118 fdmax = pComponentPrivate->free_outBuf_Q[0]; 122 if ( pComponentPrivate->filled_inpBuf_Q[0] > fdmax ) { 123 fdmax = pComponentPrivate->filled_inpBuf_Q[0]; 126 OMX_TRACE2(pComponentPrivate->dbg, "fd max is %d\n",fdmax); 130 FD_SET (pComponentPrivate->nCmdPipe[0], &rfds) [all...] |
OMX_JpegEncoder.c | 156 static void JPEGENC_InitBufferFlagTrack(JPEGENC_COMPONENT_PRIVATE *pComponentPrivate, OMX_U32 nPortIndex); 178 JPEGENC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 189 pComponentPrivate = (JPEGENC_COMPONENT_PRIVATE *) pHandle->pComponentPrivate; 190 pCompPort = pComponentPrivate->pCompPort[nPortIndex]; 192 OMX_PRINT1(pComponentPrivate->dbg, "JPEGENC_FreeBuffer %p at port %d\n", pBuffer, (int)nPortIndex); 196 PERF_SendingFrame(pComponentPrivate->pPERF, 202 pPortDef = pComponentPrivate->pCompPort[nPortIndex]->pPortDef; 204 if ( nPortIndex == pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortFormat->nPortIndex ) { 207 else if ( nPortIndex == pComponentPrivate->pCompPort[JPEGENC_OUT_PORT]->pPortFormat->nPortIndex ) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
OMX_G726Enc_Utils.c | 169 G726ENC_COMPONENT_PRIVATE *pComponentPrivate = pHandle->pComponentPrivate; 177 nIpBuf = pComponentPrivate->pInputBufferList->numBuffers; 178 nIpBufSize = pComponentPrivate->pPortDef[G726ENC_INPUT_PORT]->nBufferSize; 179 nOpBuf = pComponentPrivate->pOutputBufferList->numBuffers; 180 nOpBufSize = pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT]->nBufferSize; 182 pComponentPrivate->nRuntimeInputBuffers = (OMX_U8)nIpBuf; 183 pComponentPrivate->nRuntimeOutputBuffers = (OMX_U8) nOpBuf; 220 if(pComponentPrivate->dasfMode == 1) { 230 pComponentPrivate->strmAttr = (LCML_STRMATTR*)(pstrTemp + 128); [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP.c | 233 VPP_COMPONENT_PRIVATE* pComponentPrivate = NULL; 244 pComponentPrivate = (VPP_COMPONENT_PRIVATE *)pHandle->pComponentPrivate; 248 if (nPortIndex == pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nPortIndex) { 249 pPortDef = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef); 257 if (pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize > nSizeBytes) { 258 nBufSize = pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize; 262 nDirection = pComponentPrivate->sCompPorts[nPortIndex].pPortDef.eDir; 264 nCount = pComponentPrivate->sCompPorts[nPortIndex].nBufferCount; 269 pComponentPrivate->sCompPorts[nPortIndex].pVPPBufHeader[nCount].pBufHeader = pBufferHdr [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
OMX_G729Decoder.c | 216 G729DEC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 245 OMX_G729MALLOC_STRUCT(pHandle->pComponentPrivate,G729DEC_COMPONENT_PRIVATE); 246 if(pHandle->pComponentPrivate == NULL) { 252 pHandle->pComponentPrivate)->pHandle = pHandle; 253 pComponentPrivate = pHandle->pComponentPrivate; 256 pComponentPrivate->pPERF = PERF_Create(PERF_FOURCC('7','2','9',' '), 262 pComponentPrivate->sPortParam.nPorts = 0x2; 263 pComponentPrivate->sPortParam.nStartPortNumber = 0x0; 270 pHandle->pComponentPrivate)->g729Params = g729_ip [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
OMX_G729Encoder.c | 195 G729ENC_COMPONENT_PRIVATE *pComponentPrivate = NULL; 226 OMX_G729MALLOC_STRUCT(pHandle->pComponentPrivate, G729ENC_COMPONENT_PRIVATE); 227 ((G729ENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pHandle = pHandle; 228 pComponentPrivate = pHandle->pComponentPrivate; 231 pComponentPrivate->pPERF = PERF_Create(PERF_FOURCC('7','2','9',' '), 236 pComponentPrivate->pCompPort[G729ENC_INPUT_PORT] = pCompPort; 239 pComponentPrivate->pCompPort[G729ENC_OUTPUT_PORT] = pCompPort; 241 OMX_G729MALLOC_STRUCT(pComponentPrivate->sPortParam, OMX_PORT_PARAM_TYPE); 242 OMX_G729CONF_INIT_STRUCT(pComponentPrivate->sPortParam, OMX_PORT_PARAM_TYPE) [all...] |