aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-04-15 22:15:17 +0200
committerChristian König <[email protected]>2011-04-15 22:15:17 +0200
commitc87b83d4b2b860bb4c9f90897232e661a2b94c07 (patch)
tree926504d8f95edbaaadcb97eceea7a0b6e6eb584e /src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
parentb1c44b0ea6b3e891086ce554edf3c26dbd3708cd (diff)
[g3dvl] give mc and ycbcr stage its own vertex element state
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_mpeg12_decoder.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_mpeg12_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
index 906be3775c4..9e0d40e7f5b 100644
--- a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
+++ b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
@@ -715,10 +715,10 @@ vl_create_mpeg12_decoder(struct pipe_video_context *context,
dec->quads = vl_vb_upload_quads(dec->pipe, 2, 2);
for (i = 0; i < VL_MAX_PLANES; ++i)
- dec->ves_eb[i] = vl_vb_get_elems_state(dec->pipe, i, 0);
+ dec->ves_eb[i] = vl_vb_get_ves_eb(dec->pipe, i);
for (i = 0; i < 2; ++i)
- dec->ves_mv[i] = vl_vb_get_elems_state(dec->pipe, 0, i);
+ dec->ves_mv[i] = vl_vb_get_ves_mv(dec->pipe, i);
dec->base.width = align(width, MACROBLOCK_WIDTH);
dec->base.height = align(height, MACROBLOCK_HEIGHT);