/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
omx_proxy_videodec.c | 318 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; 351 pPortDef = (OMX_PARAM_PORTDEFINITIONTYPE *)pParamStruct; 352 if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedSemiPlanar) 354 if(pCompPrv->proxyPortBuffers[pPortDef->nPortIndex].proxyBufferType == GrallocPointers) 356 pPortDef->format.video.eColorFormat = HAL_NV12_PADDED_PIXEL_FORMAT; 360 pPortDef->format.video.eColorFormat = OMX_TI_COLOR_FormatYUV420PackedSemiPlanar; 402 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = (OMX_PARAM_PORTDEFINITIONTYPE *)pParamStruct; 415 if(pPortDef->format.video.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar 416 || pPortDef->format.video.eColorFormat == HAL_NV12_PADDED_PIXEL_FORMAT) 418 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatYUV420PackedSemiPlanar [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
OMX_G711Encoder.c | 280 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT] = pPortDef_ip; 297 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT] = pPortDef_op; 704 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) { 705 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G711ENC_INPUT_PORT], sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); 708 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex) { 709 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT], sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); 720 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) { 730 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
OMX_G722Encoder.c | 554 ((G722ENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[G722ENC_INPUT_PORT] 557 ((G722ENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[G722ENC_OUTPUT_PORT] 821 pComponentPrivate->pPortDef[G722ENC_INPUT_PORT]->nPortIndex) { 823 pComponentPrivate->pPortDef[G722ENC_INPUT_PORT], [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
OMX_G726Encoder.c | 274 pComponentPrivate->pPortDef[G726ENC_INPUT_PORT] = pPortDef_ip; 291 pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT] = pPortDef_op; 666 pComponentPrivate->pPortDef[G726ENC_INPUT_PORT]->nPortIndex) { 667 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726ENC_INPUT_PORT], sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); 670 pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT]->nPortIndex) { 671 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT], sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); 682 pComponentPrivate->pPortDef[G726ENC_INPUT_PORT]->nPortIndex) { 692 pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT]->nPortIndex){ [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
OMX_G729Decoder.c | 361 pComponentPrivate->pPortDef[G729DEC_INPUT_PORT] = pPortDef_ip; 372 pComponentPrivate->pPortDef[G729DEC_OUTPUT_PORT] = pPortDef_op; 781 G729DEC_DPRINT ("pComponentPrivate->pPortDef[G729DEC_INPUT_PORT]->nPortIndex = %d\n",pComponentPrivate->pPortDef[G729DEC_INPUT_PORT]->nPortIndex); 783 pComponentPrivate->pPortDef[G729DEC_INPUT_PORT]->nPortIndex) { 787 pComponentPrivate->pPortDef[G729DEC_INPUT_PORT], 793 pComponentPrivate->pPortDef[G729DEC_OUTPUT_PORT]->nPortIndex) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
OMX_G729Encoder.c | 292 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT] = pPortDef_ip; 310 pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT] = pPortDef_op; 761 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT]->nPortIndex) 764 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT], 768 pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT]->nPortIndex) [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
OMX_AmrDecoder.c | 440 ((AMRDEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[NBAMRDEC_INPUT_PORT] 443 ((AMRDEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[NBAMRDEC_OUTPUT_PORT] [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
OMX_AmrEncoder.c | 308 pComponentPrivate->pPortDef[NBAMRENC_INPUT_PORT] = pPortDef_ip; 329 pComponentPrivate->pPortDef[NBAMRENC_OUTPUT_PORT] = pPortDef_op; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
OMX_WbAmrDecoder.c | 422 ((WBAMR_DEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[WBAMR_DEC_INPUT_PORT] 425 ((WBAMR_DEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[WBAMR_DEC_OUTPUT_PORT] [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
OMX_WbAmrEncoder.c | 300 pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT] = pPortDef_ip; 319 pComponentPrivate->pPortDef[WBAMRENC_OUTPUT_PORT] = pPortDef_op; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
OMX_WmaDecoder.c | 413 ((WMADEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[INPUT_PORT] 416 ((WMADEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[OUTPUT_PORT] 436 if(pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize == 0) 442 pPortDef_op->nBufferSize = pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize; [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
OMX_JpegDecoder.c | 129 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef); 172 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; 182 pPortDef = pComponentPrivate->pCompPort[nPortIndex]->pPortDef; 189 nBufferCount, pPortDef->nBufferCountActual, nPortIndex); 191 if (nBufferCount >= pPortDef->nBufferCountActual) { 202 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nInputPortIndex = pPortDef->nPortIndex; 204 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nVersion = pPortDef->nVersion; 217 pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nOutputPortIndex = pPortDef->nPortIndex; 220 pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nVersion = pPortDef->nVersion [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_h264_enc/src/ |
omx_proxy_h264enc.c | 276 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; 299 pPortDef = (OMX_PARAM_PORTDEFINITIONTYPE *)pParamStruct; 301 if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedSemiPlanar) 306 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatAndroidOpaque; 311 pPortDef->format.video.eColorFormat = OMX_TI_COLOR_FormatYUV420PackedSemiPlanar; 315 if(pPortDef->nPortIndex == OMX_H264E_INPUT_PORT) 319 pPortDef->nBufferSize = sizeof(video_metadata_t); 374 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; 398 pPortDef = (OMX_PARAM_PORTDEFINITIONTYPE *)pParamStruct; 400 if(pPortDef->format.video.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_mpeg4_enc/src/ |
omx_proxy_mpeg4enc.c | 274 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; 297 pPortDef = (OMX_PARAM_PORTDEFINITIONTYPE *)pParamStruct; 299 if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedSemiPlanar) 304 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatAndroidOpaque; 309 pPortDef->format.video.eColorFormat = OMX_TI_COLOR_FormatYUV420PackedSemiPlanar; 363 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = (OMX_PARAM_PORTDEFINITIONTYPE *)pParamStruct; 387 if(pPortDef->format.video.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar) 389 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatYUV420PackedSemiPlanar; 392 else if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatAndroidOpaque) 400 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatYUV420PackedSemiPlanar [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
OMX_AacDecoder.c | 361 pComponentPrivate->pPortDef[INPUT_PORT_AACDEC] = pPortDef_ip; 362 pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC] = pPortDef_op; 741 pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->nPortIndex) { 742 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[INPUT_PORT_AACDEC], sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); 744 pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC]->nPortIndex) { 745 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC], sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
OMX_AacEncoder.c | 399 ((AACENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[INPUT_PORT] = pPortDef_ip; 400 ((AACENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[OUTPUT_PORT] = pPortDef_op; [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
OMX_G711Decoder.c | 357 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT] = pPortDef_ip; 358 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT] = pPortDef_op; 765 G711DEC_DPRINT ("pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nPortIndex = %d\n",(int)pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nPortIndex); [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
OMX_G722Decoder.c | 346 pComponentPrivate->pPortDef[G722D_INPUT_PORT] = pPortDef_ip; 347 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT] = pPortDef_op; 684 pComponentPrivate->pPortDef[G722D_INPUT_PORT]->nPortIndex) { 685 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G722D_INPUT_PORT], 688 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->nPortIndex) { 689 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G722D_OUTPUT_PORT], 700 pComponentPrivate->pPortDef[G722D_INPUT_PORT]->nPortIndex) { 711 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->nPortIndex){ [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
OMX_G726Decoder.c | 349 pComponentPrivate->pPortDef[G726D_INPUT_PORT] = pPortDef_ip; 350 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT] = pPortDef_op; 705 pComponentPrivate->pPortDef[G726D_INPUT_PORT]->nPortIndex) { 706 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726D_INPUT_PORT], 709 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->nPortIndex) { 710 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726D_OUTPUT_PORT], 721 pComponentPrivate->pPortDef[G726D_INPUT_PORT]->nPortIndex) { 732 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->nPortIndex){ [all...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
OMX_Mp3Decoder.c | 396 pComponentPrivate->pPortDef[MP3D_INPUT_PORT] = pPortDef_ip; 397 pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT] = pPortDef_op; 744 pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->nPortIndex) { 745 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[MP3D_INPUT_PORT], 748 pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT]->nPortIndex) { 749 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT], 759 pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->nPortIndex) { [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
OMX_JpegEncoder.c | 134 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef, 179 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; 202 pPortDef = pComponentPrivate->pCompPort[nPortIndex]->pPortDef; 226 if ( pPortDef->bEnabled && 239 OMX_PRBUFFER2(pComponentPrivate->dbg, "JPEGE: bPopulated %d\n", pComponentPrivate->pCompPort[nPortIndex]->pPortDef->bPopulated); 241 pComponentPrivate->pCompPort[nPortIndex]->pPortDef->bPopulated = OMX_FALSE; 250 if ((!pPortDef->bEnabled) && 251 (!pComponentPrivate->pCompPort[nPortIndex]->pPortDef->bPopulated)) { 288 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP.c | 232 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL; 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; 286 pBufferHdr->pInputPortPrivate = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef); 298 pBufferHdr->pOutputPortPrivate = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef); 336 pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferCountActual [all...] |
OMX_VPP_Utils.c | 206 nIpBuf = pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.nBufferCountMin;
207 nIpBufSize = pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.nBufferSize;
209 nOpBuf = OMX_VPP_MAX(pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.nBufferCountMin,
210 pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.nBufferCountMin);
211 nOpBufSize = OMX_VPP_MAX(pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.nBufferSize,
212 pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.nBufferSize);
268 Input_FrameWidth = pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.format.video.nFrameWidth;
269 Output_FrameWidth = OMX_VPP_MAX(pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.format.video.nFrameWidth,
270 pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.format.video.nFrameWidth);
275 if (pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.bEnabled) { [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
OMX_VideoDecoder.c | 244 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef); [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
OMX_VideoEncoder.c | 267 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef, 323 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; 497 VIDENC_MALLOC(pComponentPrivate->pCompPort[VIDENC_INPUT_PORT]->pPortDef, 501 VIDENC_MALLOC(pComponentPrivate->pCompPort[VIDENC_OUTPUT_PORT]->pPortDef, 616 pPortDef = pCompPortIn->pPortDef; 617 OMX_CONF_INIT_STRUCT(pPortDef, OMX_PARAM_PORTDEFINITIONTYPE); 618 pPortDef->nPortIndex = VIDENC_INPUT_PORT; 619 pPortDef->eDir = OMX_DirInput; 620 pPortDef->nBufferCountActual = VIDENC_NUM_OF_IN_BUFFERS [all...] |