diff options
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_context.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_context.h | 4 | ||||
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_video.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.c b/src/gallium/drivers/nvc0/nvc0_context.c index 5da491f14e9..bf0c204e197 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.c +++ b/src/gallium/drivers/nvc0/nvc0_context.c @@ -286,7 +286,7 @@ nvc0_create(struct pipe_screen *pscreen, void *priv) draw_set_rasterize_stage(nvc0->draw, nvc0_draw_render_stage(nvc0)); #endif - pipe->create_video_decoder = nvc0_create_decoder; + pipe->create_video_codec = nvc0_create_decoder; pipe->create_video_buffer = nvc0_video_buffer_create; /* shader builtin library is per-screen, but we need a context for m2mf */ diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h index d976de6fd91..2c84cdf44c6 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.h +++ b/src/gallium/drivers/nvc0/nvc0_context.h @@ -333,9 +333,9 @@ void nvc0_vertex_arrays_validate(struct nvc0_context *); void nvc0_idxbuf_validate(struct nvc0_context *); /* nvc0_video.c */ -struct pipe_video_decoder * +struct pipe_video_codec * nvc0_create_decoder(struct pipe_context *context, - const struct pipe_video_decoder *templ); + const struct pipe_video_codec *templ); struct pipe_video_buffer * nvc0_video_buffer_create(struct pipe_context *pipe, diff --git a/src/gallium/drivers/nvc0/nvc0_video.c b/src/gallium/drivers/nvc0/nvc0_video.c index e913126df4c..f3a301eeea8 100644 --- a/src/gallium/drivers/nvc0/nvc0_video.c +++ b/src/gallium/drivers/nvc0/nvc0_video.c @@ -26,7 +26,7 @@ #include "util/u_format.h" static void -nvc0_decoder_decode_bitstream(struct pipe_video_decoder *decoder, +nvc0_decoder_decode_bitstream(struct pipe_video_codec *decoder, struct pipe_video_buffer *video_target, struct pipe_picture_desc *picture, unsigned num_buffers, @@ -56,9 +56,9 @@ nvc0_decoder_decode_bitstream(struct pipe_video_decoder *decoder, nvc0_decoder_ppp(dec, desc, target, comm_seq); } -struct pipe_video_decoder * +struct pipe_video_codec * nvc0_create_decoder(struct pipe_context *context, - const struct pipe_video_decoder *templ) + const struct pipe_video_codec *templ) { struct nouveau_screen *screen = &((struct nvc0_context *)context)->screen->base; struct nouveau_vp3_decoder *dec; |