Home
last modified time | relevance | path

Searched refs:nBufferSize (Results 1 – 25 of 112) sorted by relevance

12345

/hardware/ti/omap4-aah/security/tf_crypto_sst/
Dpkcs11_object.c180 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/
Dpkcs11_object.c113 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/
DJPEGTest.c893 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/
DJPEGTestEnc.c1469 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/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp1455 &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()
2165 if (bytes != m_sInPortDef.nBufferSize) { in use_input_buffer()
2167 … "bytes[%u] != Port.nBufferSize[%u]", (unsigned int)bytes, (unsigned int)m_sInPortDef.nBufferSize); in use_input_buffer()
2220 (*bufferHdr)->nAllocLen = m_sInPortDef.nBufferSize; in use_input_buffer()
2227 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
2231 m_pInput_ion[i].ion_device_fd = alloc_map_ion_memory(m_sInPortDef.nBufferSize, in use_input_buffer()
[all …]
Domx_video_encoder.cpp306 &m_sInPortDef.nBufferSize, in component_init()
338 &m_sOutPortDef.nBufferSize, in component_init()
596 … DEBUG_PRINT_LOW("i/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter()
637 &m_sInPortDef.nBufferSize, in set_parameter()
643 &m_sOutPortDef.nBufferSize, in set_parameter()
649 … DEBUG_PRINT_LOW("o/p buffersize requested = %u", (unsigned int)portDefn->nBufferSize); in set_parameter()
668 &m_sOutPortDef.nBufferSize, in set_parameter()
1183 &m_sOutPortDef.nBufferSize, in set_parameter()
1276 &m_sOutPortDef.nBufferSize, in set_parameter()
1282 (unsigned int)m_sOutPortDef.nBufferSize); in set_parameter()
/hardware/intel/common/wrs_omxil_core/base/src/
Dportbase.cpp203 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/qcom/media/mm-video-legacy/vidc/venc/src/
Domx_video_base.cpp1532 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 …]
Domx_video_encoder.cpp263 &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/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
DOMX_VPP.c257 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/
DWbAmrEncTest.c760 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/
DOMX_G711Dec_Utils.c141 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/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
DVPPTest.c1160 …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/intel/common/omx-components/videocodec/
DOMXVideoDecoderWMV.cpp44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
DOMXVideoDecoderVP8.cpp44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
DOMXVideoDecoderMPEG4.cpp44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
DOMXVideoDecoderMPEG2.cpp44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
DOMXVideoDecoderH263.cpp44 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
DOMXVideoDecoderPAVC.cpp46 paramPortDefinitionInput->nBufferSize = INPORT_BUFFER_SIZE; in InitInputPortFormatSpecific()
/hardware/ti/omap3/omx/video/src/openmax_il/video_encode/test/
DVideoEncTest.c834 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/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c602 …pCompPrivateStruct->nBufferSize = G729APP_INPUT_BUFFER_SIZE*framesPerBuffer; in main()
688 pCompPrivateStruct->nBufferSize = G729APP_OUTPUT_BUFFER_SIZE; in main()
757 …\n%d :: App: pCompPrivateStruct->nBufferSize --> %ld \n",__LINE__,pCompPrivateStruct->nBufferSize); in main()
761 …r = OMX_AllocateBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize); in main()
790 pOutputBuffer[i] = malloc (pCompPrivateStruct->nBufferSize + 256); in main()
802 …eBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize, pOutputBuffer[… in main()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c599 pCompPrivateStruct->nBufferSize = audioinfo->nIpBufSize; in main()
680 pCompPrivateStruct->nBufferSize = audioinfo->nOpBufSize; in main()
848 …r = OMX_AllocateBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize); in main()
874 pOutputBuffer[i] = malloc (pCompPrivateStruct->nBufferSize + 256); in main()
885 …eBuffer(pHandle, &pOutputBufferHeader[i], 1, NULL, pCompPrivateStruct->nBufferSize, pOutputBuffer[… in main()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp1864 DEBUG_PRINT("\nDec: Buffer Size %d\n", portFmt.nBufferSize); in Play_Decoder()
1978 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder()
1993 portFmt.nBufferSize, in Play_Decoder()
2008 DEBUG_PRINT("nBuffer Size=%d", portFmt.nBufferSize); in Play_Decoder()
2021 portFmt.nBufferSize, in Play_Decoder()
2028 portFmt.nBufferCountActual, portFmt.nBufferSize); in Play_Decoder()
2044 portFmt.nBufferSize, in Play_Decoder()
3682 portFmt.nBufferSize, in enable_output_port()
3688 portFmt.nBufferCountActual, portFmt.nBufferSize); in enable_output_port()
3703 portFmt.nBufferSize, in enable_output_port()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
DOMX_WmaDecoder.c425 pPortDef_ip->nBufferSize = INPUT_WMADEC_BUFFER_SIZE; in OMX_ComponentInit()
436 if(pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize == 0) in OMX_ComponentInit()
438 pPortDef_op->nBufferSize = OUTPUT_WMADEC_BUFFER_SIZE; in OMX_ComponentInit()
442 pPortDef_op->nBufferSize = pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize; in OMX_ComponentInit()
1020 pComponentPrivate->pPortDef[OUTPUT_PORT]->nBufferSize = pComponentParam->nBufferSize; in SetParameter()
2029 OMX_PRBUFFER1(pComponentPrivate->dbg, "pPortDef->nBufferSize =%ld\n",pPortDef->nBufferSize); in UseBuffer()
/hardware/ti/omap4-aah/domx/test/sample_proxy/
Dtest_sample_proxy.c740 nBufferSize, pPortDef->bBuffersContiguous, in SampleTest_AllocateBuffers()
756 pPortDef->nPortIndex, 0, pPortDef->nBufferSize, in SampleTest_AllocateBuffers()
768 pPortDef->nPortIndex, 0, pPortDef->nBufferSize); in SampleTest_AllocateBuffers()

12345