Home
last modified time | relevance | path

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

/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/gps/msm8998/utils/
Dloc_nmea.cpp221 int bufSize, in loc_nmea_generate_GSA() argument
225 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
232 int lengthRemaining = bufSize; in loc_nmea_generate_GSA()
318 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
346 int bufSize, in loc_nmea_generate_GSV() argument
350 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
357 int lengthRemaining = bufSize; in loc_nmea_generate_GSV()
371 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
383 lengthRemaining = bufSize; in loc_nmea_generate_GSV()
442 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
/hardware/qcom/sdm845/gps/msm8998/utils/
Dloc_nmea.cpp222 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/sdm845/gps/sdm845/utils/
Dloc_nmea.cpp228 int bufSize, in loc_nmea_generate_GSA() argument
232 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
239 int lengthRemaining = bufSize; in loc_nmea_generate_GSA()
326 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
354 int bufSize, in loc_nmea_generate_GSV() argument
358 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
365 int lengthRemaining = bufSize; in loc_nmea_generate_GSV()
379 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
391 lengthRemaining = bufSize; in loc_nmea_generate_GSV()
445 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_nmea.cpp222 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/
DQCameraStream.cpp587 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 …]
DQCamera2HWI.cpp3249 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/
DoverlayMdssRot.cpp330 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/sm8150/gps/utils/
Dloc_nmea.cpp520 int bufSize, in loc_nmea_generate_GSA() argument
524 if (!sentence || bufSize <= 0 || !sv_meta_p) in loc_nmea_generate_GSA()
531 int lengthRemaining = bufSize; in loc_nmea_generate_GSA()
618 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSA()
646 int bufSize, in loc_nmea_generate_GSV() argument
650 if (!sentence || bufSize <= 0) in loc_nmea_generate_GSV()
657 int lengthRemaining = bufSize; in loc_nmea_generate_GSV()
670 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
682 lengthRemaining = bufSize; in loc_nmea_generate_GSV()
770 length = loc_nmea_put_checksum(sentence, bufSize); in loc_nmea_generate_GSV()
[all …]
/hardware/qcom/media/msm8974/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/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Stream.cpp384 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()
792 ssize_t bufSize = mStreamBufs->getSize(index); in bufDoneLocked() local
794 if (BAD_INDEX != bufSize) { in bufDoneLocked()
799 (size_t)bufSize, buffer, in bufDoneLocked()
963 ssize_t bufSize = mStreamBufs->getSize(i); in getBufs() local
964 if (BAD_INDEX != bufSize) { in getBufs()
968 (size_t)bufSize, buffer, in getBufs()
DQCamera3PostProc.cpp345 ssize_t bufSize = mOutputMem->getSize(jpeg_settings->out_buf_index); in getFWKJpegEncodeConfig() local
346 if (BAD_INDEX == bufSize) { in getFWKJpegEncodeConfig()
398 encode_parm.dest_buf[0].buf_size = (size_t)bufSize; in getFWKJpegEncodeConfig()
434 ssize_t bufSize = 0; in getJpegEncodeConfig() local
477 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
478 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
483 encode_parm.src_main_buf[i].buf_size = (size_t)bufSize; in getJpegEncodeConfig()
507 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
508 if (BAD_INDEX == bufSize) { in getJpegEncodeConfig()
513 encode_parm.src_thumb_buf[i].buf_size = (uint32_t)bufSize; in getJpegEncodeConfig()
[all …]
/hardware/qcom/media/msm8974/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 …]