From 48e19e8f35b2bbf437f6dcfe3213098690b8c925 Mon Sep 17 00:00:00 2001 From: Christian König Date: Sun, 14 Nov 2010 02:17:39 +0100 Subject: [g3dvl] fix of my one bug in SCALE_FACTOR_16_TO_9 --- src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3