Searched refs:height_ratio (Results 1 – 12 of 12) sorted by relevance
151 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local153 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()167 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()170 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
182 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local184 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()198 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()201 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
147 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local159 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()162 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
186 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local188 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()202 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()205 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
148 float height_ratio = FLOAT(underscan_height_) / 100.0f; in ApplyScanAdjustment() local160 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()163 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
214 float height_ratio = dst_domain_height / src_domain_height; in ScaleRect() local217 out_rect->top = height_ratio * in_rect.top; in ScaleRect()219 out_rect->bottom = height_ratio * in_rect.bottom; in ScaleRect()
218 float height_ratio = dst_domain_height / src_domain_height; in MapRect() local221 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()223 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
223 float height_ratio = dst_domain_height / src_domain_height; in MapRect() local226 out_rect->top = dst_domain.top + (height_ratio * modified_in_rect.top); in MapRect()228 out_rect->bottom = dst_domain.top + (height_ratio * modified_in_rect.bottom); in MapRect()
13481 uint32_t height_ratio; in setSmallJpegSize() local13485 height_ratio = CEIL_DIVISION(sensor_dim.height,snap_dim.height); in setSmallJpegSize()13489 (height_ratio > m_pCapability->max_downscale_factor)) { in setSmallJpegSize()
1937 uint32_t height_ratio; in configureStreamsPerfLocked() local2060 height_ratio = CEIL_DIVISION(gCamCapability[mCameraId]->active_array_size.height, in configureStreamsPerfLocked()2065 (height_ratio > gCamCapability[mCameraId]->max_downscale_factor)) { in configureStreamsPerfLocked()