diff options
author | Emeric Grange <[email protected]> | 2011-09-12 23:39:27 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-09-14 15:49:15 +0200 |
commit | 82e8bf36d8fcd46bcb76ec300875a47c7312f1a1 (patch) | |
tree | deba14c1696dfa0ed4daace96f856c955479d380 /src/gallium/include | |
parent | 42fddacabafebd4c9f1ba2f8f94192f8f4f76fce (diff) |
g3dvl: Add max_references parameter to vl_create_decoder()
Signed-off-by: Emeric Grange <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 2 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_video_decoder.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index da3ee87515f..49c12ec64fb 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -406,7 +406,7 @@ struct pipe_context { enum pipe_video_profile profile, enum pipe_video_entrypoint entrypoint, enum pipe_video_chroma_format chroma_format, - unsigned width, unsigned height ); + unsigned width, unsigned height, unsigned max_references ); /** * Creates a video buffer as decoding target diff --git a/src/gallium/include/pipe/p_video_decoder.h b/src/gallium/include/pipe/p_video_decoder.h index 31e411c791e..40b7dcdb3cf 100644 --- a/src/gallium/include/pipe/p_video_decoder.h +++ b/src/gallium/include/pipe/p_video_decoder.h @@ -52,6 +52,7 @@ struct pipe_video_decoder enum pipe_video_chroma_format chroma_format; unsigned width; unsigned height; + unsigned max_references; /** * destroy this video decoder |