/hardware/intel/common/libmix/videoencoder/ |
H A D | VideoEncoderMP4.h | 51 Encode_Status getHeaderPos(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize);
|
H A D | VideoEncoderAVC.h | 43 Encode_Status getOneNALUnit(uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, uint32_t *nalType, uint32_t *nalOffset, uint32_t status); 44 Encode_Status getHeader(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize, uint32_t status);
|
H A D | VideoEncoderMP4.cpp | 32 uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize) { 34 uint32_t bytesLeft = bufSize; 39 if (bufSize < 4) { 40 //bufSize shoule not < 4 46 (memcmp("\x00\x00\x01\xB6", &inBuffer[bufSize - bytesLeft], 4) && 47 memcmp("\x00\x00\x01\xB3", &inBuffer[bufSize - bytesLeft], 4))) { 55 *headerSize = bufSize - bytesLeft; 31 getHeaderPos( uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize) argument
|
H A D | VideoEncoderAVC.cpp | 361 uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, 372 if (pos >= bufSize) //to make sure the buffer to be accessed is valid 389 *nalSize = bufSize - pos; 394 dataRemaining = bufSize - pos + 1; 447 *nalSize = bufSize - dataRemaining - *nalOffset - 3; 451 *nalSize = bufSize - *nalOffset; 457 uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize, uint32_t status) { 469 if (bufSize == 0) { 470 //bufSize shoule not be 0, error happens 477 ret = getOneNALUnit(buf, bufSize, 360 getOneNALUnit( uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, uint32_t *nalType, uint32_t *nalOffset, uint32_t status) argument 456 getHeader( uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize, uint32_t status) argument [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayMdssRot.cpp | 269 uint32_t bufSize = 0; local 297 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + 307 bufSize = (stride * strideOffset * 4 /*bpp*/) + 314 "Buf Size = %d", __FUNCTION__, aWidth, aHeight, bufSize); 316 return bufSize;
|
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayMdssRot.cpp | 293 uint32_t bufSize = 0; local 321 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + 331 bufSize = (stride * strideOffset * 4 /*bpp*/) + 338 "Buf Size = %d", __FUNCTION__, aWidth, aHeight, bufSize); 340 return bufSize;
|
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCameraStream.cpp | 540 ssize_t bufSize = BAD_INDEX; local 545 bufSize = Buf->getSize(i); 546 if (BAD_INDEX != bufSize) { 589 ssize_t bufSize = Buf->getSize(i); local 590 if (BAD_INDEX == bufSize) { 596 0 /*cookie*/, Buf->getFd(i), bufSize); 1298 ssize_t bufSize = mStreamBufs->getSize(i); local 1299 if (BAD_INDEX == bufSize) { 1306 0 /*cookie*/, mStreamBufs->getFd(i), bufSize); 1465 ssize_t bufSize local 1640 ssize_t bufSize = mStreamBufs->getSize(i); local 1757 ssize_t bufSize = mStreamBufs->getSize(i); local 2000 ssize_t bufSize = pme->mStreamBufs->getSize(i); local [all...] |
H A D | QCamera2HWI.cpp | 2888 size_t bufSize = 0; local 2897 bufSize = mParameters.getTPMaxMetaSize(); 2900 bufSize = mParameters.getRefocusMaxMetaSize(); 2907 if (bufNum && bufSize) { 2915 rc = miscBuf->allocate(bufNum, bufSize, NON_SECURE); 5665 ssize_t bufSize = imgBuf->getSize(0); local 5666 if (BAD_INDEX != bufSize) { 5667 rc = pChannel->doReprocess(imgBuf->getFd(0), (size_t)bufSize, faceID);
|
/hardware/qcom/display/msm8909/liboverlay/ |
H A D | overlayMdssRot.cpp | 330 uint32_t bufSize = 0; local 358 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + 368 bufSize = (stride * strideOffset * 4 /*bpp*/) + 375 "Buf Size = %d", __FUNCTION__, aWidth, aHeight, bufSize); 377 return bufSize;
|
/hardware/qcom/display/msm8994/liboverlay/ |
H A D | overlayMdssRot.cpp | 330 uint32_t bufSize = 0; local 358 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + 368 bufSize = (stride * strideOffset * 4 /*bpp*/) + 375 "Buf Size = %d", __FUNCTION__, aWidth, aHeight, bufSize); 377 return bufSize;
|
/hardware/qcom/camera/QCamera2/HAL3/ |
H A D | QCamera3Stream.cpp | 334 ssize_t bufSize = BAD_INDEX; local 372 bufSize = mStreamInfoBuf->getSize(0); 373 if (BAD_INDEX != bufSize) { 376 0, -1, mStreamInfoBuf->getFd(0), (size_t)bufSize); 656 ssize_t bufSize = mStreamBufs->getSize(index); local 658 if (BAD_INDEX != bufSize) { 661 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BUF, mMemOps->userdata); 781 ssize_t bufSize = mStreamBufs->getSize(i); local 782 if (BAD_INDEX != bufSize) { 784 (size_t)bufSize, CAM_MAPPING_BUF_TYPE_STREAM_BU [all...] |
H A D | QCamera3PostProc.cpp | 339 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); local 340 if (BAD_INDEX == bufSize) { 391 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; 427 ssize_t bufSize = 0; local 469 bufSize = pStreamMem->getSize(i); 470 if (BAD_INDEX == bufSize) { 475 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; 499 bufSize = pStreamMem->getSize(i); 500 if (BAD_INDEX == bufSize) { 505 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; [all...] |
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_slabpool.c | 145 uint32_t bufSize; member in struct:_WsbmSlabSizeHeader 316 uint32_t size = header->bufSize * slabPool->desiredNumBuffers; 327 if (size < header->bufSize) 328 size = header->bufSize; 465 numBuffers = slab->kbo->actualSize / header->bufSize; 485 sBuf->start = i * header->bufSize; 708 if (header->bufSize >= size) 965 return sBuf->parent->header->bufSize; 1092 header->bufSize = size;
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
H A D | omx_vdec_test.cpp | 333 long bufCntMin, long bufSize); 338 OMX_U32 bufSize, 344 OMX_U32 bufSize, 350 OMX_U32 bufSize, 2264 long bufCntMin, long bufSize) 2277 nPortIndex, NULL, bufSize); 2286 OMX_U32 bufSize, 2303 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize); 2304 pvirt = (OMX_U8*) malloc (bufSize); 2310 nPortIndex, NULL, bufSize, pvir 2261 Allocate_Buffer( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, long bufCntMin, long bufSize) argument 2283 use_input_buffer( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, OMX_U32 bufSize, long bufCntMin) argument 2315 use_output_buffer( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, OMX_U32 bufSize, long bufCntMin) argument 2376 use_output_buffer_multiple_fd( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, OMX_U32 bufSize, long bufCntMin) argument [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
H A D | omx_vdec_test.cpp | 468 long bufCntMin, long bufSize); 473 OMX_U32 bufSize, 479 OMX_U32 bufSize, 485 OMX_U32 bufSize, 2507 long bufCntMin, long bufSize) 2523 nPortIndex, NULL, bufSize); 2532 OMX_U32 bufSize, 2549 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize); 2550 pvirt = (OMX_U8*) malloc (bufSize); 2556 nPortIndex, NULL, bufSize, pvir 2504 Allocate_Buffer( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, long bufCntMin, long bufSize) argument 2529 use_input_buffer( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, OMX_U32 bufSize, long bufCntMin) argument 2561 use_output_buffer( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, OMX_U32 bufSize, long bufCntMin) argument 2622 use_output_buffer_multiple_fd( OMX_COMPONENTTYPE *dec_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, OMX_U32 bufSize, long bufCntMin) argument [all...] |
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/test/ |
H A D | omx_amr_enc_test.c | 259 unsigned int bufCntMin, unsigned int bufSize); 928 unsigned int bufCntMin, unsigned int bufSize) 942 nPortIndex, NULL, bufSize); 925 Allocate_Buffer( OMX_COMPONENTTYPE *avc_enc_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, unsigned int bufCntMin, unsigned int bufSize) argument
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/test/ |
H A D | omx_aac_enc_test.c | 253 unsigned int bufCntMin, unsigned int bufSize); 961 unsigned int bufCntMin, unsigned int bufSize) 975 nPortIndex, NULL, bufSize); 958 Allocate_Buffer( OMX_COMPONENTTYPE *avc_enc_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, unsigned int bufCntMin, unsigned int bufSize) argument
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/test/ |
H A D | omx_evrc_enc_test.c | 268 unsigned int bufCntMin, unsigned int bufSize); 971 unsigned int bufCntMin, unsigned int bufSize) 985 nPortIndex, NULL, bufSize); 968 Allocate_Buffer( OMX_COMPONENTTYPE *avc_enc_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, unsigned int bufCntMin, unsigned int bufSize) argument
|
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/test/ |
H A D | omx_qcelp13_enc_test.c | 268 unsigned int bufCntMin, unsigned int bufSize); 973 unsigned int bufCntMin, unsigned int bufSize) 988 nPortIndex, NULL, bufSize); 970 Allocate_Buffer( OMX_COMPONENTTYPE *avc_enc_handle, OMX_BUFFERHEADERTYPE ***pBufHdrs, OMX_U32 nPortIndex, unsigned int bufCntMin, unsigned int bufSize) argument
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
H A D | OMX_AmrDec_Utils.c | 1721 OMX_U8 bufSize=0; local 1733 bufSize = INPUT_BUFF_SIZE_EFR; 1736 bufSize = STD_NBAMRDEC_BUF_SIZE; 1741 holdBufferSize = bufSize * (pComponentPrivate->pInputBufferList->numBuffers + 1); 1922 OMX_MALLOC_SIZE(pComponentPrivate->pHoldBuffer, (bufSize * (pComponentPrivate->pInputBufferList->numBuffers + 3)),void); 1925 pExtraData = pBufHeader->pBuffer + bufSize*nFrames; 1927 (bufSize * (pComponentPrivate->pInputBufferList->numBuffers + 3))) 1942 OMX_MALLOC_SIZE(pComponentPrivate->pHoldBuffer, (bufSize * (pComponentPrivate->pInputBufferList->numBuffers + 3)),void); 1946 memset (pComponentPrivate->pHoldBuffer,0,bufSize * (pComponentPrivate->pInputBufferList->numBuffers + 1)); 2271 bufSize*nFrame [all...] |