summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_decoder.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-01-25 11:53:00 +0100
committerChristian König <[email protected]>2012-02-06 10:35:59 +0100
commit70a7695b4d1bd3f609eb9f98dd6872f1a5b89762 (patch)
treef9e9a19aa5210f3cab5092bdfdf9c7eb551ba316 /src/gallium/auxiliary/vl/vl_decoder.c
parent3ac959492d27a8473256bb7a25135f44b5d1a0f4 (diff)
vl: prefix size defines with VL_
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_decoder.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/vl/vl_decoder.c b/src/gallium/auxiliary/vl/vl_decoder.c
index a88347fca62..d6909cbfc0d 100644
--- a/src/gallium/auxiliary/vl/vl_decoder.c
+++ b/src/gallium/auxiliary/vl/vl_decoder.c
@@ -65,8 +65,8 @@ vl_create_decoder(struct pipe_context *pipe,
PIPE_VIDEO_CAP_NPOT_TEXTURES
);
- buffer_width = pot_buffers ? util_next_power_of_two(width) : align(width, MACROBLOCK_WIDTH);
- buffer_height = pot_buffers ? util_next_power_of_two(height) : align(height, MACROBLOCK_HEIGHT);
+ buffer_width = pot_buffers ? util_next_power_of_two(width) : align(width, VL_MACROBLOCK_WIDTH);
+ buffer_height = pot_buffers ? util_next_power_of_two(height) : align(height, VL_MACROBLOCK_HEIGHT);
switch (u_reduce_video_profile(profile)) {
case PIPE_VIDEO_CODEC_MPEG12: