Home
last modified time | relevance | path

Searched refs:src_dim (Results 1 – 25 of 30) sorted by relevance

12

/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1001 cam_dimension_t src_dim; in encodeFWKData() local
1002 memset(&src_dim, 0, sizeof(cam_dimension_t)); in encodeFWKData()
1003 src_dim.width = recvd_frame->reproc_config.input_stream_dim.width; in encodeFWKData()
1004 src_dim.height = recvd_frame->reproc_config.input_stream_dim.height; in encodeFWKData()
1026 encodeParam.main_dim.src_dim = src_dim; in encodeFWKData()
1028 encodeParam.thumb_dim.src_dim = src_dim; in encodeFWKData()
1056 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeFWKData()
1090 jpg_job.encode_job.thumb_dim.src_dim = src_dim; in encodeFWKData()
1213 cam_dimension_t src_dim; in encodeData() local
1214 memset(&src_dim, 0, sizeof(cam_dimension_t)); in encodeData()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1125 cam_dimension_t src_dim; in encodeFWKData() local
1126 memset(&src_dim, 0, sizeof(cam_dimension_t)); in encodeFWKData()
1127 src_dim.width = recvd_frame->reproc_config.input_stream_dim.width; in encodeFWKData()
1128 src_dim.height = recvd_frame->reproc_config.input_stream_dim.height; in encodeFWKData()
1150 encodeParam.main_dim.src_dim = src_dim; in encodeFWKData()
1152 encodeParam.thumb_dim.src_dim = src_dim; 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()
1195 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeFWKData()
1243 jpg_job.encode_job.thumb_dim.src_dim = src_dim; in encodeFWKData()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp1125 cam_dimension_t src_dim; in encodeFWKData() local
1126 memset(&src_dim, 0, sizeof(cam_dimension_t)); in encodeFWKData()
1127 src_dim.width = recvd_frame->reproc_config.input_stream_dim.width; in encodeFWKData()
1128 src_dim.height = recvd_frame->reproc_config.input_stream_dim.height; in encodeFWKData()
1150 encodeParam.main_dim.src_dim = src_dim; in encodeFWKData()
1152 encodeParam.thumb_dim.src_dim = src_dim; 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()
1195 jpg_job.encode_job.main_dim.src_dim = src_dim; in encodeFWKData()
1243 jpg_job.encode_job.thumb_dim.src_dim = src_dim; in encodeFWKData()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg.c224 input_port.format.image.nFrameWidth = src_buf->src_dim.width; in mm_jpeg_omx_config_port()
225 input_port.format.image.nFrameHeight =src_buf->src_dim.height; in mm_jpeg_omx_config_port()
226 input_port.format.image.nStride = src_buf->src_dim.width; in mm_jpeg_omx_config_port()
227 input_port.format.image.nSliceHeight = src_buf->src_dim.height; in mm_jpeg_omx_config_port()
333 src_buf->crop.width = src_buf->src_dim.width; in mm_jpeg_omx_config_thumbnail()
334 src_buf->crop.height = src_buf->src_dim.height; in mm_jpeg_omx_config_thumbnail()
338 if ((src_buf->crop.width + src_buf->crop.offset_x > src_buf->src_dim.width) || in mm_jpeg_omx_config_thumbnail()
339 (src_buf->crop.height + src_buf->crop.offset_y > src_buf->src_dim.height)) { in mm_jpeg_omx_config_thumbnail()
346 src_buf->src_dim.width, in mm_jpeg_omx_config_thumbnail()
347 src_buf->src_dim.height); in mm_jpeg_omx_config_thumbnail()
[all …]
Dmm_jpeg_interface.c66 … buf_info->src_imgs.src_img[i].src_dim.width, buf_info->src_imgs.src_img[i].src_dim.height, in mm_jpeg_dump_job()
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c515 cam_dimension_t *p_dim = &p_params->main_dim.src_dim; in mm_jpeg_get_speed()
768 (OMX_U32)p_params->main_dim.src_dim.width; in mm_jpeg_session_config_ports()
770 (OMX_U32)p_params->main_dim.src_dim.height; in mm_jpeg_session_config_ports()
791 (OMX_U32)p_params->thumb_dim.src_dim.width; in mm_jpeg_session_config_ports()
793 (OMX_U32)p_params->thumb_dim.src_dim.height; in mm_jpeg_session_config_ports()
879 cropped_height = p_thumb_dim->src_dim.height; in mm_jpeg_get_thumbnail_crop()
884 cropped_width = p_thumb_dim->src_dim.width; in mm_jpeg_get_thumbnail_crop()
888 p_thumb_dim->crop.left = floor(p_thumb_dim->src_dim.width - cropped_width) / 2; in mm_jpeg_get_thumbnail_crop()
889 p_thumb_dim->crop.top = floor(p_thumb_dim->src_dim.height - cropped_height) / 2; in mm_jpeg_get_thumbnail_crop()
936 if ((p_thumb_dim->src_dim.width == 0) || (p_thumb_dim->src_dim.height == 0)) { in mm_jpeg_session_config_thumbnail()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c515 cam_dimension_t *p_dim = &p_params->main_dim.src_dim; in mm_jpeg_get_speed()
768 (OMX_U32)p_params->main_dim.src_dim.width; in mm_jpeg_session_config_ports()
770 (OMX_U32)p_params->main_dim.src_dim.height; in mm_jpeg_session_config_ports()
791 (OMX_U32)p_params->thumb_dim.src_dim.width; in mm_jpeg_session_config_ports()
793 (OMX_U32)p_params->thumb_dim.src_dim.height; in mm_jpeg_session_config_ports()
879 cropped_height = p_thumb_dim->src_dim.height; in mm_jpeg_get_thumbnail_crop()
884 cropped_width = p_thumb_dim->src_dim.width; in mm_jpeg_get_thumbnail_crop()
888 p_thumb_dim->crop.left = floor(p_thumb_dim->src_dim.width - cropped_width) / 2; in mm_jpeg_get_thumbnail_crop()
889 p_thumb_dim->crop.top = floor(p_thumb_dim->src_dim.height - cropped_height) / 2; in mm_jpeg_get_thumbnail_crop()
936 if ((p_thumb_dim->src_dim.width == 0) || (p_thumb_dim->src_dim.height == 0)) { in mm_jpeg_session_config_thumbnail()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c748 p_params->main_dim.src_dim.width; in mm_jpeg_session_config_ports()
750 p_params->main_dim.src_dim.height; in mm_jpeg_session_config_ports()
771 p_params->thumb_dim.src_dim.width; in mm_jpeg_session_config_ports()
773 p_params->thumb_dim.src_dim.height; in mm_jpeg_session_config_ports()
873 if ((p_thumb_dim->src_dim.width == 0) || (p_thumb_dim->src_dim.height == 0)) { in mm_jpeg_session_config_thumbnail()
880 p_thumb_dim->crop.width = p_thumb_dim->src_dim.width; in mm_jpeg_session_config_thumbnail()
881 p_thumb_dim->crop.height = p_thumb_dim->src_dim.height; in mm_jpeg_session_config_thumbnail()
885 if ((p_thumb_dim->crop.width + p_thumb_dim->crop.left > p_thumb_dim->src_dim.width) || in mm_jpeg_session_config_thumbnail()
886 (p_thumb_dim->crop.height + p_thumb_dim->crop.top > p_thumb_dim->src_dim.height)) { in mm_jpeg_session_config_thumbnail()
893 p_thumb_dim->src_dim.width, in mm_jpeg_session_config_thumbnail()
[all …]
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraPostProc.cpp351 cam_dimension_t src_dim, dst_dim; in getJpegEncodingConfig() local
352 memset(&src_dim, 0, sizeof(cam_dimension_t)); in getJpegEncodingConfig()
354 main_stream->getFrameDimension(src_dim); in getJpegEncodingConfig()
360 dst_dim.height = src_dim.height; in getJpegEncodingConfig()
365 dst_dim.width = src_dim.width; in getJpegEncodingConfig()
373 encode_parm.main_dim.src_dim = src_dim; in getJpegEncodingConfig()
463 memset(&src_dim, 0, sizeof(cam_dimension_t)); in getJpegEncodingConfig()
464 thumb_stream->getFrameDimension(src_dim); in getJpegEncodingConfig()
465 encode_parm.thumb_dim.src_dim = src_dim; in getJpegEncodingConfig()
1594 cam_dimension_t src_dim; in encodeData() local
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraPostProc.cpp433 cam_dimension_t src_dim, dst_dim; in getJpegEncodingConfig() local
434 memset(&src_dim, 0, sizeof(cam_dimension_t)); in getJpegEncodingConfig()
436 main_stream->getFrameDimension(src_dim); in getJpegEncodingConfig()
442 dst_dim.height = src_dim.height; in getJpegEncodingConfig()
447 dst_dim.width = src_dim.width; in getJpegEncodingConfig()
455 encode_parm.main_dim.src_dim = src_dim; in getJpegEncodingConfig()
550 memset(&src_dim, 0, sizeof(cam_dimension_t)); in getJpegEncodingConfig()
551 thumb_stream->getFrameDimension(src_dim); in getJpegEncodingConfig()
552 encode_parm.thumb_dim.src_dim = src_dim; in getJpegEncodingConfig()
1902 cam_dimension_t src_dim; in encodeData() local
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraPostProc.cpp433 cam_dimension_t src_dim, dst_dim; in getJpegEncodingConfig() local
434 memset(&src_dim, 0, sizeof(cam_dimension_t)); in getJpegEncodingConfig()
436 main_stream->getFrameDimension(src_dim); in getJpegEncodingConfig()
442 dst_dim.height = src_dim.height; in getJpegEncodingConfig()
447 dst_dim.width = src_dim.width; in getJpegEncodingConfig()
455 encode_parm.main_dim.src_dim = src_dim; in getJpegEncodingConfig()
550 memset(&src_dim, 0, sizeof(cam_dimension_t)); in getJpegEncodingConfig()
551 thumb_stream->getFrameDimension(src_dim); in getJpegEncodingConfig()
552 encode_parm.thumb_dim.src_dim = src_dim; in getJpegEncodingConfig()
1902 cam_dimension_t src_dim; in encodeData() local
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c352 p_job_params->main_dim.src_dim.width = p_obj->width; in encode_init()
353 p_job_params->main_dim.src_dim.height = p_obj->height; in encode_init()
364 p_job_params->thumb_dim.src_dim.width = p_obj->width; in encode_init()
365 p_job_params->thumb_dim.src_dim.height = p_obj->height; in encode_init()
Dmm_jpegdec_test.c296 p_job_params->main_dim.src_dim.width = p_obj->width; in decode_init()
297 p_job_params->main_dim.src_dim.height = p_obj->height; in decode_init()
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg_interface.h107 image_resolution src_dim; member
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c354 p_job_params->main_dim.src_dim.width = p_obj->width; in encode_init()
355 p_job_params->main_dim.src_dim.height = p_obj->height; in encode_init()
366 p_job_params->thumb_dim.src_dim.width = p_obj->width; in encode_init()
367 p_job_params->thumb_dim.src_dim.height = p_obj->height; in encode_init()
Dmm_jpegdec_test.c298 p_job_params->main_dim.src_dim.width = p_obj->width; in decode_init()
299 p_job_params->main_dim.src_dim.height = p_obj->height; in decode_init()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c354 p_job_params->main_dim.src_dim.width = p_obj->width; in encode_init()
355 p_job_params->main_dim.src_dim.height = p_obj->height; in encode_init()
366 p_job_params->thumb_dim.src_dim.width = p_obj->width; in encode_init()
367 p_job_params->thumb_dim.src_dim.height = p_obj->height; in encode_init()
Dmm_jpegdec_test.c298 p_job_params->main_dim.src_dim.width = p_obj->width; in decode_init()
299 p_job_params->main_dim.src_dim.height = p_obj->height; in decode_init()
/device/moto/shamu/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h96 cam_dimension_t src_dim; member
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp585 main_buf_info->src_dim.width = main_stream->mWidth; in encodeData()
586 main_buf_info->src_dim.height = main_stream->mHeight; in encodeData()
592 __func__, main_buf_info->src_dim.width, main_buf_info->src_dim.height, in encodeData()
613 thumb_buf_info->src_dim.width = thumb_stream->mWidth; in encodeData()
614 thumb_buf_info->src_dim.height = thumb_stream->mHeight; in encodeData()
619 __func__, thumb_buf_info->src_dim.width, thumb_buf_info->src_dim.height, in encodeData()
638 main_buf_info->out_dim.width = main_buf_info->src_dim.width; in encodeData()
639 main_buf_info->out_dim.height = main_buf_info->src_dim.height; in encodeData()
641 if (thumb_buf_info->out_dim.width > thumb_buf_info->src_dim.width || in encodeData()
642 thumb_buf_info->out_dim.height > thumb_buf_info->src_dim.height ) { in encodeData()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h107 cam_dimension_t src_dim; member
/device/huawei/angler/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h107 cam_dimension_t src_dim; member
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
166 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; in createEncodingSession()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
166 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; in createEncodingSession()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c108 job.encode_job.main_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
112 job.encode_job.thumb_dim.src_dim = m_stream->s_config.stream_info->dim; in encodeData()
166 encode_param.main_dim.src_dim = m_stream->s_config.stream_info->dim; in createEncodingSession()

12