/hardware/intel/common/libmix/videoencoder/ |
D | VideoEncoderMP4.cpp | 32 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()
|
D | VideoEncoderAVC.h | 43 …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…
|
D | VideoEncoderMP4.h | 51 Encode_Status getHeaderPos(uint8_t *inBuffer, uint32_t bufSize, uint32_t *headerSize);
|
D | VideoEncoderAVC.cpp | 361 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()
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayMdssRot.cpp | 269 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/ |
D | overlayMdssRot.cpp | 293 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/gps/msm8909w_3100/utils/ |
D | loc_nmea.cpp | 222 int bufSize, in loc_nmea_generate_GSA() argument 226 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA() 233 int lengthRemaining = bufSize; in loc_nmea_generate_GSA() 319 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA() 347 int bufSize, in loc_nmea_generate_GSV() argument 351 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV() 358 int lengthRemaining = bufSize; in loc_nmea_generate_GSV() 372 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV() 384 lengthRemaining = bufSize; in loc_nmea_generate_GSV() 443 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
|
/hardware/qcom/gps/msm8998/utils/ |
D | loc_nmea.cpp | 222 int bufSize, in loc_nmea_generate_GSA() argument 226 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA() 233 int lengthRemaining = bufSize; in loc_nmea_generate_GSA() 319 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA() 347 int bufSize, in loc_nmea_generate_GSV() argument 351 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV() 358 int lengthRemaining = bufSize; in loc_nmea_generate_GSV() 372 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV() 384 lengthRemaining = bufSize; in loc_nmea_generate_GSV() 443 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraStream.cpp | 587 ssize_t bufSize = BAD_INDEX; in unMapBuf() local 592 bufSize = Buf->getSize(i); in unMapBuf() 593 if (BAD_INDEX != bufSize) { in unMapBuf() 637 ssize_t bufSize = Buf->getSize(i); in mapBufs() local 638 if (BAD_INDEX == bufSize) { in mapBufs() 653 0 /*cookie*/, Buf->getFd(i), bufSize, Buf->getPtr(i)); in mapBufs() 1418 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local 1419 if (BAD_INDEX == bufSize) { in getBufs() 1426 0 /*cookie*/, mStreamBufs->getFd(i), bufSize, in getBufs() 1585 ssize_t bufSize = mStreamBufs->getSize(index); in mapNewBuffer() local [all …]
|
D | QCamera2HWI.cpp | 3249 size_t bufSize = 0; in allocateMiscBuf() local 3258 bufSize = mParameters.getTPMaxMetaSize(); in allocateMiscBuf() 3261 bufSize = mParameters.getRefocusMaxMetaSize(); in allocateMiscBuf() 3268 if (bufNum && bufSize) { in allocateMiscBuf() 3276 rc = miscBuf->allocate(bufNum, bufSize); in allocateMiscBuf() 6299 ssize_t bufSize = imgBuf->getSize(0); in registerFaceImage() local 6300 if (BAD_INDEX != bufSize) { in registerFaceImage() 6302 (size_t)bufSize, faceID); in registerFaceImage()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMdssRot.cpp | 330 uint32_t bufSize = 0; in calcCompressedBufSize() local 358 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize() 368 bufSize = (stride * strideOffset * 4 /*bpp*/) + in calcCompressedBufSize() 375 "Buf Size = %d", __FUNCTION__, aWidth, aHeight, bufSize); in calcCompressedBufSize() 377 return bufSize; in calcCompressedBufSize()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
D | QCamera3Stream.cpp | 384 ssize_t bufSize = BAD_INDEX; in init() local 435 bufSize = mStreamInfoBuf->getSize(0); in init() 436 if (BAD_INDEX != bufSize) { in init() 439 0, -1, mStreamInfoBuf->getFd(0), (size_t)bufSize, in init() 781 ssize_t bufSize = mStreamBufs->getSize(index); in bufDoneLocked() local 783 if (BAD_INDEX != bufSize) { in bufDoneLocked() 788 (size_t)bufSize, buffer, in bufDoneLocked() 952 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local 953 if (BAD_INDEX != bufSize) { in getBufs() 957 (size_t)bufSize, buffer, in getBufs()
|
D | QCamera3PostProc.cpp | 345 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); in getFWKJpegEncodeConfig() local 346 if (BAD_INDEX == bufSize) { in getFWKJpegEncodeConfig() 397 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; in getFWKJpegEncodeConfig() 433 ssize_t bufSize = 0; in getJpegEncodeConfig() local 475 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig() 476 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig() 481 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; in getJpegEncodeConfig() 505 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig() 506 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig() 511 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; in getJpegEncodeConfig() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
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) 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/ |
D | wsbm_slabpool.c | 145 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() 489 sBuf->start = i * header->bufSize; in wsbmAllocSlab() 712 if (header->bufSize >= size) in pool_create() 969 return sBuf->parent->header->bufSize; in pool_size() 1096 header->bufSize = size; in wsbmInitSizeHeader()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
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) 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 …]
|