/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
D | OMX_JpegEnc_Utils.c | 553 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in Fill_JpegEncLCMLInitParams() local 563 pPortDefIn = pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef; in Fill_JpegEncLCMLInitParams() 568 lcml_dsp->In_BufInfo.nSize = pPortDefIn->nBufferSize; in Fill_JpegEncLCMLInitParams() 603 … if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (352*288)) { in Fill_JpegEncLCMLInitParams() 606 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (640*48… in Fill_JpegEncLCMLInitParams() 609 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (720*57… in Fill_JpegEncLCMLInitParams() 612 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (1*1024… in Fill_JpegEncLCMLInitParams() 615 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (2*1024… in Fill_JpegEncLCMLInitParams() 618 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (3*1024… in Fill_JpegEncLCMLInitParams() 621 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (4*1024… in Fill_JpegEncLCMLInitParams() [all …]
|
D | OMX_JpegEncoder.c | 846 OMX_PARAM_PORTDEFINITIONTYPE *pPortDefIn = NULL; in JPEGENC_SendCommand() local 856 pPortDefIn = pCompPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef; in JPEGENC_SendCommand() 884 pPortDefIn->bEnabled = OMX_FALSE; in JPEGENC_SendCommand() 897 if (!pPortDefIn->bPopulated) { in JPEGENC_SendCommand() 921 pPortDefIn->bEnabled = OMX_TRUE; in JPEGENC_SendCommand() 1480 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in JPEGENC_SetConfig() local 1483 …pPortDefIn = ((JPEGENC_COMPONENT_PRIVATE *)pHandle->pComponentPrivate)->pCompPort[JPEGENC_INP_PORT… in JPEGENC_SetConfig() 1484 …OMX_PRINT1(pComponentPrivate->dbg, "INIT nFrameHeight = %d\n", (int)(pPortDefIn->format.image.nFra… in JPEGENC_SetConfig() 1485 …OMX_PRINT1(pComponentPrivate->dbg, "INIT nFrameWidth = %d\n", (int)(pPortDefIn->format.image.nFram… in JPEGENC_SetConfig() 1486 pPortDefIn->format.image.nFrameWidth = *nWidth; in JPEGENC_SetConfig() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/src/ |
D | OMX_VideoEnc_Utils.c | 574 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in OMX_VIDENC_HandleCommandDisablePort() local 582 pPortDefIn = pComponentPrivate->pCompPort[VIDENC_INPUT_PORT]->pPortDef; in OMX_VIDENC_HandleCommandDisablePort() 586 OMX_DBG_CHECK_CMD(pComponentPrivate->dbg, pHandle, pPortDefIn, pPortDefOut); in OMX_VIDENC_HandleCommandDisablePort() 592 for (i = 0; i < pPortDefIn->nBufferCountActual; i++) in OMX_VIDENC_HandleCommandDisablePort() 611 for (i = 0; i < pPortDefIn->nBufferCountActual; i++) in OMX_VIDENC_HandleCommandDisablePort() 633 for (i = 0; i < pPortDefIn->nBufferCountActual; i++) in OMX_VIDENC_HandleCommandDisablePort() 734 while ((pPortDefIn->bPopulated)) in OMX_VIDENC_HandleCommandDisablePort() 778 while ((pPortDefIn->bPopulated) || (pPortDefOut->bPopulated)) in OMX_VIDENC_HandleCommandDisablePort() 829 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in OMX_VIDENC_HandleCommandEnablePort() local 835 pPortDefIn = pComponentPrivate->pCompPort[VIDENC_INPUT_PORT]->pPortDef; in OMX_VIDENC_HandleCommandEnablePort() [all …]
|
D | OMX_VideoEncoder.c | 1176 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in SendCommand() local 1263 pPortDefIn = pComponentPrivate->pCompPort[VIDENC_INPUT_PORT]->pPortDef; in SendCommand() 1273 pPortDefIn->bEnabled = OMX_FALSE; in SendCommand() 1306 pPortDefIn = pComponentPrivate->pCompPort[VIDENC_INPUT_PORT]->pPortDef; in SendCommand() 1315 pPortDefIn->bEnabled = OMX_TRUE; in SendCommand() 2786 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in EmptyThisBuffer() local 2797 pPortDefIn = pComponentPrivate->pCompPort[VIDENC_INPUT_PORT]->pPortDef; in EmptyThisBuffer() 2798 if (!(pPortDefIn->bEnabled)) in EmptyThisBuffer()
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/ |
D | OMX_VideoDecoder.c | 3075 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in VIDDEC_FreeBuffer() local 3097 pPortDefIn = pComponentPrivate->pInPortDef; in VIDDEC_FreeBuffer() 3126 if (pPortDefIn->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4 || in VIDDEC_FreeBuffer() 3127 pPortDefIn->format.video.eCompressionFormat == OMX_VIDEO_CodingH263) { in VIDDEC_FreeBuffer() 3157 else if (pPortDefIn->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG2) { in VIDDEC_FreeBuffer() 3171 else if (pPortDefIn->format.video.eCompressionFormat == OMX_VIDEO_CodingAVC) { in VIDDEC_FreeBuffer() 3185 else if (pPortDefIn->format.video.eCompressionFormat == OMX_VIDEO_CodingWMV) { in VIDDEC_FreeBuffer() 3252 pPortDefIn->bPopulated = OMX_FALSE; in VIDDEC_FreeBuffer() 3787 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = pComponentPrivate->pInPortDef; in VIDDEC_Allocate_DSPResources() local 3794 if (pPortDefIn->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4 || in VIDDEC_Allocate_DSPResources() [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
D | OMX_JpegDec_Utils.c | 571 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in Fill_LCMLInitParamsJpegDec() local 581 pPortDefIn = pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef; in Fill_LCMLInitParamsJpegDec() 634 nFrameWidth = pPortDefIn->format.image.nFrameWidth * nScaleFactor / 100; in Fill_LCMLInitParamsJpegDec() 635 nFrameHeight = pPortDefIn->format.image.nFrameHeight * nScaleFactor / 100; in Fill_LCMLInitParamsJpegDec() 1106 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in HandleCommandJpegDec() local 1123 pPortDefIn = pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef; in HandleCommandJpegDec() 1148 … lImageResolution = pPortDefIn->format.image.nFrameWidth * pPortDefIn->format.image.nFrameHeight; in HandleCommandJpegDec() 1164 if ((pPortDefIn->bEnabled == OMX_TRUE) && in HandleCommandJpegDec() 1168 if ((pPortDefIn->bPopulated) && (pPortDefOut->bPopulated)) { in HandleCommandJpegDec()
|
D | OMX_JpegDecoder.c | 966 OMX_PARAM_PORTDEFINITIONTYPE *pPortDefIn= NULL; in SendCommand_JPEGDec() local 977 pPortDefIn = pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef; in SendCommand_JPEGDec() 1009 pPortDefIn->bEnabled = OMX_FALSE; in SendCommand_JPEGDec() 1011 … OMX_PRBUFFER2(pComponentPrivate->dbg, "pPortDefIn->bEnabled %d\n", pPortDefIn->bEnabled); in SendCommand_JPEGDec() 1016 … OMX_PRBUFFER2(pComponentPrivate->dbg, "pPortDefIn->bEnabled %d\n", pPortDefIn->bEnabled); in SendCommand_JPEGDec() 1024 if (!pPortDefIn->bPopulated) { in SendCommand_JPEGDec() 1050 pPortDefIn->bEnabled = OMX_TRUE; in SendCommand_JPEGDec()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Enc_Utils.c | 1484 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in G729ENC_HandleDataBufFromApp() local 1497 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in G729ENC_HandleDataBufFromApp() 1512 pPortDefIn->nBufferSize, in G729ENC_HandleDataBufFromApp()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDec_Utils.c | 1716 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in NBAMRDECHandleDataBuf_FromApp() local 1765 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in NBAMRDECHandleDataBuf_FromApp() 2073 pPortDefIn->nBufferSize, in NBAMRDECHandleDataBuf_FromApp() 2232 pComponentPrivate->IpBufindex %= pPortDefIn->nBufferCountActual; in NBAMRDECHandleDataBuf_FromApp()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/ |
D | OMX_Mp3Dec_Utils.c | 1844 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in MP3DEC_HandleDataBuf_FromApp() local 1877 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in MP3DEC_HandleDataBuf_FromApp() 1894 pPortDefIn->nBufferSize, in MP3DEC_HandleDataBuf_FromApp() 2064 pComponentPrivate->IpBufindex %= pPortDefIn->nBufferCountActual; in MP3DEC_HandleDataBuf_FromApp()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEnc_Utils.c | 1702 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in WBAMRENC_HandleDataBufFromApp() local 1715 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in WBAMRENC_HandleDataBufFromApp() 1900 pPortDefIn->nBufferSize, in WBAMRENC_HandleDataBufFromApp()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/src/ |
D | OMX_AacEnc_Utils.c | 1878 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in AACENCHandleDataBuf_FromApp() local 1894 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in AACENCHandleDataBuf_FromApp() 1916 pPortDefIn->nBufferSize, in AACENCHandleDataBuf_FromApp()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDec_Utils.c | 1733 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in WBAMR_DEC_HandleDataBuf_FromApp() local 1771 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in WBAMR_DEC_HandleDataBuf_FromApp() 2215 pComponentPrivate->IpBufindex %= pPortDefIn->nBufferCountActual; in WBAMR_DEC_HandleDataBuf_FromApp()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/ |
D | OMX_WmaDec_Utils.c | 1280 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in WMADECHandleDataBuf_FromApp() local 1313 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in WMADECHandleDataBuf_FromApp() 1336 pPortDefIn->nBufferSize, in WMADECHandleDataBuf_FromApp()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/ |
D | OMX_AacDec_Utils.c | 1980 OMX_PARAM_PORTDEFINITIONTYPE* pPortDefIn = NULL; in AACDEC_HandleDataBuf_FromApp() local 2009 pPortDefIn = pComponentPrivate->pPortDef[OMX_DirInput]; in AACDEC_HandleDataBuf_FromApp() 2023 pPortDefIn->nBufferSize, in AACDEC_HandleDataBuf_FromApp()
|