summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_vertex_buffers.h
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2011-04-19 21:06:59 +0200
committerChristian König <deathsimple@vodafone.de>2011-04-19 21:06:59 +0200
commit3511780a43077d1359bd491eadb4ab9b3b86795a (patch)
treefb9a0a5e3e1ee0066a834e7f8bbc6a6e5b887049 /src/gallium/auxiliary/vl/vl_vertex_buffers.h
parent849bc838e81f930e6f090e6c6597bb92e822b4c9 (diff)
downloadexternal_mesa3d-3511780a43077d1359bd491eadb4ab9b3b86795a.zip
external_mesa3d-3511780a43077d1359bd491eadb4ab9b3b86795a.tar.gz
external_mesa3d-3511780a43077d1359bd491eadb4ab9b3b86795a.tar.bz2
[g3dvl] revert commit 310eea52ca1e997295c84163066cc5d0fd4f8cf6
Using a seperate vertex buffer for mc and ycbcr handling is still better.
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_vertex_buffers.h')
-rw-r--r--src/gallium/auxiliary/vl/vl_vertex_buffers.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.h b/src/gallium/auxiliary/vl/vl_vertex_buffers.h
index 3d9c614..5632eb2 100644
--- a/src/gallium/auxiliary/vl/vl_vertex_buffers.h
+++ b/src/gallium/auxiliary/vl/vl_vertex_buffers.h
@@ -44,11 +44,8 @@ enum VS_INPUT
VS_I_RECT,
VS_I_VPOS,
- VS_I_FLAGS,
- VS_I_EB,
-
- VS_I_MV_TOP = VS_I_FLAGS,
- VS_I_MV_BOTTOM = VS_I_EB,
+ VS_I_MV_TOP,
+ VS_I_MV_BOTTOM,
NUM_VS_INPUTS
};
@@ -71,8 +68,7 @@ struct vl_vertex_buffer
} mv[VL_MAX_REF_FRAMES];
};
-struct pipe_vertex_buffer vl_vb_upload_quads(struct pipe_context *pipe,
- unsigned blocks_x, unsigned blocks_y);
+struct pipe_vertex_buffer vl_vb_upload_quads(struct pipe_context *pipe);
struct pipe_vertex_buffer vl_vb_upload_pos(struct pipe_context *pipe, unsigned width, unsigned height);
@@ -90,8 +86,11 @@ struct pipe_vertex_buffer vl_vb_get_mv(struct vl_vertex_buffer *buffer, int moti
void vl_vb_map(struct vl_vertex_buffer *buffer, struct pipe_context *pipe);
-void vl_vb_add_block(struct vl_vertex_buffer *buffer, struct pipe_mpeg12_macroblock *mb,
- const unsigned (*empty_block_mask)[3][2][2]);
+void vl_vb_add_ycbcr(struct vl_vertex_buffer *buffer,
+ unsigned component, unsigned x, unsigned y,
+ bool intra, enum pipe_mpeg12_dct_type type);
+
+void vl_vb_add_block(struct vl_vertex_buffer *buffer, struct pipe_mpeg12_macroblock *mb);
void vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe);