/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_swvdec.cpp | 1882 for (ii = 0; ii < m_port_ip.def.nBufferCountActual; ii++) in empty_this_buffer() 1893 if (ii == m_port_ip.def.nBufferCountActual) in empty_this_buffer() 1984 for (ii = 0; ii < m_port_op.def.nBufferCountActual; ii++) in fill_this_buffer() 1995 if (ii == m_port_op.def.nBufferCountActual) in fill_this_buffer() 2587 p_port_def->nBufferCountActual = m_port_ip.def.nBufferCountActual; in get_port_definition() 2596 p_port_def->nBufferCountActual, in get_port_definition() 2671 p_port_def->nBufferCountActual = m_port_op.def.nBufferCountActual; in get_port_definition() 2680 p_port_def->nBufferCountActual, in get_port_definition() 2712 p_port_def->nBufferCountActual, in set_port_definition() 2718 m_port_ip.def.nBufferCountActual = p_port_def->nBufferCountActual; in set_port_definition() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | omx_video_base.cpp | 1533 m_sInPortDef.nBufferCountActual); in get_parameter() 1553 &m_sOutPortDef.nBufferCountActual, in get_parameter() 1558 m_sOutPortDef.nBufferCountActual); in get_parameter() 2075 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2083 m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2090 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2098 for(i=0; i< m_sInPortDef.nBufferCountActual; i++) in use_input_buffer() 2110 for(i=0; i< m_sInPortDef.nBufferCountActual; i++) in use_input_buffer() 2118 if(i < m_sInPortDef.nBufferCountActual) in use_input_buffer() 2251 DEBUG_PRINT_LOW("Allocating First Output Buffer(%d)\n",m_sOutPortDef.nBufferCountActual); in use_output_buffer() [all …]
|
D | omx_video_encoder.cpp | 262 &m_sInPortDef.nBufferCountActual, in component_init() 295 &m_sOutPortDef.nBufferCountActual, in component_init() 520 DEBUG_PRINT_LOW("\n i/p actual cnt requested = %d\n", portDefn->nBufferCountActual); in set_parameter() 529 DEBUG_PRINT_LOW("\n i/p previous actual cnt = %d\n", m_sInPortDef.nBufferCountActual); in set_parameter() 555 &m_sInPortDef.nBufferCountActual, in set_parameter() 561 &m_sOutPortDef.nBufferCountActual, in set_parameter() 564 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter() 568 DEBUG_PRINT_LOW("\n o/p actual cnt requested = %d\n", portDefn->nBufferCountActual); in set_parameter() 579 DEBUG_PRINT_LOW("\n o/p previous actual cnt = %d\n", m_sOutPortDef.nBufferCountActual); in set_parameter() 581 m_sOutPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 1454 &m_sInPortDef.nBufferCountActual, in get_parameter() 1459 (unsigned int)m_sInPortDef.nBufferCountActual); in get_parameter() 1473 &m_sOutPortDef.nBufferCountActual, in get_parameter() 1479 (unsigned int)m_sOutPortDef.nBufferCountActual); in get_parameter() 2182 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2190 … m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2196 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2203 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer() 2214 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer() 2220 if (i < m_sInPortDef.nBufferCountActual) { in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 309 &m_sInPortDef.nBufferCountActual, in component_init() 341 &m_sOutPortDef.nBufferCountActual, in component_init() 598 … DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); in set_parameter() 601 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_BUFFERS) { in set_parameter() 603 … (unsigned int)portDefn->nBufferCountActual, (unsigned int)MAX_NUM_INPUT_BUFFERS); in set_parameter() 606 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter() 608 … (unsigned int)portDefn->nBufferCountMin, (unsigned int)portDefn->nBufferCountActual); in set_parameter() 617 … DEBUG_PRINT_LOW("i/p previous actual cnt = %u", (unsigned int)m_sInPortDef.nBufferCountActual); in set_parameter() 640 &m_sInPortDef.nBufferCountActual, in set_parameter() 646 &m_sOutPortDef.nBufferCountActual, in set_parameter() [all …]
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
D | portbase.cpp | 198 if (temp.nBufferCountActual != p->nBufferCountActual) { in SetPortDefinition() 199 if (temp.nBufferCountMin > p->nBufferCountActual) in SetPortDefinition() 201 temp.nBufferCountActual = p->nBufferCountActual; in SetPortDefinition() 216 temp.nBufferCountActual = p->nBufferCountActual; in SetPortDefinition() 385 buffer_hdr, nr_buffer_hdrs, portdefinition.nBufferCountActual); in UseBuffer() 387 if (nr_buffer_hdrs >= portdefinition.nBufferCountActual) { in UseBuffer() 393 nPortIndex, portdefinition.nBufferCountActual); in UseBuffer() 484 buffer_hdr, nr_buffer_hdrs, portdefinition.nBufferCountActual); in AllocateBuffer() 486 if (nr_buffer_hdrs == portdefinition.nBufferCountActual) { in AllocateBuffer() 492 nPortIndex, portdefinition.nBufferCountActual); in AllocateBuffer() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 1526 &m_sInPortDef.nBufferCountActual, in get_parameter() 1531 (unsigned int)m_sInPortDef.nBufferCountActual); in get_parameter() 1545 &m_sOutPortDef.nBufferCountActual, in get_parameter() 1551 (unsigned int)m_sOutPortDef.nBufferCountActual); in get_parameter() 2427 calloc( (sizeof(OMX_BUFFERHEADERTYPE)), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2435 … m_pInput_pmem = (struct pmem *) calloc(sizeof (struct pmem), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2441 …pInput_ion = (struct venc_ion *) calloc(sizeof (struct venc_ion), m_sInPortDef.nBufferCountActual); in use_input_buffer() 2448 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer() 2459 for (i=0; i< m_sInPortDef.nBufferCountActual; i++) { in use_input_buffer() 2465 if (i < m_sInPortDef.nBufferCountActual) { in use_input_buffer() [all …]
|
D | omx_swvenc_hevc.cpp | 249 &m_sInPortDef.nBufferCountActual, in component_init() 271 &m_sOutPortDef.nBufferCountActual, in component_init() 423 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter() 426 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter() 428 portDefn->nBufferCountMin, portDefn->nBufferCountActual); in set_parameter() 432 … DEBUG_PRINT_LOW("i/p previous actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter() 455 &m_sInPortDef.nBufferCountActual, in set_parameter() 461 &m_sOutPortDef.nBufferCountActual, in set_parameter() 464 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter() 466 DEBUG_PRINT_LOW("o/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter() [all …]
|
D | omx_video_encoder.cpp | 381 &m_sInPortDef.nBufferCountActual, in component_init() 413 &m_sOutPortDef.nBufferCountActual, in component_init() 659 … DEBUG_PRINT_LOW("i/p actual cnt requested = %u", (unsigned int)portDefn->nBufferCountActual); in set_parameter() 662 if (portDefn->nBufferCountActual > MAX_NUM_INPUT_BUFFERS) { in set_parameter() 664 … (unsigned int)portDefn->nBufferCountActual, (unsigned int)MAX_NUM_INPUT_BUFFERS); in set_parameter() 667 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) { in set_parameter() 669 … (unsigned int)portDefn->nBufferCountMin, (unsigned int)portDefn->nBufferCountActual); in set_parameter() 678 … DEBUG_PRINT_LOW("i/p previous actual cnt = %u", (unsigned int)m_sInPortDef.nBufferCountActual); in set_parameter() 701 &m_sInPortDef.nBufferCountActual, in set_parameter() 707 &m_sOutPortDef.nBufferCountActual, in set_parameter() [all …]
|
D | omx_swvenc_mpeg4.cpp | 301 &m_sInPortDef.nBufferCountActual, in component_init() 334 &m_sOutPortDef.nBufferCountActual, in component_init() 522 DEBUG_PRINT_LOW("i/p actual cnt requested = %u", portDefn->nBufferCountActual); in set_parameter() 525 if (portDefn->nBufferCountMin > portDefn->nBufferCountActual) in set_parameter() 528 portDefn->nBufferCountMin, portDefn->nBufferCountActual); in set_parameter() 578 DEBUG_PRINT_LOW("i/p previous actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter() 586 &m_sInPortDef.nBufferCountActual, in set_parameter() 597 if (portDefn->nBufferCountActual > m_sInPortDef.nBufferCountActual) in set_parameter() 599 m_sInPortDef.nBufferCountActual = portDefn->nBufferCountActual; in set_parameter() 606 DEBUG_PRINT_LOW("i/p new actual cnt = %u", m_sInPortDef.nBufferCountActual); in set_parameter() [all …]
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderWMV.cpp | 42 paramPortDefinitionInput->nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPortFormatSpecific() 123 p->nBufferCountActual = OUTPORT_NATIVE_BUFFER_COUNT; in SetMaxOutputBufferCount()
|
D | OMXVideoDecoderVP8.cpp | 42 paramPortDefinitionInput->nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPortFormatSpecific() 128 p->nBufferCountActual = OUTPORT_NATIVE_BUFFER_COUNT; in SetMaxOutputBufferCount()
|
D | OMXVideoDecoderMPEG4.cpp | 42 paramPortDefinitionInput->nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPortFormatSpecific() 154 p->nBufferCountActual = OUTPORT_NATIVE_BUFFER_COUNT; in SetMaxOutputBufferCount()
|
D | OMXVideoDecoderH263.cpp | 42 paramPortDefinitionInput->nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPortFormatSpecific() 153 p->nBufferCountActual = OUTPORT_NATIVE_BUFFER_COUNT; in SetMaxOutputBufferCount()
|
D | OMXVideoDecoderMPEG2.cpp | 42 paramPortDefinitionInput->nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPortFormatSpecific() 154 p->nBufferCountActual = OUTPORT_NATIVE_BUFFER_COUNT; in SetMaxOutputBufferCount()
|
D | OMXVideoDecoderBase.cpp | 80 paramPortDefinitionInput.nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPort() 140 paramPortDefinitionOutput.nBufferCountActual = OUTPORT_ACTUAL_BUFFER_COUNT; in InitOutputPort() 515 mMetaDataBuffersNum = def_output->nBufferCountActual; in PrepareConfigBuffer() 798 …if (paramPortDefinitionOutput.nBufferCountActual - mVppBufferNum < formatInfo->actualBufferNeeded)… 800 if (paramPortDefinitionOutput.nBufferCountActual < formatInfo->actualBufferNeeded) { 802 …paramPortDefinitionOutput.nBufferCountActual = mNativeBufferCount = formatInfo->actualBufferNeeded; 837 …if (paramPortDefinitionOutput.nBufferCountActual - mVppBufferNum < formatInfo->actualBufferNeeded)… 839 if (paramPortDefinitionOutput.nBufferCountActual < formatInfo->actualBufferNeeded) { 843 paramPortDefinitionOutput.nBufferCountActual, 845 …paramPortDefinitionOutput.nBufferCountActual = mNativeBufferCount = formatInfo->actualBufferNeeded; [all …]
|
D | OMXVideoDecoderVP9Hybrid.cpp | 63 paramPortDefinitionInput->nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPortFormatSpecific() 88 bufferCount = mMetaDataBuffersNum = def_output->nBufferCountActual; in ProcessorInit() 172 bufferCount = mMetaDataBuffersNum = def_output->nBufferCountActual; in ProcessorReset() 577 paramPortDefinitionOutput.nBufferCountActual = mNativeBufferCount; in HandleFormatChange() 697 port_def.nBufferCountActual = mNativeBufferCount; in SetNativeBufferModeSpecific()
|
D | OMXVideoDecoderAVC.cpp | 55 paramPortDefinitionInput->nBufferCountActual = INPORT_ACTUAL_BUFFER_COUNT; in InitInputPortFormatSpecific() 328 p->nBufferCountActual = MAX_OUTPORT_BUFFER_COUNT; in SetMaxOutputBufferCount()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 639 if (free_op_buf_cnt == portFmt.nBufferCountActual) in fbd_thread() 1972 input_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder() 1978 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 1994 portFmt.nBufferCountActual); in Play_Decoder() 2022 portFmt.nBufferCountActual); in Play_Decoder() 2028 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 2030 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder() 2045 portFmt.nBufferCountActual); in Play_Decoder() 2046 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder() 2093 for(bufCnt=0; bufCnt < portFmt.nBufferCountActual; ++bufCnt) { in Play_Decoder() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
D | OMX_G711Encoder.c | 284 pPortDef_ip->nBufferCountActual = G711ENC_NUM_INPUT_BUFFERS; in OMX_ComponentInit() 302 pPortDef_op->nBufferCountActual = G711ENC_NUM_OUTPUT_BUFFERS; in OMX_ComponentInit() 893 …nput Count actual %d \n",(int)pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferCountActual); in SetParameter() 899 …tput Count actual %d \n",(int)pComponentPrivate->pPortDef[G711ENC_INPUT_PORT]->nBufferCountActual); in SetParameter() 1462 … (int)pComponentPrivate->pInputBufferList->numBuffers,(int)pPortDef->nBufferCountActual); in AllocateBuffer() 1463 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1475 … (int)pComponentPrivate->pOutputBufferList->numBuffers,(int)pPortDef->nBufferCountActual); in AllocateBuffer() 1476 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1754 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in UseBuffer() 1766 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in UseBuffer()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Decoder.c | 362 pPortDef_ip->nBufferCountActual = NUM_G711DEC_INPUT_BUFFERS; in OMX_ComponentInit() 377 pPortDef_op->nBufferCountActual = NUM_G711DEC_OUTPUT_BUFFERS; in OMX_ComponentInit() 1630 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1642 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in AllocateBuffer() 1764 (int)pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferCountActual); in FreeBuffer() 1766 pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferCountActual) { in FreeBuffer() 1794 (int)pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferCountActual); in FreeBuffer() 1797 pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferCountActual) { in FreeBuffer() 1895 if (pComponentPrivate->pOutputBufferList->numBuffers == pPortDef->nBufferCountActual) { in UseBuffer() 1906 if (pComponentPrivate->pInputBufferList->numBuffers == pPortDef->nBufferCountActual) { in UseBuffer()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 772 if (free_op_buf_cnt == portFmt.nBufferCountActual) in fbd_thread() 2236 input_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder() 2242 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 2257 portFmt.nBufferCountActual); in Play_Decoder() 2282 portFmt.nBufferCountActual += 1; in Play_Decoder() 2297 portFmt.nBufferCountActual); in Play_Decoder() 2301 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder() 2303 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder() 2316 portFmt.nBufferCountActual); in Play_Decoder() 2317 free_op_buf_cnt = portFmt.nBufferCountActual; in Play_Decoder() [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/ |
D | OMX_JpegDec_Utils.c | 821 …Count < pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->nBufferCountActual; nCount++) { in HandleInternalFlush() 875 …ount < pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pPortDef->nBufferCountActual; nCount++) { in HandleInternalFlush() 945 nBuffersIn = pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->nBufferCountActual; in HandleCommandFlush() 946 nBuffersOut = pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pPortDef->nBufferCountActual; in HandleCommandFlush() 977 …Count < pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->nBufferCountActual; nCount++) { in HandleCommandFlush() 1041 …ount < pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pPortDef->nBufferCountActual; nCount++) { in HandleCommandFlush() 1266 …unt < pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pPortDef->nBufferCountActual ; nCount++) { in HandleCommandJpegDec() 1301 …ount < pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pPortDef->nBufferCountActual; nCount++) { in HandleCommandJpegDec() 1337 …Count < pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->nBufferCountActual; nCount++) { in HandleCommandJpegDec() 2028 for (i = 0; i < (int)(pPortType->pPortDef->nBufferCountActual); i ++) { in LCML_CallbackJpegDec() [all …]
|
/hardware/intel/common/utils/ISV/omx/ |
D | isv_omxcomponent.cpp | 267 … orignal bufferCountActual %d, bufferCountMin %d", __func__, def->nBufferCountActual, def->nBuffe… in ISV_GetParameter() 279 def->nBufferCountActual += mNumISVBuffers + 9; in ISV_GetParameter() 349 …mNumDecoderBuffersBak = mNumDecoderBuffers = def->nBufferCountActual - MIN_OUTPUT_NUM - UNDEQUEUED… in ISV_SetParameter() 363 def->nBufferCountActual, mNumDecoderBuffersBak); in ISV_SetParameter() 364 …f (mISVBufferManager != NULL && OK != mISVBufferManager->setBufferCount(def->nBufferCountActual)) { in ISV_SetParameter()
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
D | OMX_JpegEncoder.c | 391 if (pComponentPrivate->pCompPort[nPortIndex]->nBuffCount == pPortDef->nBufferCountActual) { in JPEGENC_UseBuffer() 579 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->nBufferCountActual = NUM_OF_BUFFERSJP… in OMX_ComponentInit() 603 … pComponentPrivate->pCompPort[JPEGENC_OUT_PORT]->pPortDef->nBufferCountActual = NUM_OF_BUFFERSJPEG; in OMX_ComponentInit() 716 …buffer %d\n", (int)(pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->nBufferCountActual)); in OMX_ComponentInit() 1046 …ntPrivate->dbg, "nBufferCountActual %d (0) \n", (int)(pInpPortType->pPortDef->nBufferCountActual)); in JPEGENC_GetParameter() 1052 …entPrivate->dbg, "nBufferCountActual %d (1)\n", (int)(pOutPortType->pPortDef->nBufferCountActual)); in JPEGENC_GetParameter() 1739 …0; i < (int)(pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->nBufferCountActual); i ++) { in JPEGENC_EmptyThisBuffer() 1764 …0; i < (int)(pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->nBufferCountActual); i ++) { in JPEGENC_EmptyThisBuffer() 2188 if (nBufferCount >= pPortDef->nBufferCountActual) { in JPEGENC_AllocateBuffer() 2269 pPortDef->nBufferCountActual); in JPEGENC_AllocateBuffer() [all …]
|