Lines Matching refs:scaleMode

35 static void _hw_scale_image_plane(scaler_config_t *pscaler_config, scaler_mode_t scaleMode);
37 static void _calculate_factors(scaler_config_t *pscaler_config, scaler_mode_t scaleMode);
49 pscaler_config->scaleMode = PSCALER_SCALE_DOWN; in scaler_make_image_scaler_tables()
52 pscaler_config->scaleMode = PSCALER_SCALE_UP; in scaler_make_image_scaler_tables()
54 pscaler_config->scaleMode = PSCALER_SCALE_MIXED_YUP; in scaler_make_image_scaler_tables()
56 pscaler_config->scaleMode = PSCALER_SCALE_MIXED_XUP; in scaler_make_image_scaler_tables()
60 _calculate_factors(pscaler_config, pscaler_config->scaleMode); in scaler_make_image_scaler_tables()
112 if (pscaler_config->scaleMode == PSCALER_SCALE_UP || in scaler_calculate_scaling_rows()
113 pscaler_config->scaleMode == PSCALER_SCALE_MIXED_YUP) { in scaler_calculate_scaling_rows()
132 if (pscaler_config->scaleMode == PSCALER_SCALE_UP || in scaler_calculate_scaling_rows()
133 pscaler_config->scaleMode == PSCALER_SCALE_MIXED_YUP) { in scaler_calculate_scaling_rows()
177 if (pscaler_config->scaleMode == PSCALER_SCALE_MIXED_XUP) { in scaler_calculate_scaling_rows()
181 } else if (pscaler_config->scaleMode == PSCALER_SCALE_MIXED_YUP) { in scaler_calculate_scaling_rows()
203 if ((PSCALER_SCALE_MIXED_XUP == pscaler_config->scaleMode) || in scaler_scale_image_data()
204 (PSCALER_SCALE_MIXED_YUP == pscaler_config->scaleMode)) { in scaler_scale_image_data()
213 if (PSCALER_SCALE_MIXED_YUP == pscaler_config->scaleMode) { in scaler_scale_image_data()
265 if (PSCALER_SCALE_MIXED_YUP == pscaler_config->scaleMode) { in scaler_scale_image_data()
320 _hw_scale_image_plane(pscaler_config, pscaler_config->scaleMode); in scaler_scale_image_data()
324 static void _calculate_factors(scaler_config_t *pscaler_config, scaler_mode_t scaleMode) { in _calculate_factors() argument
326 if ((pscaler_config->scaleMode == PSCALER_SCALE_UP) || in _calculate_factors()
327 (pscaler_config->scaleMode == PSCALER_SCALE_MIXED_YUP)) { in _calculate_factors()
332 if ((pscaler_config->scaleMode == PSCALER_SCALE_UP) || in _calculate_factors()
333 (pscaler_config->scaleMode == PSCALER_SCALE_MIXED_XUP)) { in _calculate_factors()
372 if ((pscaler_config->scaleMode == PSCALER_SCALE_UP) || in _calculate_factors()
373 (pscaler_config->scaleMode == PSCALER_SCALE_MIXED_YUP)) { in _calculate_factors()
378 if ((pscaler_config->scaleMode == PSCALER_SCALE_UP) || in _calculate_factors()
379 (pscaler_config->scaleMode == PSCALER_SCALE_MIXED_XUP)) { in _calculate_factors()
997 static void _hw_scale_image_plane(scaler_config_t *pscaler_config, scaler_mode_t scaleMode) { in _hw_scale_image_plane() argument
1056 if (scaleMode == PSCALER_SCALE_UP) { in _hw_scale_image_plane()