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/drivers/radeonsi | |
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/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.h | 4 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_uvd.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.c b/src/gallium/drivers/radeonsi/radeonsi_pipe.c index 7de9a4eb720..b491672e128 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.c +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.c @@ -230,10 +230,10 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void si_init_compute_functions(rctx); if (rscreen->info.has_uvd) { - rctx->context.create_video_decoder = radeonsi_uvd_create_decoder; + rctx->context.create_video_codec = radeonsi_uvd_create_decoder; rctx->context.create_video_buffer = radeonsi_video_buffer_create; } else { - rctx->context.create_video_decoder = vl_create_decoder; + rctx->context.create_video_codec = vl_create_decoder; rctx->context.create_video_buffer = vl_video_buffer_create; } diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h index cbfd7dae4be..f9e49996e2c 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h @@ -277,8 +277,8 @@ void r600_trace_emit(struct r600_context *rctx); void si_init_compute_functions(struct r600_context *rctx); /* radeonsi_uvd.c */ -struct pipe_video_decoder *radeonsi_uvd_create_decoder(struct pipe_context *context, - const struct pipe_video_decoder *templ); +struct pipe_video_codec *radeonsi_uvd_create_decoder(struct pipe_context *context, + const struct pipe_video_codec *templ); struct pipe_video_buffer *radeonsi_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *tmpl); diff --git a/src/gallium/drivers/radeonsi/radeonsi_uvd.c b/src/gallium/drivers/radeonsi/radeonsi_uvd.c index d19bf3382a0..4d48b4e6f9c 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_uvd.c +++ b/src/gallium/drivers/radeonsi/radeonsi_uvd.c @@ -36,7 +36,7 @@ #include <errno.h> #include <unistd.h> -#include "pipe/p_video_decoder.h" +#include "pipe/p_video_codec.h" #include "util/u_memory.h" #include "util/u_video.h" @@ -146,8 +146,8 @@ static struct radeon_winsys_cs_handle* radeonsi_uvd_set_dtb(struct ruvd_msg *msg /** * creates an UVD compatible decoder */ -struct pipe_video_decoder *radeonsi_uvd_create_decoder(struct pipe_context *context, - const struct pipe_video_decoder *templ) +struct pipe_video_codec *radeonsi_uvd_create_decoder(struct pipe_context *context, + const struct pipe_video_codec *templ) { struct r600_context *ctx = (struct r600_context *)context; |