[Mesa-dev] [PATCH 14/15] st/va: try to decode something

Christian König deathsimple at vodafone.de
Tue Jun 18 02:27:44 PDT 2013


From: Christian König <christian.koenig at amd.com>

Signed-off-by: Christian König <christian.koenig at amd.com>
---
 src/gallium/state_trackers/va/picture.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c
index f7d32c6..7339366 100644
--- a/src/gallium/state_trackers/va/picture.c
+++ b/src/gallium/state_trackers/va/picture.c
@@ -174,7 +174,8 @@ vlVaRenderPicture(VADriverContextP ctx, VAContextID context_id, VABufferID *buff
          break;
 
       case VASliceDataBufferType:
-         // TODO
+         context->decoder->decode_bitstream(context->decoder, context->target, NULL,
+                                            1, (const void * const*)&buf->data, &buf->size);
          break;
 
       default:
-- 
1.7.9.5



More information about the mesa-dev mailing list