diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2013-08-10 16:07:17 -0400 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-08-15 15:19:48 +0200 |
commit | e1cd987bb641eef88a9b856aaccff8bb526f6311 (patch) | |
tree | a88d24c1e22bcff5f46315706fae1a007a3de201 /src/gallium/drivers/nouveau/nouveau_vp3_video.h | |
parent | d6a82a7747a983cc1bd617e9a6e34fc422d1ec10 (diff) |
nvc0: move bsp param-filling logic into nouveau
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_vp3_video.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_vp3_video.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_vp3_video.h b/src/gallium/drivers/nouveau/nouveau_vp3_video.h index 7322138623a..2558d57917b 100644 --- a/src/gallium/drivers/nouveau/nouveau_vp3_video.h +++ b/src/gallium/drivers/nouveau/nouveau_vp3_video.h @@ -20,10 +20,10 @@ * OTHER DEALINGS IN THE SOFTWARE. */ -#include "pipe/p_defines.h" +#include <libdrm/nouveau.h> +#include "pipe/p_defines.h" #include "vl/vl_video_buffer.h" - #include "util/u_video.h" struct nouveau_vp3_video_buffer { @@ -196,3 +196,9 @@ struct pipe_video_buffer * nouveau_vp3_video_buffer_create(struct pipe_context *pipe, const struct pipe_video_buffer *templat, int flags); + +uint32_t +nouveau_vp3_bsp(struct nouveau_vp3_decoder *dec, union pipe_desc desc, + struct nouveau_vp3_video_buffer *target, + unsigned comm_seq, unsigned num_buffers, + const void *const *data, const unsigned *num_bytes); |