Home
last modified time | relevance | path

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

/hardware/libhardware/modules/camera/3_4/arc/
Dcached_frame.cpp146 int cropped_height = yu12_frame_->GetHeight(); in CropRotateScale() local
150 int rotated_width = cropped_height; in CropRotateScale()
183 yu12_frame_->GetHeight(), cropped_width, cropped_height, rotation_mode, in CropRotateScale()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c1155 int32_t cropped_width = 0, cropped_height = 0; in mm_jpeg_update_thumbnail_crop() local
1159 cropped_height = p_thumb_dim->crop.height; in mm_jpeg_update_thumbnail_crop()
1160 cropped_width = floor((cropped_height * p_thumb_dim->dst_dim.width) / in mm_jpeg_update_thumbnail_crop()
1168 cropped_height = floor((cropped_width * p_thumb_dim->dst_dim.height) / in mm_jpeg_update_thumbnail_crop()
1170 if (cropped_height % 2) { in mm_jpeg_update_thumbnail_crop()
1171 cropped_height -= 1; in mm_jpeg_update_thumbnail_crop()
1180 floor((p_thumb_dim->crop.height - cropped_height) / 2); in mm_jpeg_update_thumbnail_crop()
1185 p_thumb_dim->crop.height = cropped_height; in mm_jpeg_update_thumbnail_crop()