diff options
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_video_state.h | 12 |
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; }; |