diff options
author | Christian König <[email protected]> | 2011-04-07 20:10:55 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-04-07 20:10:55 +0200 |
commit | fcdf50f74befad8d89eb3f9cdfd88b82d1daa98c (patch) | |
tree | a3da251236f76a641124102aa6701717d49aeb3f /src/gallium/auxiliary/vl/vl_idct.c | |
parent | 9d2e630cd02362bfa8f090640a55cf2dea9d64b3 (diff) |
[g3dvl] add support for different decoding entry points
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_idct.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_idct.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/vl/vl_idct.c b/src/gallium/auxiliary/vl/vl_idct.c index a7b8a18dec3..dc4a9bbb8c9 100644 --- a/src/gallium/auxiliary/vl/vl_idct.c +++ b/src/gallium/auxiliary/vl/vl_idct.c @@ -38,8 +38,6 @@ #include <tgsi/tgsi_ureg.h> #include "vl_types.h" -#define SCALE_FACTOR_16_TO_9 (32768.0f / 256.0f) - #define NR_RENDER_TARGETS 4 enum VS_OUTPUT @@ -534,10 +532,8 @@ cleanup_intermediate(struct vl_idct *idct, struct vl_idct_buffer *buffer) } struct pipe_sampler_view * -vl_idct_upload_matrix(struct pipe_context *pipe) +vl_idct_upload_matrix(struct pipe_context *pipe, float scale) { - const float scale = sqrtf(SCALE_FACTOR_16_TO_9); - struct pipe_resource tex_templ, *matrix; struct pipe_sampler_view sv_templ, *sv; struct pipe_transfer *buf_transfer; |