Home
last modified time | relevance | path

Searched refs:pStreamMem (Results 1 – 6 of 6) sorted by relevance

/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp381 QCamera3Memory *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig() local
382 if (pStreamMem == NULL) { in getJpegEncodeConfig()
387 encode_parm.num_src_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
389 if (pStreamMem != NULL) { in getJpegEncodeConfig()
391 encode_parm.src_main_buf[i].buf_size = pStreamMem->getSize(i); in getJpegEncodeConfig()
392 encode_parm.src_main_buf[i].buf_vaddr = (uint8_t *)pStreamMem->getPtr(i); in getJpegEncodeConfig()
393 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodeConfig()
402 pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig()
403 if (pStreamMem == NULL) { in getJpegEncodeConfig()
411 encode_parm.num_tmb_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp423 QCamera3StreamMem *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig() local
424 if (pStreamMem == NULL) { in getJpegEncodeConfig()
429 encode_parm.num_src_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
431 if (pStreamMem != NULL) { in getJpegEncodeConfig()
433 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
440 encode_parm.src_main_buf[i].buf_vaddr = (uint8_t *)pStreamMem->getPtr(i); in getJpegEncodeConfig()
441 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodeConfig()
450 pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig()
451 if (pStreamMem == NULL) { in getJpegEncodeConfig()
459 encode_parm.num_tmb_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp423 QCamera3StreamMem *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig() local
424 if (pStreamMem == NULL) { in getJpegEncodeConfig()
429 encode_parm.num_src_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
431 if (pStreamMem != NULL) { in getJpegEncodeConfig()
433 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
440 encode_parm.src_main_buf[i].buf_vaddr = (uint8_t *)pStreamMem->getPtr(i); in getJpegEncodeConfig()
441 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodeConfig()
450 pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig()
451 if (pStreamMem == NULL) { in getJpegEncodeConfig()
459 encode_parm.num_tmb_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraPostProc.cpp404 QCameraMemory *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodingConfig() local
405 if (pStreamMem == NULL) { in getJpegEncodingConfig()
410 encode_parm.num_src_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
412 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
417 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodingConfig()
432 pStreamMem = thumb_stream->getStreamBufs(); in getJpegEncodingConfig()
433 if (pStreamMem == NULL) { in getJpegEncodingConfig()
441 encode_parm.num_tmb_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
442 for (int i = 0; i < pStreamMem->getCnt(); i++) { in getJpegEncodingConfig()
443 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraPostProc.cpp491 QCameraMemory *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodingConfig() local
492 if (pStreamMem == NULL) { in getJpegEncodingConfig()
497 encode_parm.num_src_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
499 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
504 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodingConfig()
519 pStreamMem = thumb_stream->getStreamBufs(); in getJpegEncodingConfig()
520 if (pStreamMem == NULL) { in getJpegEncodingConfig()
528 encode_parm.num_tmb_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
529 for (uint32_t i = 0; i < pStreamMem->getCnt(); i++) { in getJpegEncodingConfig()
530 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraPostProc.cpp491 QCameraMemory *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodingConfig() local
492 if (pStreamMem == NULL) { in getJpegEncodingConfig()
497 encode_parm.num_src_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
499 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
504 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodingConfig()
519 pStreamMem = thumb_stream->getStreamBufs(); in getJpegEncodingConfig()
520 if (pStreamMem == NULL) { in getJpegEncodingConfig()
528 encode_parm.num_tmb_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
529 for (uint32_t i = 0; i < pStreamMem->getCnt(); i++) { in getJpegEncodingConfig()
530 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
[all …]