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/auxiliary/vl/vl_decoder.c | |
parent | 42fddacabafebd4c9f1ba2f8f94192f8f4f76fce (diff) |
g3dvl: Add max_references parameter to vl_create_decoder()
Signed-off-by: Emeric Grange <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_decoder.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_decoder.c | 4 |
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 41e5f75300a..383e02d910c 100644 --- a/src/gallium/auxiliary/vl/vl_decoder.c +++ b/src/gallium/auxiliary/vl/vl_decoder.c @@ -62,7 +62,7 @@ vl_create_decoder(struct pipe_context *pipe, 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) { unsigned buffer_width, buffer_height; bool pot_buffers; @@ -82,7 +82,7 @@ vl_create_decoder(struct pipe_context *pipe, switch (u_reduce_video_profile(profile)) { case PIPE_VIDEO_CODEC_MPEG12: - return vl_create_mpeg12_decoder(pipe, profile, entrypoint, chroma_format, buffer_width, buffer_height); + return vl_create_mpeg12_decoder(pipe, profile, entrypoint, chroma_format, buffer_width, buffer_height, max_references); default: return NULL; } |