From f2f7064e560a83fc78d0e5b1d3a7d4aaac119a49 Mon Sep 17 00:00:00 2001 From: Christian König Date: Mon, 15 Jul 2013 03:48:04 -0600 Subject: vl: rename pipe_video_decoder to pipe_video_codec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pipe.c | 4 ++-- src/gallium/drivers/radeonsi/radeonsi_pipe.h | 4 ++-- src/gallium/drivers/radeonsi/radeonsi_uvd.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gallium/drivers/radeonsi') 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 #include -#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; -- cgit v1.2.3