diff options
author | Christian König <[email protected]> | 2011-12-22 15:24:46 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2011-12-26 16:37:47 +0100 |
commit | 7ac114f94a8fac5fa7cc0e99bf6a3c03ec194650 (patch) | |
tree | b3bbd6b14fde6cefbbb95f2780148699efb0da7a /src/gallium/include/pipe | |
parent | 3aa3c3f75894ca0eb08087c0ec3dd114eeae4bb7 (diff) |
vl: call decode_bitstream only once
Submit all bitstreams at once to decode_bitstream.
Signed-off-by: Christian König <[email protected]>
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_video_decoder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_video_decoder.h b/src/gallium/include/pipe/p_video_decoder.h index 40b7dcdb3cf..aa535898f2d 100644 --- a/src/gallium/include/pipe/p_video_decoder.h +++ b/src/gallium/include/pipe/p_video_decoder.h @@ -116,7 +116,9 @@ struct pipe_video_decoder * decode a bitstream */ void (*decode_bitstream)(struct pipe_video_decoder *decoder, - unsigned num_bytes, const void *data); + unsigned num_buffers, + const void * const *buffers, + const unsigned *sizes); /** * end decoding of the current frame |