summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-03-20 21:34:38 +0100
committerChristian König <[email protected]>2011-03-20 21:34:38 +0100
commitbac8760f7f3523e9b6d5b2fd7cd46091d4883f5e (patch)
treee51e66976f8c5c965309ae7a0fbaab9ca891dd97 /src/gallium/include
parentdd6cd206a6395be651bc965580e17c0d63513c7b (diff)
[g3dvl] rename motion vector fields
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_video_state.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index 1cb555b5381..c620472283d 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -74,12 +74,17 @@ enum pipe_mpeg12_dct_type
PIPE_MPEG12_DCT_TYPE_FRAME
};
-
struct pipe_macroblock
{
enum pipe_video_codec codec;
};
+struct pipe_mpeg12_motionvector
+{
+ signed x, y;
+ bool field_select;
+};
+
struct pipe_mpeg12_macroblock
{
struct pipe_macroblock base;
@@ -89,8 +94,9 @@ struct pipe_mpeg12_macroblock
enum pipe_mpeg12_macroblock_type mb_type;
enum pipe_mpeg12_motion_type mo_type;
enum pipe_mpeg12_dct_type dct_type;
- signed pmv[2][2][2];
- bool mvfs[2][2];
+ struct {
+ struct pipe_mpeg12_motionvector top, bottom;
+ } mv[2];
unsigned cbp;
short *blocks;
};