
#define DSP_CALC_SCALING_SIZE(value, ratio) ((u32)(value * (u32)(ratio * 1000) / 1000))
#define DSP_CALC_SCALING_SIZE_FX(value, ratio) ((u32)( value * (u32)(ratio * 1000 / 4096.0f) / 1000))
| DSP_CALC_SCALING_SIZE(value, ratio) | Uses the DSP_Scaling* functions to calculate the results of scaling an image with width or height of size value by a factor of ratio (f32 value). |
| DSP_CALC_SCALING_SIZE_FX(value, ratio) | Uses the DSP_ScalingFx* functions to calculate the results of scaling an image with width or height of size value by a factor of ratio (fx32 value). |
2008/08/28 Added the fx32 versions and revised See Also.
2008/05/22 Initial version.
CONFIDENTIAL