1 #ifndef SP_VIDEO_CONTEXT_H
2 #define SP_VIDEO_CONTEXT_H
4 #include <pipe/p_video_context.h>
5 #include <vl/vl_mpeg12_mc_renderer.h>
6 #include <vl/vl_compositor.h>
10 struct pipe_video_surface
;
12 struct sp_mpeg12_context
14 struct pipe_video_context base
;
15 struct pipe_context
*pipe
;
16 struct pipe_video_surface
*decode_target
;
17 struct vl_mpeg12_mc_renderer mc_renderer
;
18 struct vl_compositor compositor
;
25 struct pipe_video_context
*
26 sp_video_create(struct pipe_screen
*screen
, enum pipe_video_profile profile
,
27 enum pipe_video_chroma_format chroma_format
,
28 unsigned width
, unsigned height
);
30 #endif /* SP_VIDEO_CONTEXT_H */