summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/g3dvl/vl_types.h
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2008-06-28 20:16:01 -0400
committerYounes Manton <younes.m@gmail.com>2008-06-30 10:11:02 -0400
commit3933fec6bd62285506fecdc3a254306648cfefb2 (patch)
tree62e9f0e1832a853d789a67c22f434a56cf5e69be /src/gallium/state_trackers/g3dvl/vl_types.h
parent0a6aec8c0f2173cfb95ce95d12b66f090ea0ba1f (diff)
g3dvl: Support for field and frame based MC for progressive pictures.
MC support for frame and field based motion prediction. Also various bug fixes, clean up.
Diffstat (limited to 'src/gallium/state_trackers/g3dvl/vl_types.h')
-rw-r--r--src/gallium/state_trackers/g3dvl/vl_types.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/g3dvl/vl_types.h b/src/gallium/state_trackers/g3dvl/vl_types.h
index 7040b74503..97753699db 100644
--- a/src/gallium/state_trackers/g3dvl/vl_types.h
+++ b/src/gallium/state_trackers/g3dvl/vl_types.h
@@ -36,7 +36,9 @@ enum VL_SAMPLE_TYPE
enum VL_MC_TYPE
{
VL_FIELD_MC,
- VL_FRAME_MC
+ VL_FRAME_MC,
+ VL_DUAL_PRIME_MC,
+ VL_16x8_MC = VL_FRAME_MC
};
struct VL_VERTEX4F
@@ -58,13 +60,19 @@ struct VL_MC_VS_CONSTS
{
struct VL_VERTEX4F scale;
struct VL_VERTEX4F mb_pos_trans;
- struct VL_VERTEX4F mb_tc_trans[2];
+ struct VL_VERTEX4F denorm;
+ struct
+ {
+ struct VL_VERTEX4F top_field;
+ struct VL_VERTEX4F bottom_field;
+ } mb_tc_trans[2];
};
struct VL_MC_FS_CONSTS
{
struct VL_VERTEX4F multiplier;
struct VL_VERTEX4F bias;
+ struct VL_VERTEX4F y_divider;
};
struct VL_CSC_FS_CONSTS