diff options
author | Christian König <[email protected]> | 2011-04-17 18:53:22 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-04-17 18:53:22 +0200 |
commit | b8a6e0e6fc451096d684a1e18529ab4879cdba0a (patch) | |
tree | 81b8fac092ebbd71c2ae4ae587bac0e5fc574584 /src/gallium/include | |
parent | 0a2310b375068694d5700395aededc3fe68a0f3a (diff) |
[g3dvl] give mv their own vertex buffer back
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_video_state.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 72a27938847..2cf5ea4d975 100644 --- a/src/gallium/include/pipe/p_video_state.h +++ b/src/gallium/include/pipe/p_video_state.h @@ -69,10 +69,13 @@ struct pipe_macroblock enum pipe_video_codec codec; }; -struct pipe_mpeg12_motionvector +struct pipe_motionvector { - signed x, y; - bool field_select; + struct { + signed x, y; + bool field_select; + unsigned wheight:8; + } top, bottom; }; struct pipe_mpeg12_macroblock @@ -84,10 +87,7 @@ struct pipe_mpeg12_macroblock enum pipe_mpeg12_motion_type mo_type; bool dct_intra; enum pipe_mpeg12_dct_type dct_type; - struct { - unsigned wheight:8; - struct pipe_mpeg12_motionvector top, bottom; - } mv[2]; + struct pipe_motionvector mv[2]; unsigned cbp; short *blocks; }; |