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/state_trackers/vdpau | |
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/state_trackers/vdpau')
-rw-r--r-- | src/gallium/state_trackers/vdpau/decode.c | 6 | ||||
-rw-r--r-- | src/gallium/state_trackers/vdpau/vdpau_private.h | 4 |
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 e254c50c1f7..09927c564e8 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 716d2180a6e..54545fe7640 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; |