diff options
author | Christian König <[email protected]> | 2012-01-02 14:22:33 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2012-01-15 12:40:44 +0100 |
commit | e027759336bf49e3f568bd73b9e5f26d56ef6f83 (patch) | |
tree | b82a3cd8c9f0ca6ce718567aa1ec128b14c7c0b3 /src/gallium/include/pipe/p_context.h | |
parent | 39491d1d31d9f03437816fbb4f2872761ae1157c (diff) |
vl/video_buffer: use template style create params
Just like in the rest of gallium, this reduces the
number of parameters significantly.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index f7ee52298a8..4c58ed049e9 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -417,9 +417,7 @@ struct pipe_context { * Creates a video buffer as decoding target */ struct pipe_video_buffer *(*create_video_buffer)( struct pipe_context *context, - enum pipe_format buffer_format, - enum pipe_video_chroma_format chroma_format, - unsigned width, unsigned height ); + const struct pipe_video_buffer *templat ); }; |