Home
last modified time | relevance | path

Searched refs:main_frame (Results 1 – 15 of 15) sorted by relevance

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c196 mm_camera_buf_def_t *main_frame = NULL; in jpeg_encode_cb() local
237 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
248 main_frame = recvd_frame->bufs[i]; in encodeData()
249 …"mainframe frame_idx = %d fd = %d frame length = %d",main_frame->frame_idx,main_frame->fd,main_fra… in encodeData()
250 … dumpFrameToFile(main_frame,pme->dim.picture_width,pme->dim.picture_height,"main", 1,"yuv"); in encodeData()
258 if (main_frame == NULL) { in encodeData()
301 main_buf_info->src_image[0].fd = main_frame->fd; in encodeData()
302 main_buf_info->src_image[0].buf_vaddr = main_frame->buffer; in encodeData()
314 mm_stream_clear_invalid_cache(pme,main_frame); in encodeData()
363 mm_camera_buf_def_t *main_frame = NULL; in snapshot_yuv_cb() local
[all …]
Dmm_qcamera_preview.c753 mm_camera_buf_def_t *main_frame = NULL; in mm_app_zsl_notify_cb() local
762 main_frame = bufs->bufs[1]; in mm_app_zsl_notify_cb()
772 if (bufs->num_bufs == 2 && main_frame != NULL) { in mm_app_zsl_notify_cb()
773 …"mainframe frame_idx = %d fd = %d frame length = %d",main_frame->frame_idx,main_frame->fd,main_fra… in mm_app_zsl_notify_cb()
779 … dumpFrameToFile(main_frame,pme->dim.picture_width,pme->dim.picture_height,"zsl_main", 1,"yuv"); in mm_app_zsl_notify_cb()
782 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,main_frame)) { in mm_app_zsl_notify_cb()
785 mm_stream_invalid_cache(pme,main_frame); in mm_app_zsl_notify_cb()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp435 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
450 main_frame = recvd_frame->bufs[i]; in encodeData()
454 if(main_frame == NULL){ in encodeData()
458 main_mem_info = &mSnapshotMemory.mem_info[main_frame->buf_idx]; in encodeData()
469 app_cb->argm_data_cb.data = mSnapshotMemory.camera_memory[main_frame->buf_idx]; in encodeData()
501 dumpFrameToFile(main_frame, HAL_DUMP_FRM_MAIN); in encodeData()
532 thumb_frame = main_frame; in encodeData()
557 main_frame->p_mobicat_info = (cam_exif_tags_t*)malloc(sizeof(cam_exif_tags_t)); in encodeData()
558 if ((main_frame->p_mobicat_info != NULL) && in encodeData()
560 main_frame->p_mobicat_info) in encodeData()
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraPostProc.cpp1405 mm_camera_buf_def_t *main_frame = NULL; in syncStreamParams() local
1412 &main_frame, in syncStreamParams()
1480 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
1509 &main_frame, in encodeData()
1517 if(NULL == main_frame){ in encodeData()
1526 QCameraMemory *memObj = (QCameraMemory *)main_frame->mem_info; in encodeData()
1533 m_parent->dumpFrameToFile(main_stream, main_frame, QCAMERA_DUMP_FRM_SNAPSHOT); in encodeData()
1536 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData()
1585 jpg_job.encode_job.src_index = main_frame->buf_idx; in encodeData()
1628 main_frame->buf_idx, false); in encodeData()
[all …]
DQCameraPostProc.h142 mm_camera_super_buf_t *main_frame,
DQCamera2HWICallbacks.cpp428 mm_camera_buf_def_t *main_frame = NULL; in capture_channel_cb_routine() local
435 main_frame = recvd_frame->bufs[i]; in capture_channel_cb_routine()
440 if (main_stream != NULL && main_frame != NULL) { in capture_channel_cb_routine()
449 int32_t rc = pme->registerFaceImage(main_frame->buffer, &config, faceId); in capture_channel_cb_routine()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1139 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
1187 main_frame = recvd_frame->bufs[i]; in encodeData()
1195 if(NULL == main_frame){ in encodeData()
1200 QCamera3Memory *memObj = (QCamera3Memory *)main_frame->mem_info; in encodeData()
1207 memObj->cleanInvalidateCache(main_frame->buf_idx); in encodeData()
1281 jpg_job.encode_job.src_index = main_frame->buf_idx; in encodeData()
1333 jpg_job.encode_job.thumb_index = main_frame->buf_idx; in encodeData()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraPostProc.cpp1711 mm_camera_buf_def_t *main_frame = NULL; in syncStreamParams() local
1718 &main_frame, in syncStreamParams()
1786 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
1818 &main_frame, in encodeData()
1826 if(NULL == main_frame){ in encodeData()
1835 QCameraMemory *memObj = (QCameraMemory *)main_frame->mem_info; in encodeData()
1842 m_parent->dumpFrameToFile(main_stream, main_frame, QCAMERA_DUMP_FRM_SNAPSHOT); in encodeData()
1845 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData()
1893 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
2024 thumb_frame = main_frame; in encodeData()
[all …]
DQCameraPostProc.h156 mm_camera_super_buf_t *main_frame,
DQCamera2HWICallbacks.cpp447 mm_camera_buf_def_t *main_frame = NULL; in capture_channel_cb_routine() local
454 main_frame = recvd_frame->bufs[i]; in capture_channel_cb_routine()
459 if (main_stream != NULL && main_frame != NULL) { in capture_channel_cb_routine()
468 int32_t rc = pme->registerFaceImage(main_frame->buffer, &config, faceId); in capture_channel_cb_routine()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraPostProc.cpp1711 mm_camera_buf_def_t *main_frame = NULL; in syncStreamParams() local
1718 &main_frame, in syncStreamParams()
1786 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
1818 &main_frame, in encodeData()
1826 if(NULL == main_frame){ in encodeData()
1835 QCameraMemory *memObj = (QCameraMemory *)main_frame->mem_info; in encodeData()
1842 m_parent->dumpFrameToFile(main_stream, main_frame, QCAMERA_DUMP_FRM_SNAPSHOT); in encodeData()
1845 camera_memory_t *mem = memObj->getMemory(main_frame->buf_idx, false); in encodeData()
1893 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
2024 thumb_frame = main_frame; in encodeData()
[all …]
DQCameraPostProc.h156 mm_camera_super_buf_t *main_frame,
DQCamera2HWICallbacks.cpp447 mm_camera_buf_def_t *main_frame = NULL; in capture_channel_cb_routine() local
454 main_frame = recvd_frame->bufs[i]; in capture_channel_cb_routine()
459 if (main_stream != NULL && main_frame != NULL) { in capture_channel_cb_routine()
468 int32_t rc = pme->registerFaceImage(main_frame->buffer, &config, faceId); in capture_channel_cb_routine()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1292 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
1344 main_frame = recvd_frame->bufs[i]; in encodeData()
1352 if(NULL == main_frame){ in encodeData()
1357 QCamera3StreamMem *memObj = (QCamera3StreamMem *)main_frame->mem_info; in encodeData()
1364 memObj->cleanInvalidateCache(main_frame->buf_idx); in encodeData()
1440 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
1522 jpg_job.encode_job.thumb_index = main_frame->buf_idx; in encodeData()
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1292 mm_camera_buf_def_t *main_frame = NULL; in encodeData() local
1344 main_frame = recvd_frame->bufs[i]; in encodeData()
1352 if(NULL == main_frame){ in encodeData()
1357 QCamera3StreamMem *memObj = (QCamera3StreamMem *)main_frame->mem_info; in encodeData()
1364 memObj->cleanInvalidateCache(main_frame->buf_idx); in encodeData()
1440 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
1522 jpg_job.encode_job.thumb_index = main_frame->buf_idx; in encodeData()