diff options
author | Christian König <[email protected]> | 2013-07-15 03:48:04 -0600 |
---|---|---|
committer | Christian König <[email protected]> | 2013-08-19 10:21:15 +0200 |
commit | f2f7064e560a83fc78d0e5b1d3a7d4aaac119a49 (patch) | |
tree | de24046b5c46851ca3ef8507fd396cc0fb69abad /src/gallium/include | |
parent | 8e423ab98403135140a093be3c66c88b9a36ad5c (diff) |
vl: rename pipe_video_decoder to pipe_video_codec
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 8 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_video_codec.h (renamed from src/gallium/include/pipe/p_video_decoder.h) | 20 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 0ca57f41f5c..69352f7260f 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -65,7 +65,7 @@ struct pipe_transfer; struct pipe_vertex_buffer; struct pipe_vertex_element; struct pipe_video_buffer; -struct pipe_video_decoder; +struct pipe_video_codec; struct pipe_viewport_state; struct pipe_compute_state; union pipe_color_union; @@ -430,10 +430,10 @@ struct pipe_context { void (*texture_barrier)(struct pipe_context *); /** - * Creates a video decoder for a specific video codec/profile + * Creates a video codec for a specific video format/profile */ - struct pipe_video_decoder *(*create_video_decoder)( struct pipe_context *context, - const struct pipe_video_decoder *templat ); + struct pipe_video_codec *(*create_video_codec)( struct pipe_context *context, + const struct pipe_video_codec *templat ); /** * 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_codec.h index 6c9a7484f1c..17f68047648 100644 --- a/src/gallium/include/pipe/p_video_decoder.h +++ b/src/gallium/include/pipe/p_video_codec.h @@ -41,9 +41,9 @@ struct pipe_picture_desc; struct pipe_fence_handle; /** - * Gallium video decoder for a specific codec/profile + * Gallium video codec for a specific format/profile */ -struct pipe_video_decoder +struct pipe_video_codec { struct pipe_context *context; @@ -58,19 +58,19 @@ struct pipe_video_decoder /** * destroy this video decoder */ - void (*destroy)(struct pipe_video_decoder *decoder); + void (*destroy)(struct pipe_video_codec *codec); /** * start decoding of a new frame */ - void (*begin_frame)(struct pipe_video_decoder *decoder, + void (*begin_frame)(struct pipe_video_codec *codec, struct pipe_video_buffer *target, struct pipe_picture_desc *picture); /** * decode a macroblock */ - void (*decode_macroblock)(struct pipe_video_decoder *decoder, + void (*decode_macroblock)(struct pipe_video_codec *codec, struct pipe_video_buffer *target, struct pipe_picture_desc *picture, const struct pipe_macroblock *macroblocks, @@ -79,7 +79,7 @@ struct pipe_video_decoder /** * decode a bitstream */ - void (*decode_bitstream)(struct pipe_video_decoder *decoder, + void (*decode_bitstream)(struct pipe_video_codec *codec, struct pipe_video_buffer *target, struct pipe_picture_desc *picture, unsigned num_buffers, @@ -89,7 +89,7 @@ struct pipe_video_decoder /** * end decoding of the current frame */ - void (*end_frame)(struct pipe_video_decoder *decoder, + void (*end_frame)(struct pipe_video_codec *codec, struct pipe_video_buffer *target, struct pipe_picture_desc *picture); @@ -97,7 +97,7 @@ struct pipe_video_decoder * flush any outstanding command buffers to the hardware * should be called before a video_buffer is acessed by the state tracker again */ - void (*flush)(struct pipe_video_decoder *decoder); + void (*flush)(struct pipe_video_codec *codec); }; /** @@ -139,9 +139,9 @@ struct pipe_video_buffer void *associated_data; /* - * decoder where the associated data came from + * codec where the associated data came from */ - struct pipe_video_decoder *decoder; + struct pipe_video_codec *codec; /* * destroy the associated data |