Searched refs:height_ratio (Results 1 – 10 of 10) sorted by relevance
153 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local155 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()169 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()172 int y_offset = INT((FLOAT(mixer_height) * height_ratio) / 2.0f); in ApplyScanAdjustment()
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()
185 float height_ratio = FLOAT(height) / 100.0f; in ApplyScanAdjustment() local187 if (width_ratio == 0.0f || height_ratio == 0.0f) { in ApplyScanAdjustment()201 uint32_t new_mixer_height = UINT32(mixer_height * FLOAT(1.0f - height_ratio)); in ApplyScanAdjustment()204 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()
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()
1899 uint32_t height_ratio; in configureStreamsPerfLocked() local2020 height_ratio = CEIL_DIVISION(gCamCapability[mCameraId]->active_array_size.height, in configureStreamsPerfLocked()2025 (height_ratio > gCamCapability[mCameraId]->max_downscale_factor)) { in configureStreamsPerfLocked()