diff options
author | Christian König <[email protected]> | 2010-12-07 00:29:02 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2010-12-07 00:29:02 +0100 |
commit | eb7452e267974f9ff971b752046c512963f59f81 (patch) | |
tree | 3dc9d420e235df30332b85883cc3a20241cb09bc /src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h | |
parent | 6484898752d733a2442b433fbb78325f9021c698 (diff) |
[g3dvl] rework pot buffer handling and flushing
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h index fb169c7421e..0f110c0df35 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h +++ b/src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.h @@ -71,11 +71,10 @@ struct vl_mc_mbtype_handler struct vl_mpeg12_mc_renderer { struct pipe_context *pipe; - unsigned picture_width; - unsigned picture_height; + unsigned buffer_width; + unsigned buffer_height; enum pipe_video_chroma_format chroma_format; enum VL_MPEG12_MC_RENDERER_BUFFER_MODE bufmode; - bool pot_buffers; unsigned macroblocks_per_batch; struct pipe_viewport_state viewport; @@ -126,8 +125,7 @@ bool vl_mpeg12_mc_renderer_init(struct vl_mpeg12_mc_renderer *renderer, unsigned picture_width, unsigned picture_height, enum pipe_video_chroma_format chroma_format, - enum VL_MPEG12_MC_RENDERER_BUFFER_MODE bufmode, - bool pot_buffers); + enum VL_MPEG12_MC_RENDERER_BUFFER_MODE bufmode); void vl_mpeg12_mc_renderer_cleanup(struct vl_mpeg12_mc_renderer *renderer); @@ -139,4 +137,6 @@ void vl_mpeg12_mc_renderer_render_macroblocks(struct vl_mpeg12_mc_renderer *rend struct pipe_mpeg12_macroblock *mpeg12_macroblocks, struct pipe_fence_handle **fence); +void vl_mpeg12_mc_renderer_flush(struct vl_mpeg12_mc_renderer *renderer); + #endif /* vl_mpeg12_mc_renderer_h */ |