Home
last modified time | relevance | path

Searched refs:encode_job (Results 1 – 25 of 27) sorted by relevance

12

/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1170 jpg_job.encode_job.session_id = mJpegSessionId; in encodeFWKData()
1171 jpg_job.encode_job.src_index = 0; in encodeFWKData()
1172 jpg_job.encode_job.dst_index = 0; in encodeFWKData()
1184 jpg_job.encode_job.main_dim.src_dim.width = src_dim.height; in encodeFWKData()
1185 jpg_job.encode_job.main_dim.src_dim.height = src_dim.width; in encodeFWKData()
1187 jpg_job.encode_job.main_dim.dst_dim.width = dst_dim.height; in encodeFWKData()
1188 jpg_job.encode_job.main_dim.dst_dim.height = dst_dim.width; in encodeFWKData()
1190 jpg_job.encode_job.main_dim.crop.width = crop.height; in encodeFWKData()
1191 jpg_job.encode_job.main_dim.crop.height = crop.width; in encodeFWKData()
1192 jpg_job.encode_job.main_dim.crop.left = crop.top; in encodeFWKData()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1170 jpg_job.encode_job.session_id = mJpegSessionId; in encodeFWKData()
1171 jpg_job.encode_job.src_index = 0; in encodeFWKData()
1172 jpg_job.encode_job.dst_index = 0; in encodeFWKData()
1184 jpg_job.encode_job.main_dim.src_dim.width = src_dim.height; in encodeFWKData()
1185 jpg_job.encode_job.main_dim.src_dim.height = src_dim.width; in encodeFWKData()
1187 jpg_job.encode_job.main_dim.dst_dim.width = dst_dim.height; in encodeFWKData()
1188 jpg_job.encode_job.main_dim.dst_dim.height = dst_dim.width; in encodeFWKData()
1190 jpg_job.encode_job.main_dim.crop.width = crop.height; in encodeFWKData()
1191 jpg_job.encode_job.main_dim.crop.height = crop.width; in encodeFWKData()
1192 jpg_job.encode_job.main_dim.crop.left = crop.top; in encodeFWKData()
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1046 jpg_job.encode_job.session_id = mJpegSessionId; in encodeFWKData()
1047 jpg_job.encode_job.src_index = 0; in encodeFWKData()
1048 jpg_job.encode_job.dst_index = 0; in encodeFWKData()
1056 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeFWKData()
1057 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeFWKData()
1058 jpg_job.encode_job.main_dim.crop = crop; in encodeFWKData()
1064 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeFWKData()
1065 jpg_job.encode_job.exif_info.numOfEntries = in encodeFWKData()
1073 jpg_job.encode_job.thumb_dim.dst_dim = in encodeFWKData()
1077 jpg_job.encode_job.rotation = in encodeFWKData()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraPostProc.cpp1892 jpg_job.encode_job.session_id = mJpegSessionId; in encodeData()
1893 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
1894 jpg_job.encode_job.dst_index = 0; in encodeData()
1897 jpg_job.encode_job.dst_index = jpg_job.encode_job.src_index; in encodeData()
1899 jpg_job.encode_job.dst_index = -1; in encodeData()
1985 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeData()
1986 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeData()
1987 jpg_job.encode_job.main_dim.crop = crop; in encodeData()
1997 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeData()
1998 jpg_job.encode_job.exif_info.numOfEntries = in encodeData()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraPostProc.cpp1892 jpg_job.encode_job.session_id = mJpegSessionId; in encodeData()
1893 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
1894 jpg_job.encode_job.dst_index = 0; in encodeData()
1897 jpg_job.encode_job.dst_index = jpg_job.encode_job.src_index; in encodeData()
1899 jpg_job.encode_job.dst_index = -1; in encodeData()
1985 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeData()
1986 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeData()
1987 jpg_job.encode_job.main_dim.crop = crop; in encodeData()
1997 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeData()
1998 jpg_job.encode_job.exif_info.numOfEntries = in encodeData()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c53 buf_info = &job->encode_job.encode_parm.buf_info; in mm_jpeg_dump_job()
56 job->encode_job.encode_parm.rotation, job->encode_job.encode_parm.exif_numEntries, in mm_jpeg_dump_job()
57 job->encode_job.encode_parm.buf_info.src_imgs.is_video_frame); in mm_jpeg_dump_job()
Dmm_jpeg.c583 mm_jpeg_encode_job* job = &job_entry->job.encode_job; in mm_jpeg_omx_encode()
693 if (NULL != job_entry->job.encode_job.jpeg_cb) { in mm_jpeg_notify_thread()
704 job_entry->job.encode_job.jpeg_cb(job_entry->job_status, in mm_jpeg_notify_thread()
708 … job_entry->job.encode_job.encode_parm.buf_info.sink_img.buf_vaddr, in mm_jpeg_notify_thread()
710 job_entry->job.encode_job.userdata); in mm_jpeg_notify_thread()
741 if (NULL != job_entry->job.encode_job.jpeg_cb) { in mm_jpeg_process_encoding_job()
1193 if (NULL != job_entry->job.encode_job.jpeg_cb) { in mm_jpeg_ftbdone()
1279 if (NULL != job_entry->job.encode_job.jpeg_cb) { in mm_jpeg_handle_omx_event()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c98 job.encode_job.session_id = test_obj->current_jpeg_sess_id; in encodeData()
102 job.encode_job.rotation = 0; in encodeData()
104 job.encode_job.rotation = 270; in encodeData()
108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
110 job.encode_job.src_index = 0; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
113 job.encode_job.thumb_dim.dst_dim.width = DEFAULT_PREVIEW_WIDTH; in encodeData()
114 job.encode_job.thumb_dim.dst_dim.height = DEFAULT_PREVIEW_HEIGHT; in encodeData()
117 job.encode_job.dst_index = 0; in encodeData()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c98 job.encode_job.session_id = test_obj->current_jpeg_sess_id; in encodeData()
102 job.encode_job.rotation = 0; in encodeData()
104 job.encode_job.rotation = 270; in encodeData()
108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
110 job.encode_job.src_index = 0; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
113 job.encode_job.thumb_dim.dst_dim.width = DEFAULT_PREVIEW_WIDTH; in encodeData()
114 job.encode_job.thumb_dim.dst_dim.height = DEFAULT_PREVIEW_HEIGHT; in encodeData()
117 job.encode_job.dst_index = 0; in encodeData()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c98 job.encode_job.session_id = test_obj->current_jpeg_sess_id; in encodeData()
102 job.encode_job.rotation = 0; in encodeData()
104 job.encode_job.rotation = 270; in encodeData()
108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
109 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
110 job.encode_job.src_index = 0; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
113 job.encode_job.thumb_dim.dst_dim.width = DEFAULT_PREVIEW_WIDTH; in encodeData()
114 job.encode_job.thumb_dim.dst_dim.height = DEFAULT_PREVIEW_HEIGHT; in encodeData()
117 job.encode_job.dst_index = 0; in encodeData()
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraPostProc.cpp1584 jpg_job.encode_job.session_id = mJpegSessionId; in encodeData()
1585 jpg_job.encode_job.src_index = main_frame->buf_idx; in encodeData()
1586 jpg_job.encode_job.dst_index = 0; in encodeData()
1589 jpg_job.encode_job.dst_index = jpg_job.encode_job.src_index; in encodeData()
1591 jpg_job.encode_job.dst_index = -1; in encodeData()
1656 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeData()
1657 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeData()
1658 jpg_job.encode_job.main_dim.crop = crop; in encodeData()
1664 jpg_job.encode_job.exif_info.exif_data = pJpegExifObj->getEntries(); in encodeData()
1665 jpg_job.encode_job.exif_info.numOfEntries = in encodeData()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c250 mm_jpeg_encode_job_t *p_job_params = &p_obj->job.encode_job; in encode_init()
419 &jpeg_obj.job.encode_job.session_id); in encode_test()
420 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
427 jpeg_obj.job.encode_job.src_index = i; in encode_test()
428 jpeg_obj.job.encode_job.dst_index = i; in encode_test()
429 jpeg_obj.job.encode_job.thumb_index = i; in encode_test()
432 jpeg_obj.job.encode_job.dst_index = -1; in encode_test()
453 jpeg_obj.ops.destroy_session(jpeg_obj.job.encode_job.session_id); in encode_test()
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c250 mm_jpeg_encode_job_t *p_job_params = &p_obj->job.encode_job; in encode_init()
421 &jpeg_obj.job.encode_job.session_id); in encode_test()
422 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
429 jpeg_obj.job.encode_job.src_index = (int32_t) i; in encode_test()
430 jpeg_obj.job.encode_job.dst_index = (int32_t) i; in encode_test()
431 jpeg_obj.job.encode_job.thumb_index = (uint32_t) i; in encode_test()
434 jpeg_obj.job.encode_job.dst_index = -1; in encode_test()
455 jpeg_obj.ops.destroy_session(jpeg_obj.job.encode_job.session_id); in encode_test()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c250 mm_jpeg_encode_job_t *p_job_params = &p_obj->job.encode_job; in encode_init()
421 &jpeg_obj.job.encode_job.session_id); in encode_test()
422 if (jpeg_obj.job.encode_job.session_id == 0) { in encode_test()
429 jpeg_obj.job.encode_job.src_index = (int32_t) i; in encode_test()
430 jpeg_obj.job.encode_job.dst_index = (int32_t) i; in encode_test()
431 jpeg_obj.job.encode_job.thumb_index = (uint32_t) i; in encode_test()
434 jpeg_obj.job.encode_job.dst_index = -1; in encode_test()
455 jpeg_obj.ops.destroy_session(jpeg_obj.job.encode_job.session_id); in encode_test()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c93 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_send_buffers()
154 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_free_buffers()
466 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_encoding_mode()
511 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_speed_mode()
557 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_mem_ops()
595 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_metadata()
635 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_meta_enc_key()
855 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_thumbnail()
968 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_main_crop()
1116 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_common()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c274 job.encode_job.jpeg_cb = jpeg_encode_cb; in encodeData()
275 job.encode_job.userdata = (void*)pme; in encodeData()
276 job.encode_job.encode_parm.exif_data = NULL; in encodeData()
277 job.encode_job.encode_parm.exif_numEntries = 0; in encodeData()
278 job.encode_job.encode_parm.rotation = 0; in encodeData()
279 job.encode_job.encode_parm.buf_info.src_imgs.src_img_num = recvd_frame->num_bufs; in encodeData()
280 job.encode_job.encode_parm.rotation = 0; in encodeData()
283 job.encode_job.encode_parm.rotation = 90; in encodeData()
287 main_buf_info = &job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_MAIN]; in encodeData()
318 … thumb_buf_info = &job.encode_job.encode_parm.buf_info.src_imgs.src_img[JPEG_SRC_IMAGE_TYPE_THUMB]; in encodeData()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c616 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_metadata()
918 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_thumbnail()
1075 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_main_crop()
1221 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_common()
1367 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_configure_job_params()
1517 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_encode()
1652 if (job_node->enc_info.encode_job.dst_index < 0) { in mm_jpeg_process_encoding_job()
1665 job_node->enc_info.encode_job.dst_index = (int32_t)buf_idx; in mm_jpeg_process_encoding_job()
1678 p_session->encode_job = job_node->enc_info.encode_job; in mm_jpeg_process_encoding_job()
2071 mm_jpeg_encode_job_t *p_jobparams = &job->encode_job; in mm_jpeg_start_job()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c616 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_metadata()
918 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_thumbnail()
1075 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_main_crop()
1221 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_common()
1367 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_configure_job_params()
1517 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_encode()
1652 if (job_node->enc_info.encode_job.dst_index < 0) { in mm_jpeg_process_encoding_job()
1665 job_node->enc_info.encode_job.dst_index = (int32_t)buf_idx; in mm_jpeg_process_encoding_job()
1678 p_session->encode_job = job_node->enc_info.encode_job; in mm_jpeg_process_encoding_job()
2071 mm_jpeg_encode_job_t *p_jobparams = &job->encode_job; in mm_jpeg_start_job()
[all …]
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp2840 mmJpegJob.encode_job.jpeg_cb = jpegEncodeCb; in encodeJpeg()
2841 mmJpegJob.encode_job.userdata = (void *)camHal; in encodeJpeg()
2843 mmJpegJob.encode_job.encode_parm.rotation = 0; in encodeJpeg()
2844 mmJpegJob.encode_job.encode_parm.exif_numEntries = 0; in encodeJpeg()
2845 mmJpegJob.encode_job.encode_parm.exif_data = NULL; in encodeJpeg()
2848 mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.src_img_num = 1; in encodeJpeg()
2849 mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.is_video_frame = 0; in encodeJpeg()
2852 srcBuf = &mmJpegJob.encode_job.encode_parm.buf_info.src_imgs.src_img[0]; in encodeJpeg()
2874 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.buf_vaddr = in encodeJpeg()
2876 mmJpegJob.encode_job.encode_parm.buf_info.sink_img.fd = 0; in encodeJpeg()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp547 jpg_job.encode_job.userdata = cookie; in encodeData()
548 jpg_job.encode_job.jpeg_cb = QCameraHardwareInterface::snapshot_jpeg_cb; in encodeData()
549 jpg_job.encode_job.encode_parm.exif_data = getExifData(); in encodeData()
550 jpg_job.encode_job.encode_parm.exif_numEntries = getExifTableNumEntries(); in encodeData()
551 jpg_job.encode_job.encode_parm.rotation = getJpegRotation(); in encodeData()
552 ALOGV("%s: jpeg rotation is set to %d", __func__, jpg_job.encode_job.encode_parm.rotation); in encodeData()
553 jpg_job.encode_job.encode_parm.buf_info.src_imgs.src_img_num = src_img_num; in encodeData()
554 jpg_job.encode_job.encode_parm.buf_info.src_imgs.is_video_frame = FALSE; in encodeData()
570 jpg_job.encode_job.encode_parm.hasmobicat = 1; in encodeData()
571 jpg_job.encode_job.encode_parm.mobicat_data = (uint8_t *)main_frame->p_mobicat_info->tags; in encodeData()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg_interface.h193 mm_jpeg_encode_job encode_job; member
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h274 mm_jpeg_encode_job_t encode_job; /* job description */ member
343 mm_jpeg_encode_job_t encode_job; member
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h274 mm_jpeg_encode_job_t encode_job; /* job description */ member
343 mm_jpeg_encode_job_t encode_job; member
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h268 mm_jpeg_encode_job_t encode_job; /* job description */ member
334 mm_jpeg_encode_job_t encode_job; member
/device/moto/shamu/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h250 mm_jpeg_encode_job_t encode_job; member

12