Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/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()
105 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
106 job.encode_job.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in encodeData()
107 job.encode_job.src_index = 0; in encodeData()
109 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
110 job.encode_job.thumb_dim.dst_dim.width = DEFAULT_PREVIEW_WIDTH; in encodeData()
111 job.encode_job.thumb_dim.dst_dim.height = DEFAULT_PREVIEW_HEIGHT; in encodeData()
114 job.encode_job.dst_index = 0; in encodeData()
116 job.encode_job.hal_version = CAM_HAL_V1; in encodeData()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3PostProc.cpp1378 jpg_job.encode_job.session_id = mJpegSessionId; in encodeFWKData()
1379 jpg_job.encode_job.src_index = 0; in encodeFWKData()
1380 jpg_job.encode_job.dst_index = 0; in encodeFWKData()
1386 jpg_job.encode_job.main_dim.src_dim.width = src_dim.height; in encodeFWKData()
1387 jpg_job.encode_job.main_dim.src_dim.height = src_dim.width; in encodeFWKData()
1389 jpg_job.encode_job.main_dim.dst_dim.width = dst_dim.height; in encodeFWKData()
1390 jpg_job.encode_job.main_dim.dst_dim.height = dst_dim.width; in encodeFWKData()
1392 jpg_job.encode_job.main_dim.crop.width = crop.height; in encodeFWKData()
1393 jpg_job.encode_job.main_dim.crop.height = crop.width; in encodeFWKData()
1394 jpg_job.encode_job.main_dim.crop.left = crop.top; in encodeFWKData()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraPostProc.cpp2491 jpg_job.encode_job.session_id = mJpegSessionId; in encodeData()
2493 jpg_job.encode_job.session_id = mJpegSessionIdHalPP; in encodeData()
2495 jpg_job.encode_job.src_index = (int32_t)main_frame->buf_idx; in encodeData()
2496 jpg_job.encode_job.dst_index = 0; in encodeData()
2499 jpg_job.encode_job.dst_index = jpg_job.encode_job.src_index; in encodeData()
2501 jpg_job.encode_job.dst_index = -1; in encodeData()
2504 LOGD("jpeg session id:%d, reproc frame:%p", jpg_job.encode_job.session_id, in encodeData()
2507 if (jpg_job.encode_job.session_id == 0) { in encodeData()
2540 jpg_job.encode_job.work_buf.buf_size = camWorkMem->size; in encodeData()
2541 jpg_job.encode_job.work_buf.buf_vaddr = (uint8_t *)camWorkMem->data; in encodeData()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c682 p_encode_job = &p_session->encode_job; in mm_jpeg_get_mem()
719 p_encode_job = &p_session->encode_job; in mm_jpeg_put_mem()
809 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_metadata()
1213 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_thumbnail()
1382 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_main_crop()
1527 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_config_common()
1674 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_config_multi_image_info()
1721 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_configure_job_params()
1874 mm_jpeg_encode_job_t *p_jobparams = &p_session->encode_job; in mm_jpeg_session_encode()
2049 if (job_node->enc_info.encode_job.dst_index < 0) { in mm_jpeg_process_encoding_job()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c306 mm_jpeg_encode_job_t *p_job_params = &p_obj->job.encode_job; in encode_init()
490 &jpeg_obj->job.encode_job.session_id); in encode_test()
491 if (jpeg_obj->job.encode_job.session_id == 0) { in encode_test()
499 jpeg_obj->job.encode_job.src_index = (int32_t) i; in encode_test()
500 jpeg_obj->job.encode_job.dst_index = (int32_t) i; in encode_test()
501 jpeg_obj->job.encode_job.thumb_index = (uint32_t) i; in encode_test()
504 jpeg_obj->job.encode_job.dst_index = -1; in encode_test()
524 jpeg_obj->ops.destroy_session(jpeg_obj->job.encode_job.session_id); in encode_test()
/hardware/qcom/camera/msm8998/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 …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h280 mm_jpeg_encode_job_t encode_job; /* job description */ member
365 mm_jpeg_encode_job_t encode_job; member
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dmm_jpeg_interface.h345 mm_jpeg_encode_job_t encode_job; member