summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_video_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_video_context.h')
-rw-r--r--src/gallium/drivers/softpipe/sp_video_context.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/gallium/drivers/softpipe/sp_video_context.h b/src/gallium/drivers/softpipe/sp_video_context.h
index 2e3e4ec729f..04368a64a53 100644
--- a/src/gallium/drivers/softpipe/sp_video_context.h
+++ b/src/gallium/drivers/softpipe/sp_video_context.h
@@ -29,29 +29,13 @@
#define SP_VIDEO_CONTEXT_H
#include <pipe/p_video_context.h>
+#include <vl/vl_idct.h>
#include <vl/vl_mpeg12_mc_renderer.h>
#include <vl/vl_compositor.h>
struct pipe_screen;
struct pipe_context;
-struct sp_mpeg12_buffer
-{
- struct vl_vertex_buffer vertex_stream;
-
- union
- {
- struct pipe_vertex_buffer all[2];
- struct {
- struct pipe_vertex_buffer quad, stream;
- } individual;
- } vertex_bufs;
-
- struct vl_idct_buffer idct_y, idct_cb, idct_cr;
-
- struct vl_mpeg12_mc_buffer mc;
-};
-
struct sp_mpeg12_context
{
struct pipe_video_context base;
@@ -76,6 +60,23 @@ struct sp_mpeg12_context
enum pipe_format decode_format;
};
+struct sp_mpeg12_buffer
+{
+ struct vl_vertex_buffer vertex_stream;
+
+ union
+ {
+ struct pipe_vertex_buffer all[2];
+ struct {
+ struct pipe_vertex_buffer quad, stream;
+ } individual;
+ } vertex_bufs;
+
+ struct vl_idct_buffer idct_y, idct_cb, idct_cr;
+
+ struct vl_mpeg12_mc_buffer mc;
+};
+
struct pipe_video_context *
sp_video_create(struct pipe_screen *screen, enum pipe_video_profile profile,
enum pipe_video_chroma_format chroma_format,