diff options
author | Christian König <[email protected]> | 2010-11-14 02:17:39 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2010-11-14 02:17:39 +0100 |
commit | 48e19e8f35b2bbf437f6dcfe3213098690b8c925 (patch) | |
tree | 7abaa6e81083af62694478e9f4958b0579d9864f | |
parent | 0bc51ba484912e0b1c51922d409ae2645594e7ec (diff) |
[g3dvl] fix of my one bug in SCALE_FACTOR_16_TO_9
-rw-r--r-- | src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |