Home
last modified time | relevance | path

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

/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp456 QCamera3StreamMem *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig() local
457 if (pStreamMem == NULL) { in getJpegEncodeConfig()
462 encode_parm.num_src_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
464 if (pStreamMem != NULL) { in getJpegEncodeConfig()
466 bufSize = pStreamMem->getSize(i); in getJpegEncodeConfig()
473 encode_parm.src_main_buf[i].buf_vaddr = (uint8_t *)pStreamMem->getPtr(i); in getJpegEncodeConfig()
474 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodeConfig()
483 pStreamMem = main_stream->getStreamBufs(); in getJpegEncodeConfig()
484 if (pStreamMem == NULL) { in getJpegEncodeConfig()
492 encode_parm.num_tmb_bufs = MIN(pStreamMem->getCnt(), MM_JPEG_MAX_BUF); in getJpegEncodeConfig()
[all …]
/device/google/marlin/camera/QCamera2/HAL/
DQCameraPostProc.cpp552 QCameraMemory *pStreamMem = main_stream->getStreamBufs(); in getJpegEncodingConfig() local
553 if (pStreamMem == NULL) { in getJpegEncodingConfig()
558 encode_parm.num_src_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
560 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
565 encode_parm.src_main_buf[i].fd = pStreamMem->getFd(i); in getJpegEncodingConfig()
592 pStreamMem = thumb_stream->getStreamBufs(); in getJpegEncodingConfig()
593 if (pStreamMem == NULL) { in getJpegEncodingConfig()
601 encode_parm.num_tmb_bufs = pStreamMem->getCnt(); in getJpegEncodingConfig()
602 for (uint32_t i = 0; i < pStreamMem->getCnt(); i++) { in getJpegEncodingConfig()
603 camera_memory_t *stream_mem = pStreamMem->getMemory(i, false); in getJpegEncodingConfig()
[all …]