Home
last modified time | relevance | path

Searched refs:bufSize (Results 1 – 13 of 13) sorted by relevance

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderMP4.cpp32 uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize) { in getHeaderPos() argument
34 uint32_t bytesLeft = bufSize; in getHeaderPos()
39 if (bufSize < 4) { in getHeaderPos()
46 (memcmp("\x00\x00\x01\xB6", &inBuffer[bufSize - bytesLeft], 4) && in getHeaderPos()
47 memcmp("\x00\x00\x01\xB3", &inBuffer[bufSize - bytesLeft], 4))) { in getHeaderPos()
55 *headerSize = bufSize - bytesLeft; in getHeaderPos()
DVideoEncoderAVC.h43 …Encode_Status getOneNALUnit(uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, uint32_t *nalT…
44 …Encode_Status getHeader(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize, uint32_t status…
DVideoEncoderAVC.cpp361 uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, in getOneNALUnit() argument
372 if (pos >= bufSize) //to make sure the buffer to be accessed is valid in getOneNALUnit()
389 *nalSize = bufSize - pos; in getOneNALUnit()
394 dataRemaining = bufSize - pos + 1; in getOneNALUnit()
447 *nalSize = bufSize - dataRemaining - *nalOffset - 3; in getOneNALUnit()
451 *nalSize = bufSize - *nalOffset; in getOneNALUnit()
457 uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize, uint32_t status) { in getHeader() argument
469 if (bufSize == 0) { in getHeader()
477 ret = getOneNALUnit(buf, bufSize, &nalSize, &nalType, &nalOffset, status); in getHeader()
487 bufSize -= size; in getHeader()
DVideoEncoderMP4.h51 Encode_Status getHeaderPos(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize);
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdssRot.cpp269 uint32_t bufSize = 0; in calcCompressedBufSize() local
297 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
307 bufSize = (stride * strideOffset * 4 /*bpp*/) + in calcCompressedBufSize()
314 "Buf Size = %d", __FUNCTION__, aWidth, aHeight, bufSize); in calcCompressedBufSize()
316 return bufSize; in calcCompressedBufSize()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdssRot.cpp293 uint32_t bufSize = 0; in calcCompressedBufSize() local
321 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
331 bufSize = (stride * strideOffset * 4 /*bpp*/) + in calcCompressedBufSize()
338 "Buf Size = %d", __FUNCTION__, aWidth, aHeight, bufSize); in calcCompressedBufSize()
340 return bufSize; in calcCompressedBufSize()
/hardware/qcom/display/msm8974/liboverlay/
DoverlayMdssRot.cpp277 uint32_t bufSize = 0; in calcCompressedBufSize() local
287 bufSize = (stride0 * stride0_off + stride1 * stride1_off) + in calcCompressedBufSize()
290 "opBufSize = %d ", __FUNCTION__, aWidth, aHeight, rau_cnt, bufSize); in calcCompressedBufSize()
291 return bufSize; in calcCompressedBufSize()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp333 long bufCntMin, long bufSize);
338 OMX_U32 bufSize,
344 OMX_U32 bufSize,
350 OMX_U32 bufSize,
2264 long bufCntMin, long bufSize) in Allocate_Buffer() argument
2277 nPortIndex, NULL, bufSize); in Allocate_Buffer()
2286 OMX_U32 bufSize, in use_input_buffer() argument
2303 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize); in use_input_buffer()
2304 pvirt = (OMX_U8*) malloc (bufSize); in use_input_buffer()
2310 nPortIndex, NULL, bufSize, pvirt); in use_input_buffer()
[all …]
/hardware/intel/common/libwsbm/src/
Dwsbm_slabpool.c145 uint32_t bufSize; member
316 uint32_t size = header->bufSize * slabPool->desiredNumBuffers; in wsbmAllocKernelBO()
327 if (size < header->bufSize) in wsbmAllocKernelBO()
328 size = header->bufSize; in wsbmAllocKernelBO()
465 numBuffers = slab->kbo->actualSize / header->bufSize; in wsbmAllocSlab()
485 sBuf->start = i * header->bufSize; in wsbmAllocSlab()
708 if (header->bufSize >= size) in pool_create()
965 return sBuf->parent->header->bufSize; in pool_size()
1092 header->bufSize = size; in wsbmInitSizeHeader()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosJpegEncoderForCamera.cpp289 unsigned int bufSize = 0; in encode() local
292 bufSize = EXIF_FILE_SIZE; in encode()
296 bufSize = EXIF_FILE_SIZE; in encode()
300 bufSize = EXIF_FILE_SIZE + thumbLen; in encode()
304 bufSize = EXIF_FILE_SIZE; in encode()
308 exifOut = new unsigned char[bufSize]; in encode()
314 memset(exifOut, 0, bufSize); in encode()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosJpegEncoderForCamera.cpp312 unsigned int bufSize = 0; in encode() local
315 bufSize = EXIF_FILE_SIZE; in encode()
319 bufSize = EXIF_FILE_SIZE; in encode()
323 bufSize = EXIF_FILE_SIZE + thumbLen; in encode()
327 bufSize = EXIF_FILE_SIZE; in encode()
331 exifOut = new unsigned char[bufSize]; in encode()
337 memset(exifOut, 0, bufSize); in encode()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp468 long bufCntMin, long bufSize);
473 OMX_U32 bufSize,
479 OMX_U32 bufSize,
485 OMX_U32 bufSize,
2507 long bufCntMin, long bufSize) in Allocate_Buffer() argument
2523 nPortIndex, NULL, bufSize); in Allocate_Buffer()
2532 OMX_U32 bufSize, in use_input_buffer() argument
2549 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize); in use_input_buffer()
2550 pvirt = (OMX_U8*) malloc (bufSize); in use_input_buffer()
2556 nPortIndex, NULL, bufSize, pvirt); in use_input_buffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
DOMX_AmrDec_Utils.c1721 OMX_U8 bufSize=0; in NBAMRDECHandleDataBuf_FromApp() local
1733 bufSize = INPUT_BUFF_SIZE_EFR; in NBAMRDECHandleDataBuf_FromApp()
1736 bufSize = STD_NBAMRDEC_BUF_SIZE; in NBAMRDECHandleDataBuf_FromApp()
1741 holdBufferSize = bufSize * (pComponentPrivate->pInputBufferList->numBuffers + 1); in NBAMRDECHandleDataBuf_FromApp()
1922 …OMX_MALLOC_SIZE(pComponentPrivate->pHoldBuffer, (bufSize * (pComponentPrivate->pInputBufferList->n… in NBAMRDECHandleDataBuf_FromApp()
1925 pExtraData = pBufHeader->pBuffer + bufSize*nFrames; in NBAMRDECHandleDataBuf_FromApp()
1927 (bufSize * (pComponentPrivate->pInputBufferList->numBuffers + 3))) in NBAMRDECHandleDataBuf_FromApp()
1942 …OMX_MALLOC_SIZE(pComponentPrivate->pHoldBuffer, (bufSize * (pComponentPrivate->pInputBufferList->n… in NBAMRDECHandleDataBuf_FromApp()
1946 …memset (pComponentPrivate->pHoldBuffer,0,bufSize * (pComponentPrivate->pInputBufferList->numBuffer… in NBAMRDECHandleDataBuf_FromApp()
2271 bufSize*nFrames, in NBAMRDECHandleDataBuf_FromApp()
[all …]