summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-07-15 03:48:04 -0600
committerChristian König <christian.koenig@amd.com>2013-08-19 10:21:15 +0200
commitf2f7064e560a83fc78d0e5b1d3a7d4aaac119a49 (patch)
treede24046b5c46851ca3ef8507fd396cc0fb69abad /src/gallium/state_trackers/vdpau
parent8e423ab98403135140a093be3c66c88b9a36ad5c (diff)
downloadexternal_mesa3d-f2f7064e560a83fc78d0e5b1d3a7d4aaac119a49.zip
external_mesa3d-f2f7064e560a83fc78d0e5b1d3a7d4aaac119a49.tar.gz
external_mesa3d-f2f7064e560a83fc78d0e5b1d3a7d4aaac119a49.tar.bz2
vl: rename pipe_video_decoder to pipe_video_codec
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'src/gallium/state_trackers/vdpau')
-rw-r--r--src/gallium/state_trackers/vdpau/decode.c6
-rw-r--r--src/gallium/state_trackers/vdpau/vdpau_private.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c
index e254c50..09927c5 100644
--- a/src/gallium/state_trackers/vdpau/decode.c
+++ b/src/gallium/state_trackers/vdpau/decode.c
@@ -44,7 +44,7 @@ vlVdpDecoderCreate(VdpDevice device,
uint32_t max_references,
VdpDecoder *decoder)
{
- struct pipe_video_decoder templat = {};
+ struct pipe_video_codec templat = {};
struct pipe_context *pipe;
struct pipe_screen *screen;
vlVdpDevice *dev;
@@ -97,7 +97,7 @@ vlVdpDecoderCreate(VdpDevice device,
templat.height = height;
templat.max_references = max_references;
- vldecoder->decoder = pipe->create_video_decoder(pipe, &templat);
+ vldecoder->decoder = pipe->create_video_codec(pipe, &templat);
if (!vldecoder->decoder) {
ret = VDP_STATUS_ERROR;
@@ -426,7 +426,7 @@ vlVdpDecoderRender(VdpDecoder decoder,
vlVdpSurface *vlsurf;
VdpStatus ret;
struct pipe_screen *screen;
- struct pipe_video_decoder *dec;
+ struct pipe_video_codec *dec;
bool buffer_support[2];
unsigned i;
union {
diff --git a/src/gallium/state_trackers/vdpau/vdpau_private.h b/src/gallium/state_trackers/vdpau/vdpau_private.h
index 716d218..54545fe 100644
--- a/src/gallium/state_trackers/vdpau/vdpau_private.h
+++ b/src/gallium/state_trackers/vdpau/vdpau_private.h
@@ -34,7 +34,7 @@
#include <vdpau/vdpau_x11.h>
#include "pipe/p_compiler.h"
-#include "pipe/p_video_decoder.h"
+#include "pipe/p_video_codec.h"
#include "util/u_debug.h"
#include "util/u_rect.h"
@@ -387,7 +387,7 @@ typedef struct
typedef struct
{
vlVdpDevice *device;
- struct pipe_video_decoder *decoder;
+ struct pipe_video_codec *decoder;
} vlVdpDecoder;
typedef uint32_t vlHandle;