Home
last modified time | relevance | path

Searched refs:cropped_width (Results 1 – 2 of 2) sorted by relevance

/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c875 int cropped_width = 0, cropped_height = 0; in mm_jpeg_get_thumbnail_crop() local
880 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / in mm_jpeg_get_thumbnail_crop()
884 cropped_width = p_thumb_dim->src_dim.width; in mm_jpeg_get_thumbnail_crop()
885 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / 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()
890 p_thumb_dim->crop.width = cropped_width; in mm_jpeg_get_thumbnail_crop()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c875 int cropped_width = 0, cropped_height = 0; in mm_jpeg_get_thumbnail_crop() local
880 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / in mm_jpeg_get_thumbnail_crop()
884 cropped_width = p_thumb_dim->src_dim.width; in mm_jpeg_get_thumbnail_crop()
885 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / 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()
890 p_thumb_dim->crop.width = cropped_width; in mm_jpeg_get_thumbnail_crop()