From: Christian König Date: Sun, 14 Nov 2010 01:17:39 +0000 (+0100) Subject: [g3dvl] fix of my one bug in SCALE_FACTOR_16_TO_9 X-Git-Tag: 062012170305~4979^2~362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48e19e8f35b2bbf437f6dcfe3213098690b8c925;p=profile%2Fivi%2Fmesa.git [g3dvl] fix of my one bug in SCALE_FACTOR_16_TO_9 --- diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c index 6195eaf..fb420cb 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c +++ b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c @@ -42,7 +42,7 @@ #define MACROBLOCK_HEIGHT 16 #define BLOCK_WIDTH 8 #define BLOCK_HEIGHT 8 -#define SCALE_FACTOR_16_TO_9 (32767.0f / 255.0f) +#define SCALE_FACTOR_16_TO_9 (32768.0f / 256.0f) struct vertex_shader_consts {