Home
last modified time | relevance | path

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

/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1130 cam_dimension_t dst_dim; in encodeFWKData() local
1131 memset(&dst_dim, 0, sizeof(cam_dimension_t)); in encodeFWKData()
1132 dst_dim.width = recvd_frame->reproc_config.output_stream_dim.width; in encodeFWKData()
1133 dst_dim.height = recvd_frame->reproc_config.output_stream_dim.height; in encodeFWKData()
1151 encodeParam.main_dim.dst_dim = dst_dim; in encodeFWKData()
1153 encodeParam.thumb_dim.dst_dim = jpeg_settings->thumbnail_size; 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()
1196 jpg_job.encode_job.main_dim.dst_dim = dst_dim; in encodeFWKData()
1228 jpg_job.encode_job.thumb_dim.dst_dim = in encodeFWKData()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCameraPostProc.cpp433 cam_dimension_t src_dim, dst_dim; in getJpegEncodingConfig() local
435 memset(&dst_dim, 0, sizeof(cam_dimension_t)); in getJpegEncodingConfig()
440 dst_dim.height = crop.height; in getJpegEncodingConfig()
442 dst_dim.height = src_dim.height; in getJpegEncodingConfig()
445 dst_dim.width = crop.width; in getJpegEncodingConfig()
447 dst_dim.width = src_dim.width; in getJpegEncodingConfig()
456 encode_parm.main_dim.dst_dim = dst_dim; in getJpegEncodingConfig()
458 m_dst_dim = dst_dim; in getJpegEncodingConfig()
513 m_parent->getThumbnailSize(encode_parm.thumb_dim.dst_dim); in getJpegEncodingConfig()
558 cam_dimension_t tmp_dim = encode_parm.thumb_dim.dst_dim; in getJpegEncodingConfig()
[all …]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c880 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / in mm_jpeg_get_thumbnail_crop()
881 p_thumb_dim->dst_dim.height); in mm_jpeg_get_thumbnail_crop()
885 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / in mm_jpeg_get_thumbnail_crop()
886 p_thumb_dim->dst_dim.width); in mm_jpeg_get_thumbnail_crop()
930 if ((p_thumb_dim->dst_dim.width == 0) || (p_thumb_dim->dst_dim.height == 0)) { in mm_jpeg_session_config_thumbnail()
976 thumbnail_info.output_width = (OMX_U32)p_thumb_dim->dst_dim.width; in mm_jpeg_session_config_thumbnail()
977 thumbnail_info.output_height = (OMX_U32)p_thumb_dim->dst_dim.height; in mm_jpeg_session_config_thumbnail()
985 thumbnail_info.output_width = (OMX_U32)p_thumb_dim->dst_dim.height; in mm_jpeg_session_config_thumbnail()
986 thumbnail_info.output_height = (OMX_U32)p_thumb_dim->dst_dim.width; in mm_jpeg_session_config_thumbnail()
989 } else if ((p_thumb_dim->dst_dim.width > p_thumb_dim->src_dim.width) || in mm_jpeg_session_config_thumbnail()
[all …]
Dmm_jpegdec.c578 (OMX_U32)p_jobparams->main_dim.dst_dim.width; in mm_jpegdec_session_decode()
580 (OMX_U32)p_jobparams->main_dim.dst_dim.height; in mm_jpegdec_session_decode()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c109 job.encode_job.main_dim.dst_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()
167 encode_param.main_dim.dst_dim = m_stream->s_config.stream_info->dim; in createEncodingSession()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c356 p_job_params->main_dim.dst_dim.width = p_obj->width; in encode_init()
357 p_job_params->main_dim.dst_dim.height = p_obj->height; in encode_init()
368 p_job_params->thumb_dim.dst_dim.width = p_input->tmb_width; in encode_init()
369 p_job_params->thumb_dim.dst_dim.height = p_input->tmb_height; in encode_init()
Dmm_jpegdec_test.c300 p_job_params->main_dim.dst_dim.width = p_obj->width; in decode_init()
301 p_job_params->main_dim.dst_dim.height = p_obj->height; in decode_init()
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h110 cam_dimension_t dst_dim; member