/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
D | OMX_VideoEncoder.c | 267 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef, 323 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; in OMX_ComponentInit() local 497 VIDENC_MALLOC(pComponentPrivate->pCompPort[VIDENC_INPUT_PORT]->pPortDef, in OMX_ComponentInit() 501 VIDENC_MALLOC(pComponentPrivate->pCompPort[VIDENC_OUTPUT_PORT]->pPortDef, in OMX_ComponentInit() 616 pPortDef = pCompPortIn->pPortDef; in OMX_ComponentInit() 617 OMX_CONF_INIT_STRUCT(pPortDef, OMX_PARAM_PORTDEFINITIONTYPE); in OMX_ComponentInit() 618 pPortDef->nPortIndex = VIDENC_INPUT_PORT; in OMX_ComponentInit() 619 pPortDef->eDir = OMX_DirInput; in OMX_ComponentInit() 620 pPortDef->nBufferCountActual = VIDENC_NUM_OF_IN_BUFFERS; in OMX_ComponentInit() 621 pPortDef->nBufferCountMin = 1; in OMX_ComponentInit() [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
D | OMX_JpegEncoder.c | 134 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef, 179 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; in JPEGENC_FreeBuffer() local 202 pPortDef = pComponentPrivate->pCompPort[nPortIndex]->pPortDef; in JPEGENC_FreeBuffer() 226 if ( pPortDef->bEnabled && in JPEGENC_FreeBuffer() 239 …te->dbg, "JPEGE: bPopulated %d\n", pComponentPrivate->pCompPort[nPortIndex]->pPortDef->bPopulated); in JPEGENC_FreeBuffer() 241 pComponentPrivate->pCompPort[nPortIndex]->pPortDef->bPopulated = OMX_FALSE; in JPEGENC_FreeBuffer() 250 if ((!pPortDef->bEnabled) && in JPEGENC_FreeBuffer() 251 (!pComponentPrivate->pCompPort[nPortIndex]->pPortDef->bPopulated)) { in JPEGENC_FreeBuffer() 288 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; in JPEGENC_UseBuffer() local 309 pPortDef = pComponentPrivate->pCompPort[nPortIndex]->pPortDef; in JPEGENC_UseBuffer() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Encoder.c | 280 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 297 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 704 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) { in GetParameter() 705 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G711ENC_INPUT_PORT], sizeof(OMX_PA… in GetParameter() 708 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 709 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT], sizeof(OMX_P… in GetParameter() 720 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) { in GetParameter() 730 pComponentPrivate->pPortDef[G711ENC_OUTPUT_PORT]->nPortIndex){ in GetParameter() 890 pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nPortIndex) { in SetParameter() 892 …memcpy(pComponentPrivate->pPortDef[G711ENC_INPUT_PORT], pCompParam, sizeof(OMX_PARAM_PORTDEFINITIO… in SetParameter() [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
D | OMX_JpegDecoder.c | 129 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef); 172 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef = NULL; in AllocateBuffer_JPEGDec() local 182 pPortDef = pComponentPrivate->pCompPort[nPortIndex]->pPortDef; in AllocateBuffer_JPEGDec() 189 nBufferCount, pPortDef->nBufferCountActual, nPortIndex); in AllocateBuffer_JPEGDec() 191 if (nBufferCount >= pPortDef->nBufferCountActual) { in AllocateBuffer_JPEGDec() 202 …GDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nInputPortIndex = pPortDef->nPortIndex; in AllocateBuffer_JPEGDec() 204 …pPort[JPEGDEC_INPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nVersion = pPortDef->nVersion; in AllocateBuffer_JPEGDec() 217 …EC_OUTPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nOutputPortIndex = pPortDef->nPortIndex; in AllocateBuffer_JPEGDec() 220 …Port[JPEGDEC_OUTPUT_PORT]->pBufferPrivate[nBufferCount]->pBufferHdr->nVersion = pPortDef->nVersion; in AllocateBuffer_JPEGDec() 286 if (pComponentPrivate->pCompPort[nPortIndex]->nBuffCount == pPortDef->nBufferCountActual) { in AllocateBuffer_JPEGDec() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Decoder.c | 357 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 358 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 765 …PortDef[G711DEC_INPUT_PORT]->nPortIndex = %d\n",(int)pComponentPrivate->pPortDef[G711DEC_INPUT_POR… in GetParameter() 768 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nPortIndex) in GetParameter() 773 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT], in GetParameter() 779 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nPortIndex) in GetParameter() 784 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT], in GetParameter() 801 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nPortIndex) in GetParameter() 818 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nPortIndex){ in GetParameter() 972 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nPortIndex) { in SetParameter() [all …]
|
D | OMX_G711Dec_Utils.c | 141 nIpBufSize = pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize; in G711DECFill_LCMLInitParams() 144 nOpBufSize = pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferSize; in G711DECFill_LCMLInitParams() 454 nIpBuf = pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferCountActual; in G711DEC_FreeCompResources() 455 nOpBuf = pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferCountActual; in G711DEC_FreeCompResources() 497 OMX_G711DECMEMFREE_STRUCT(pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]); in G711DEC_FreeCompResources() 498 OMX_G711DECMEMFREE_STRUCT(pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]); in G711DEC_FreeCompResources() 699 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->bEnabled= FALSE; in G711DECHandleCommand() 700 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->bPopulated= FALSE; in G711DECHandleCommand() 719 if (pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->bPopulated && in G711DECHandleCommand() 720 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->bEnabled) in G711DECHandleCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/ |
D | OMX_G726Encoder.c | 274 pComponentPrivate->pPortDef[G726ENC_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 291 pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 666 pComponentPrivate->pPortDef[G726ENC_INPUT_PORT]->nPortIndex) { in GetParameter() 667 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726ENC_INPUT_PORT], sizeof(OMX_PA… in GetParameter() 670 pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 671 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT], sizeof(OMX_P… in GetParameter() 682 pComponentPrivate->pPortDef[G726ENC_INPUT_PORT]->nPortIndex) { in GetParameter() 692 pComponentPrivate->pPortDef[G726ENC_OUTPUT_PORT]->nPortIndex){ in GetParameter() 830 …if(((OMX_PARAM_PORTDEFINITIONTYPE *)(pCompParam))->nPortIndex == pComponentPrivate->pPortDef[G726E… in SetParameter() 832 …memcpy(pComponentPrivate->pPortDef[G726ENC_INPUT_PORT], pCompParam, sizeof(OMX_PARAM_PORTDEFINITIO… in SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/ |
D | OMX_G729Decoder.c | 361 pComponentPrivate->pPortDef[G729DEC_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 372 pComponentPrivate->pPortDef[G729DEC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 781 …te->pPortDef[G729DEC_INPUT_PORT]->nPortIndex = %d\n",pComponentPrivate->pPortDef[G729DEC_INPUT_POR… in GetParameter() 783 pComponentPrivate->pPortDef[G729DEC_INPUT_PORT]->nPortIndex) { in GetParameter() 787 pComponentPrivate->pPortDef[G729DEC_INPUT_PORT], in GetParameter() 793 pComponentPrivate->pPortDef[G729DEC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 797 pComponentPrivate->pPortDef[G729DEC_OUTPUT_PORT], in GetParameter() 982 pComponentPrivate->pPortDef[G729DEC_INPUT_PORT]->nPortIndex) { in SetParameter() 984 memcpy(pComponentPrivate->pPortDef[G729DEC_INPUT_PORT], in SetParameter() 991 pComponentPrivate->pPortDef[G729DEC_OUTPUT_PORT]->nPortIndex) { in SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDecoder.c | 422 ((WBAMR_DEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[WBAMR_DEC_INPUT_PORT] in OMX_ComponentInit() 425 ((WBAMR_DEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[WBAMR_DEC_OUTPUT_PORT] in OMX_ComponentInit() 804 …>pPortDef[WBAMR_DEC_INPUT_PORT]->nPortIndex = %ld\n",pComponentPrivate->pPortDef[WBAMR_DEC_INPUT_P… in GetParameter() 806 pComponentPrivate->pPortDef[WBAMR_DEC_INPUT_PORT]->nPortIndex) { in GetParameter() 809 pComponentPrivate->pPortDef[WBAMR_DEC_INPUT_PORT], in GetParameter() 814 pComponentPrivate->pPortDef[WBAMR_DEC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 817 pComponentPrivate->pPortDef[WBAMR_DEC_OUTPUT_PORT], in GetParameter() 831 …TYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[WBAMR_DEC_INPUT_P… in GetParameter() 844 pComponentPrivate->pPortDef[WBAMR_DEC_OUTPUT_PORT]->nPortIndex){ in GetParameter() 861 pComponentPrivate->pPortDef[WBAMR_DEC_INPUT_PORT]->nPortIndex) { in GetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
D | OMX_G726Decoder.c | 349 pComponentPrivate->pPortDef[G726D_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 350 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 705 pComponentPrivate->pPortDef[G726D_INPUT_PORT]->nPortIndex) { in GetParameter() 706 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726D_INPUT_PORT], in GetParameter() 709 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->nPortIndex) { in GetParameter() 710 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G726D_OUTPUT_PORT], in GetParameter() 721 pComponentPrivate->pPortDef[G726D_INPUT_PORT]->nPortIndex) { in GetParameter() 732 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->nPortIndex){ in GetParameter() 916 pComponentPrivate->pPortDef[G726D_INPUT_PORT]->nPortIndex) { in SetParameter() 918 memcpy(pComponentPrivate->pPortDef[G726D_INPUT_PORT], pCompParam, in SetParameter() [all …]
|
D | OMX_G726Dec_Utils.c | 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() 144 nIpBufSize = pComponentPrivate->pPortDef[G726D_INPUT_PORT]->nBufferSize; in G726DEC_Fill_LCMLInitParams() 145 nOpBufSize = pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->nBufferSize; in G726DEC_Fill_LCMLInitParams() 496 G726D_OMX_FREE(pComponentPrivate->pPortDef[G726D_INPUT_PORT]); in G726DEC_FreeCompResources() 497 G726D_OMX_FREE(pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]); in G726DEC_FreeCompResources() 605 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->bEnabled= FALSE; in G726DEC_HandleCommand() 606 pComponentPrivate->pPortDef[G726D_OUTPUT_PORT]->bPopulated= FALSE; in G726DEC_HandleCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
D | OMX_G722Encoder.c | 554 ((G722ENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[G722ENC_INPUT_PORT] in OMX_ComponentInit() 557 ((G722ENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[G722ENC_OUTPUT_PORT] in OMX_ComponentInit() 821 pComponentPrivate->pPortDef[G722ENC_INPUT_PORT]->nPortIndex) { in GetParameter() 823 pComponentPrivate->pPortDef[G722ENC_INPUT_PORT], in GetParameter() 828 pComponentPrivate->pPortDef[G722ENC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 830 pComponentPrivate->pPortDef[G722ENC_OUTPUT_PORT], in GetParameter() 853 pComponentPrivate->pPortDef[G722ENC_OUTPUT_PORT]->nPortIndex){ in GetParameter() 963 pComponentPrivate->pPortDef[G722ENC_INPUT_PORT]->nPortIndex) { in SetParameter() 965 memcpy(pComponentPrivate->pPortDef[G722ENC_INPUT_PORT], in SetParameter() 971 pComponentPrivate->pPortDef[G722ENC_OUTPUT_PORT]->nPortIndex) { in SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/ |
D | OMX_G722Decoder.c | 346 pComponentPrivate->pPortDef[G722D_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 347 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 684 pComponentPrivate->pPortDef[G722D_INPUT_PORT]->nPortIndex) { in GetParameter() 685 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G722D_INPUT_PORT], in GetParameter() 688 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->nPortIndex) { in GetParameter() 689 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[G722D_OUTPUT_PORT], in GetParameter() 700 pComponentPrivate->pPortDef[G722D_INPUT_PORT]->nPortIndex) { in GetParameter() 711 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->nPortIndex){ in GetParameter() 894 pComponentPrivate->pPortDef[G722D_INPUT_PORT]->nPortIndex) { in SetParameter() 896 memcpy(pComponentPrivate->pPortDef[G722D_INPUT_PORT], pCompParam, in SetParameter() [all …]
|
D | OMX_G722Dec_Utils.c | 237 __LINE__,pComponentPrivate->pPortDef[G722D_INPUT_PORT]->bPopulated); in G722DEC_Fill_LCMLInitParams() 239 __LINE__,pComponentPrivate->pPortDef[G722D_INPUT_PORT]->bEnabled); in G722DEC_Fill_LCMLInitParams() 241 __LINE__,pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->bPopulated); in G722DEC_Fill_LCMLInitParams() 243 __LINE__,pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->bEnabled); in G722DEC_Fill_LCMLInitParams() 251 nIpBufSize = pComponentPrivate->pPortDef[G722D_INPUT_PORT]->nBufferSize; in G722DEC_Fill_LCMLInitParams() 252 nOpBufSize = pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->nBufferSize; in G722DEC_Fill_LCMLInitParams() 625 G722D_OMX_FREE(pComponentPrivate->pPortDef[G722D_INPUT_PORT]); in G722DEC_FreeCompResources() 626 G722D_OMX_FREE(pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]); in G722DEC_FreeCompResources() 734 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->bEnabled= FALSE; in G722DEC_HandleCommand() 735 pComponentPrivate->pPortDef[G722D_OUTPUT_PORT]->bPopulated= FALSE; in G722DEC_HandleCommand() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDecoder.c | 413 ((WMADEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[INPUT_PORT] in OMX_ComponentInit() 416 ((WMADEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[OUTPUT_PORT] in OMX_ComponentInit() 436 if(pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize == 0) in OMX_ComponentInit() 442 pPortDef_op->nBufferSize = pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize; in OMX_ComponentInit() 807 pComponentPrivate->pPortDef[INPUT_PORT]->nPortIndex) { in GetParameter() 811 pComponentPrivate->pPortDef[INPUT_PORT], in GetParameter() 816 pComponentPrivate->pPortDef[OUTPUT_PORT]->nPortIndex) { in GetParameter() 820 pComponentPrivate->pPortDef[OUTPUT_PORT], in GetParameter() 832 pComponentPrivate->pPortDef[INPUT_PORT]->nPortIndex) { in GetParameter() 845 pComponentPrivate->pPortDef[OUTPUT_PORT]->nPortIndex){ in GetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDecoder.c | 440 ((AMRDEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[NBAMRDEC_INPUT_PORT] in OMX_ComponentInit() 443 ((AMRDEC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[NBAMRDEC_OUTPUT_PORT] in OMX_ComponentInit() 835 …f[NBAMRDEC_INPUT_PORT]->nPortIndex = %ld\n",__LINE__,pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PO… in GetParameter() 837 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex) { in GetParameter() 839 … memcpy(ComponentParameterStructure,pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT], in GetParameter() 843 pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 845 … memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_PORT], in GetParameter() 857 …TYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PO… in GetParameter() 866 …TYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[NBAMRDEC_OUTPUT_P… in GetParameter() 885 pComponentPrivate->pPortDef[NBAMRDEC_INPUT_PORT]->nPortIndex) { in GetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Encoder.c | 292 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 310 pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 761 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT]->nPortIndex) in GetParameter() 764 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT], in GetParameter() 768 pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT]->nPortIndex) in GetParameter() 771 pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT], in GetParameter() 783 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT]->nPortIndex) in GetParameter() 798 pComponentPrivate->pPortDef[G729ENC_OUTPUT_PORT]->nPortIndex) in GetParameter() 978 pComponentPrivate->pPortDef[G729ENC_INPUT_PORT]->nPortIndex) in SetParameter() 981 memcpy(pComponentPrivate->pPortDef[G729ENC_INPUT_PORT], in SetParameter() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
D | OMX_VPP.c | 232 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = NULL; in VPP_AllocateBuffer() local 248 if (nPortIndex == pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nPortIndex) { in VPP_AllocateBuffer() 249 pPortDef = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef); in VPP_AllocateBuffer() 257 if (pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize > nSizeBytes) { in VPP_AllocateBuffer() 258 nBufSize = pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize; in VPP_AllocateBuffer() 262 nDirection = pComponentPrivate->sCompPorts[nPortIndex].pPortDef.eDir; in VPP_AllocateBuffer() 286 pBufferHdr->pInputPortPrivate = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef); in VPP_AllocateBuffer() 298 pBufferHdr->pOutputPortPrivate = &(pComponentPrivate->sCompPorts[nPortIndex].pPortDef); in VPP_AllocateBuffer() 336 pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferCountActual, in VPP_AllocateBuffer() 338 if (pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferCountActual == in VPP_AllocateBuffer() [all …]
|
D | OMX_VPP_Utils.c | 206 nIpBuf = pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.nBufferCountMin; in VPP_Fill_LCMLInitParams() 207 nIpBufSize = pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.nBufferSize; in VPP_Fill_LCMLInitParams() 209 …nOpBuf = OMX_VPP_MAX(pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.nBufferCountM… in VPP_Fill_LCMLInitParams() 210 pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.nBufferCountMin); in VPP_Fill_LCMLInitParams() 211 …nOpBufSize = OMX_VPP_MAX(pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.nBufferSi… in VPP_Fill_LCMLInitParams() 212 pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.nBufferSize); in VPP_Fill_LCMLInitParams() 268 …Input_FrameWidth = pComponentPrivate->sCompPorts[OMX_VPP_INPUT_PORT].pPortDef.format.video.nFrameW… in VPP_Fill_LCMLInitParams() 269 …Output_FrameWidth = OMX_VPP_MAX(pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.fo… in VPP_Fill_LCMLInitParams() 270 pComponentPrivate->sCompPorts[OMX_VPP_YUV_OUTPUT_PORT].pPortDef.format.video.nFrameWidth); in VPP_Fill_LCMLInitParams() 275 if (pComponentPrivate->sCompPorts[OMX_VPP_RGB_OUTPUT_PORT].pPortDef.bEnabled) { in VPP_Fill_LCMLInitParams() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
D | OMX_AacEncoder.c | 399 ((AACENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 400 ((AACENC_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pPortDef[OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 833 …TYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[INPUT_PORT]->nPor… in GetParameter() 836 …memcpy(ComponentParameterStructure,pComponentPrivate->pPortDef[INPUT_PORT], sizeof(OMX_PARAM_PORTD… in GetParameter() 838 …TYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[OUTPUT_PORT]->nPo… in GetParameter() 840 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[OUTPUT_PORT], sizeof(OMX_PARAM_POR… in GetParameter() 851 …TYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[INPUT_PORT]->nPor… in GetParameter() 864 …TYPE *)(ComponentParameterStructure))->nPortIndex == pComponentPrivate->pPortDef[OUTPUT_PORT]->nPo… in GetParameter() 1067 pComponentPrivate->pPortDef[OUTPUT_PORT]->nPortIndex) in SetParameter() 1093 pComponentPrivate->pPortDef[INPUT_PORT]->nPortIndex) in SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Decoder.c | 396 pComponentPrivate->pPortDef[MP3D_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 397 pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 744 pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->nPortIndex) { in GetParameter() 745 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[MP3D_INPUT_PORT], in GetParameter() 748 pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT]->nPortIndex) { in GetParameter() 749 memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT], in GetParameter() 759 pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->nPortIndex) { in GetParameter() 770 pComponentPrivate->pPortDef[MP3D_OUTPUT_PORT]->nPortIndex){ in GetParameter() 985 pComponentPrivate->pPortDef[MP3D_INPUT_PORT]->nPortIndex) { in SetParameter() 987 …memcpy(pComponentPrivate->pPortDef[MP3D_INPUT_PORT], pCompParam,sizeof(OMX_PARAM_PORTDEFINITIONTYP… in SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEncoder.c | 300 pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 319 pComponentPrivate->pPortDef[WBAMRENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 847 pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT]->nPortIndex) { in GetParameter() 849 pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT], in GetParameter() 852 pComponentPrivate->pPortDef[WBAMRENC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 854 pComponentPrivate->pPortDef[WBAMRENC_OUTPUT_PORT], in GetParameter() 868 pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT]->nPortIndex) { in GetParameter() 878 pComponentPrivate->pPortDef[WBAMRENC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 1172 pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT]->nPortIndex) { in SetParameter() 1174 memcpy(pComponentPrivate->pPortDef[WBAMRENC_INPUT_PORT], in SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDecoder.c | 361 pComponentPrivate->pPortDef[INPUT_PORT_AACDEC] = pPortDef_ip; in OMX_ComponentInit() 362 pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC] = pPortDef_op; in OMX_ComponentInit() 741 pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->nPortIndex) { in GetParameter() 742 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[INPUT_PORT_AACDEC], sizeof(OMX_PAR… in GetParameter() 744 pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC]->nPortIndex) { in GetParameter() 745 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC], sizeof(OMX_PA… in GetParameter() 755 pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->nPortIndex) { in GetParameter() 765 pComponentPrivate->pPortDef[OUTPUT_PORT_AACDEC]->nPortIndex){ in GetParameter() 978 pComponentPrivate->pPortDef[INPUT_PORT_AACDEC]->nPortIndex) { in SetParameter() 980 …memcpy(pComponentPrivate->pPortDef[INPUT_PORT_AACDEC], pCompParam,sizeof(OMX_PARAM_PORTDEFINITIONT… in SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEncoder.c | 308 pComponentPrivate->pPortDef[NBAMRENC_INPUT_PORT] = pPortDef_ip; in OMX_ComponentInit() 329 pComponentPrivate->pPortDef[NBAMRENC_OUTPUT_PORT] = pPortDef_op; in OMX_ComponentInit() 911 pComponentPrivate->pPortDef[NBAMRENC_INPUT_PORT]->nPortIndex) { in GetParameter() 912 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[NBAMRENC_INPUT_PORT], sizeof(OMX_P… in GetParameter() 915 … pComponentPrivate->pPortDef[NBAMRENC_OUTPUT_PORT]->nPortIndex) { in GetParameter() 916 …memcpy(ComponentParameterStructure, pComponentPrivate->pPortDef[NBAMRENC_OUTPUT_PORT], sizeof(OMX_… in GetParameter() 928 pComponentPrivate->pPortDef[NBAMRENC_INPUT_PORT]->nPortIndex) { in GetParameter() 938 pComponentPrivate->pPortDef[NBAMRENC_OUTPUT_PORT]->nPortIndex){ in GetParameter() 1203 pComponentPrivate->pPortDef[NBAMRENC_INPUT_PORT]->nPortIndex) { in SetParameter() 1205 …memcpy(pComponentPrivate->pPortDef[NBAMRENC_INPUT_PORT], pCompParam, sizeof(OMX_PARAM_PORTDEFINITI… in SetParameter() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDecoder.c | 244 OMX_PARAM_PORTDEFINITIONTYPE* pPortDef); 933 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = pComponentPrivate->pInPortDef; in VIDDEC_GetParameter() local 935 memcpy(pPortDefParam, pPortDef, sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); in VIDDEC_GetParameter() 940 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = pComponentPrivate->pOutPortDef; in VIDDEC_GetParameter() local 941 memcpy(pPortDefParam, pPortDef, sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); in VIDDEC_GetParameter() 1338 OMX_PARAM_PORTDEFINITIONTYPE *pPortDef = pComponentPrivate->pInPortDef; in VIDDEC_SetParameter() local 1339 memcpy(pPortDef, pPortDefParam, sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); in VIDDEC_SetParameter() 1340 if ( pPortDef->nBufferSize == 0 ) in VIDDEC_SetParameter() 1342 pPortDef->nBufferSize = pPortDef->format.video.nFrameWidth * in VIDDEC_SetParameter() 1343 pPortDef->format.video.nFrameHeight; in VIDDEC_SetParameter() [all …]
|