diff options
author | Christian König <[email protected]> | 2013-04-03 10:18:35 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2013-04-11 17:10:28 +0200 |
commit | 5b2855bfe79bfc3995969f2bf775d89b1bc1808a (patch) | |
tree | 5da3383f7c400cc037b6dbaa1695bbdf24b09563 /src/gallium/drivers/radeonsi/radeonsi_pipe.h | |
parent | f91e4d2c9d714bb7d667956cd93f216c18a434f4 (diff) |
radeon/uvd: add UVD implementation v5
Just everything you need for UVD with r600g and radeonsi.
v2: move UVD code to radeon subdir, clean up build system additions,
remove an unused SI function, disable tiling on SI for now.
v3: some minor indentation fix and rebased
v4: dpb size calculation fixed
v5: implement proper fall-back in case the kernel doesn't support UVD,
based on patches from Andreas Boll but cleaned up a bit more.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_pipe.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_pipe.h b/src/gallium/drivers/radeonsi/radeonsi_pipe.h index 0dff6979a2e..388f6df0518 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_pipe.h +++ b/src/gallium/drivers/radeonsi/radeonsi_pipe.h @@ -249,6 +249,17 @@ void r600_trace_emit(struct r600_context *rctx); /* radeonsi_compute.c */ void si_init_compute_functions(struct r600_context *rctx); +/* radeonsi_uvd.c */ +struct pipe_video_decoder *radeonsi_uvd_create_decoder(struct pipe_context *context, + enum pipe_video_profile profile, + enum pipe_video_entrypoint entrypoint, + enum pipe_video_chroma_format chroma_format, + unsigned width, unsigned height, + unsigned max_references, bool expect_chunked_decode); + +struct pipe_video_buffer *radeonsi_video_buffer_create(struct pipe_context *pipe, + const struct pipe_video_buffer *tmpl); + /* * common helpers */ |