/hardware/ti/omap4-aah/security/tf_crypto_sst/ |
D | pkcs11_object.c | 180 uint32_t nBufferSize = 0; in static_encodeTwoTemplates() local 186 nErrorCode = static_analyzeTemplate(&nDataOffset, &nBufferSize, pTemplate1, ulCount1); in static_encodeTwoTemplates() 188 nErrorCode = static_analyzeTemplate(&nDataOffset, &nBufferSize, pTemplate2, ulCount2); in static_encodeTwoTemplates() 191 pBuffer = malloc(nBufferSize); in static_encodeTwoTemplates() 193 memset(pBuffer, 0, nBufferSize); in static_encodeTwoTemplates() 205 *pBufferSize = nBufferSize; in static_encodeTwoTemplates() 220 uint32_t nBufferSize = 0; in static_encodeTemplate() local 233 nErrorCode = static_analyzeTemplate(&nDataOffset, &nBufferSize, pTemplate, ulCount); in static_encodeTemplate() 236 pBuffer = malloc(nBufferSize); in static_encodeTemplate() 246 *pBufferSize = nBufferSize; in static_encodeTemplate() [all …]
|
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
D | pkcs11_object.c | 113 uint32_t nBufferSize = 0; in static_encodeTwoTemplates() local 131 nBufferSize = 4 + /* Nb Attributes */ in static_encodeTwoTemplates() 135 nBufferSize += 4 + /* Nb Attributes */ in static_encodeTwoTemplates() 140 nDataOffset = nBufferSize; in static_encodeTwoTemplates() 146 nBufferSize += PKCS11_GET_SIZE_WITH_ALIGNMENT(pTemplate1[i].ulValueLen); in static_encodeTwoTemplates() 154 nBufferSize += PKCS11_GET_SIZE_WITH_ALIGNMENT(pTemplate2[i].ulValueLen); in static_encodeTwoTemplates() 158 pBuffer = (uint8_t*)malloc(nBufferSize); in static_encodeTwoTemplates() 165 memset(pBuffer, 0, nBufferSize); in static_encodeTwoTemplates() 231 *pBufferSize = nBufferSize; in static_encodeTwoTemplates() 664 uint32_t nBufferSize = 0; in C_CreateObject() local [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
D | JPEGTest.c | 893 pInPortDef->nBufferSize = lBuffused; 1044 pOutPortDef->nBufferSize = ( int )((( nWidth * nHeight) *3 ) /2); 1047 pOutPortDef->nBufferSize = ( int ) ((nWidth * nHeight) *2); 1050 pOutPortDef->nBufferSize = ( int ) ((nWidth * nHeight) *3); 1053 pOutPortDef->nBufferSize = ( int ) (nWidth * nHeight) * 2; 1057 pOutPortDef->nBufferSize = (int)((nWidth * nHeight) * 2); 1060 pOutPortDef->nBufferSize = (int) ((nWidth * nHeight) * 3); 1063 pOutPortDef->nBufferSize = (int) ((nWidth * nHeight) * 4); 1093 … pOutPortDef->nBufferSize = (OMX_U32)(((nWidth*3)/2)*(nSampleFactor*nMCURow*nResizeMode)/100); 1097 … pOutPortDef->nBufferSize = (OMX_U32) ( (nWidth * 2) * (nSampleFactor * nMCURow*nResizeMode)/100); [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/ |
D | JPEGTestEnc.c | 1469 pInPortDef->nBufferSize = (nWidthNew * nHeightNew * 1.5); in _tmain() 1470 if (pInPortDef->nBufferSize < 1600) { in _tmain() 1471 pInPortDef->nBufferSize = 1600; in _tmain() 1475 pInPortDef->nBufferSize = (nWidthNew * nHeightNew * 4); in _tmain() 1478 pInPortDef->nBufferSize = (nWidthNew * nHeightNew * 2); in _tmain() 1479 if (pInPortDef->nBufferSize < 400) { in _tmain() 1480 pInPortDef->nBufferSize = 400; in _tmain() 1530 pOutPortDef->nBufferSize = (nWidth*nHeight); in _tmain() 1532 pOutPortDef->nBufferSize /=10; in _tmain() 1535 pOutPortDef->nBufferSize /= (100/qualityfactor); in _tmain() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_swvenc_mpeg4.cpp | 302 &m_sInPortDef.nBufferSize, in component_init() 335 &m_sOutPortDef.nBufferSize, in component_init() 524 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 580 DEBUG_PRINT_LOW("i/p previous buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 587 &m_sInPortDef.nBufferSize, in set_parameter() 601 if (portDefn->nBufferSize > m_sInPortDef.nBufferSize) in set_parameter() 603 m_sInPortDef.nBufferSize = portDefn->nBufferSize; in set_parameter() 608 DEBUG_PRINT_LOW("i/p new buffersize = %u", m_sInPortDef.nBufferSize); in set_parameter() 614 DEBUG_PRINT_LOW("o/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 633 DEBUG_PRINT_LOW("o/p previous buffersize = %u", m_sOutPortDef.nBufferSize); in set_parameter() [all …]
|
D | omx_video_base.cpp | 1527 &m_sInPortDef.nBufferSize, in get_parameter() 1530 … (unsigned int)m_sInPortDef.nBufferSize, (unsigned int)m_sInPortDef.nBufferCountMin, in get_parameter() 1535 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter() 1546 &m_sOutPortDef.nBufferSize, in get_parameter() 1550 … (unsigned int)m_sOutPortDef.nBufferSize, (unsigned int)m_sOutPortDef.nBufferCountMin, in get_parameter() 2418 if (bytes < m_sInPortDef.nBufferSize) { in use_input_buffer() 2420 … "bytes[%u] < Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer() 2473 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2480 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2485 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 382 &m_sInPortDef.nBufferSize, in component_init() 414 &m_sOutPortDef.nBufferSize, in component_init() 661 … DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 702 &m_sInPortDef.nBufferSize, in set_parameter() 708 &m_sOutPortDef.nBufferSize, in set_parameter() 714 … DEBUG_PRINT_LOW("o/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 735 &m_sOutPortDef.nBufferSize, in set_parameter() 1223 &m_sOutPortDef.nBufferSize, in set_parameter() 1341 &m_sInPortDef.nBufferSize, in set_parameter() 1347 (unsigned int)m_sOutPortDef.nBufferSize); in set_parameter() [all …]
|
D | omx_swvenc_hevc.cpp | 250 &m_sInPortDef.nBufferSize, in component_init() 272 &m_sOutPortDef.nBufferSize, in component_init() 425 DEBUG_PRINT_LOW("i/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 456 &m_sInPortDef.nBufferSize, in set_parameter() 462 &m_sOutPortDef.nBufferSize, in set_parameter() 468 DEBUG_PRINT_LOW("o/p buffersize requested = %u", portDefn->nBufferSize); in set_parameter() 478 &m_sOutPortDef.nBufferSize, in set_parameter()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_swvdec.cpp | 2036 m_port_op.def.nBufferSize, in fill_this_buffer() 2047 m_port_op.def.nBufferSize); in fill_this_buffer() 2055 p_buffer_payload->buffer_len = m_port_op.def.nBufferSize; in fill_this_buffer() 2056 p_buffer_payload->mmaped_size = m_port_op.def.nBufferSize; in fill_this_buffer() 2059 p_buffer_swvdec->size = m_port_op.def.nBufferSize; in fill_this_buffer() 2589 p_port_def->nBufferSize = m_port_ip.def.nBufferSize; in get_port_definition() 2598 p_port_def->nBufferSize); in get_port_definition() 2673 p_port_def->nBufferSize = m_port_op.def.nBufferSize; in get_port_definition() 2682 p_port_def->nBufferSize); in get_port_definition() 2714 p_port_def->nBufferSize); in set_port_definition() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 1455 &m_sInPortDef.nBufferSize, in get_parameter() 1458 … (unsigned int)m_sInPortDef.nBufferSize, (unsigned int)m_sInPortDef.nBufferCountMin, in get_parameter() 1463 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter() 1474 &m_sOutPortDef.nBufferSize, in get_parameter() 1478 … (unsigned int)m_sOutPortDef.nBufferSize, (unsigned int)m_sOutPortDef.nBufferCountMin, in get_parameter() 2173 if (bytes != m_sInPortDef.nBufferSize) { in use_input_buffer() 2175 … "bytes[%u] != Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer() 2228 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2235 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2239 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 310 &m_sInPortDef.nBufferSize, in component_init() 342 &m_sOutPortDef.nBufferSize, in component_init() 600 … DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 641 &m_sInPortDef.nBufferSize, in set_parameter() 647 &m_sOutPortDef.nBufferSize, in set_parameter() 653 … DEBUG_PRINT_LOW("o/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter() 673 &m_sOutPortDef.nBufferSize, in set_parameter() 1188 &m_sOutPortDef.nBufferSize, in set_parameter() 1281 &m_sOutPortDef.nBufferSize, in set_parameter() 1287 (unsigned int)m_sOutPortDef.nBufferSize); in set_parameter()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | omx_video_base.cpp | 1532 m_sInPortDef.nBufferSize, m_sInPortDef.nBufferCountMin, in get_parameter() 1538 portDefn->nBufferSize = sizeof(encoder_media_buffer_type); in get_parameter() 1554 &m_sOutPortDef.nBufferSize, in get_parameter() 1557 m_sOutPortDef.nBufferSize, m_sOutPortDef.nBufferCountMin, in get_parameter() 2064 if(bytes != m_sInPortDef.nBufferSize || secure_session) in use_input_buffer() 2067 "bytes[%d] != Port.nBufferSize[%d]", bytes, m_sInPortDef.nBufferSize); in use_input_buffer() 2127 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer() 2134 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer() 2155 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize; in use_input_buffer() 2179 m_pInput_pmem[i].size = m_sInPortDef.nBufferSize; in use_input_buffer() [all …]
|
D | omx_video_encoder.cpp | 263 &m_sInPortDef.nBufferSize, in component_init() 296 &m_sOutPortDef.nBufferSize, in component_init() 522 DEBUG_PRINT_LOW("\n i/p buffersize requested = %d\n", portDefn->nBufferSize); in set_parameter() 556 &m_sInPortDef.nBufferSize, in set_parameter() 562 &m_sOutPortDef.nBufferSize, in set_parameter() 570 DEBUG_PRINT_LOW("\n o/p buffersize requested = %d\n", portDefn->nBufferSize); in set_parameter() 1019 &m_sOutPortDef.nBufferSize, in set_parameter() 1057 &m_sOutPortDef.nBufferSize, in set_parameter() 1063 m_sOutPortDef.nBufferSize); in set_parameter()
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
D | portbase.cpp | 203 if ((p->nBufferSize > temp.nBufferSize) && (temp.eDir == OMX_DirInput)) { in SetPortDefinition() 204 if (p->nBufferSize <= MAX_INPUT_PORT_SIZE) { in SetPortDefinition() 206 temp.nBufferSize = p->nBufferSize; in SetPortDefinition() 218 temp.nBufferSize = p->nBufferSize; in SetPortDefinition() 266 temp.nBufferSize = nFrameSize; in SetPortDefinition()
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
D | OMX_VPP.c | 257 if (pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize > nSizeBytes) { in VPP_AllocateBuffer() 258 nBufSize = pComponentPrivate->sCompPorts[nPortIndex].pPortDef.nBufferSize; in VPP_AllocateBuffer() 1362 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize = in VPP_SetParameter() 1367 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 3; in VPP_SetParameter() 1368 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize/= 2; in VPP_SetParameter() 1371 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2; in VPP_SetParameter() 1374 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2; in VPP_SetParameter() 1377 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 4; in VPP_SetParameter() 1380 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 3; in VPP_SetParameter() 1383 pComponentPrivate->sCompPorts[portIndex].pPortDef.nBufferSize*= 2; in VPP_SetParameter() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/ |
D | WbAmrEncTest.c | 760 pCompPrivateStruct->nBufferSize = WBAPP_INPUT_BUFFER_SIZE; 862 pCompPrivateStruct->nBufferSize = WBAPP_OUTPUT_BUFFER_SIZE; 880 pCompPrivateStruct->nBufferSize = WBAPP_OUTPUT_BUFFER_SIZE; 889 pCompPrivateStruct->nBufferSize = WBAPP_OUTPUT_BUFFER_SIZE_MIME; 897 …%d :: App: pCompPrivateStruct->nBufferSize --> %ld \n", __LINE__, pCompPrivateStruct->nBufferSize); 1122 …%d :: App: pCompPrivateStruct->nBufferSize --> %ld \n", __LINE__, pCompPrivateStruct->nBufferSize); 1127 …OMX_AllocateBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize * 2); 1162 pOutputBuffer[i] = newmalloc (pCompPrivateStruct->nBufferSize * 2 + 256); 1175 …eBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize * 2, pOutputBuf… 1522 …OMX_AllocateBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize * 2);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
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() 1515 holdBufferSize = (pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize) * in G711DECHandleDataBuf_FromApp() 1533 frameLength = pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize; in G711DECHandleDataBuf_FromApp() 1548 … pExtraData = pBufHeader->pBuffer + (pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize); in G711DECHandleDataBuf_FromApp() 1593 frameLength = (pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize); in G711DECHandleDataBuf_FromApp() 1785 … (pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferSize), in G711DECHandleDataBuf_FromApp() 1786 … (pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferSize), in G711DECHandleDataBuf_FromApp() 1818 … (pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferSize), in G711DECHandleDataBuf_FromApp() 1819 … (pComponentPrivate->pPortDef[G711DEC_OUTPUT_PORT]->nBufferSize), in G711DECHandleDataBuf_FromApp() [all …]
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderWMV.cpp | 44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
D | OMXVideoDecoderVP8.cpp | 44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
D | VPPTest.c | 1160 …InputBufHeader[nCounter], MyVppPortDef.input_port, (void *)NULL, pCompPrivateStruct->nBufferSize); in _tmain() 1168 pInBuffer = malloc(pCompPrivateStruct->nBufferSize +256); in _tmain() 1178 pCompPrivateStruct->nBufferSize, in _tmain() 1199 pCompPrivateStruct->nBufferSize); in _tmain() 1220 pCompPrivateStruct->nBufferSize); in _tmain() 1228 pRGBBuffer = malloc(pCompPrivateStruct->nBufferSize + 256); in _tmain() 1238 pCompPrivateStruct->nBufferSize, in _tmain() 1261 pCompPrivateStruct->nBufferSize); in _tmain() 1269 pYUVBuffer = malloc(pCompPrivateStruct->nBufferSize +256); in _tmain() 1279 pCompPrivateStruct->nBufferSize, in _tmain()
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/test/ |
D | omx_qcelp13_enc_test.c | 803 DEBUG_PRINT ("\nEnc: Input Buffer Size %u\n", inputportFmt.nBufferSize); in Play_Encoder() 823 DEBUG_PRINT ("\nEnc: Output Buffer Size %u\n", outputportFmt.nBufferSize); in Play_Encoder() 872 input_buf_cnt, inputportFmt.nBufferSize); in Play_Encoder() 885 output_buf_cnt, outputportFmt.nBufferSize); in Play_Encoder()
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/test/ |
D | omx_amr_enc_test.c | 758 DEBUG_PRINT ("\nEnc: Input Buffer Size %u\n", inputportFmt.nBufferSize); in Play_Encoder() 778 DEBUG_PRINT ("\nEnc: Output Buffer Size %u\n", outputportFmt.nBufferSize); in Play_Encoder() 827 input_buf_cnt, inputportFmt.nBufferSize); in Play_Encoder() 840 output_buf_cnt, outputportFmt.nBufferSize); in Play_Encoder()
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/test/ |
D | omx_evrc_enc_test.c | 801 DEBUG_PRINT ("\nEnc: Input Buffer Size %u\n", inputportFmt.nBufferSize); in Play_Encoder() 821 DEBUG_PRINT ("\nEnc: Output Buffer Size %u\n", outputportFmt.nBufferSize); in Play_Encoder() 870 input_buf_cnt, inputportFmt.nBufferSize); in Play_Encoder() 883 output_buf_cnt, outputportFmt.nBufferSize); in Play_Encoder()
|
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/test/ |
D | VideoEncTest.c | 834 pAppData->nSizeIn = pAppData->pInPortDef->nBufferSize; in VIDENCTEST_SetH264Parameter() 909 pAppData->nSizeOut = pAppData->pOutPortDef->nBufferSize; in VIDENCTEST_SetH264Parameter() 1015 pAppData->nSizeIn = pAppData->pInPortDef->nBufferSize; in VIDENCTEST_SetMpeg4Parameter() 1044 pAppData->nSizeOut = pAppData->pOutPortDef->nBufferSize; in VIDENCTEST_SetMpeg4Parameter() 1512 pAppData->pInPortDef->nBufferSize, in VIDENCTEST_PassToReady() 1521 pAppData->pInPortDef->nBufferSize); in VIDENCTEST_PassToReady() 1534 pAppData->pOutPortDef->nBufferSize, in VIDENCTEST_PassToReady() 1543 pAppData->pOutPortDef->nBufferSize); in VIDENCTEST_PassToReady() 1660 …DENCTEST_fill_data(pAppData->pInBuff[nCounter], pAppData->fIn , pAppData->pInPortDef->nBufferSize); in VIDENCTEST_Starting() 2568 pAppData->pInPortDef->nBufferSize, in VIDENCTEST_HandlePortDisable() [all …]
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/test/ |
D | omx_aac_enc_test.c | 786 DEBUG_PRINT ("\nEnc: Input Buffer Size %u\n", inputportFmt.nBufferSize); in Play_Encoder() 806 DEBUG_PRINT ("\nEnc: Output Buffer Size %u\n", outputportFmt.nBufferSize); in Play_Encoder() 860 input_buf_cnt, inputportFmt.nBufferSize); in Play_Encoder() 873 output_buf_cnt, outputportFmt.nBufferSize); in Play_Encoder()
|