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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48e19e8f35b2bbf437f6dcfe3213098690b8c925;p=mesa.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 6195eafcc56..fb420cbe1f7 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 {