summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-04-09 20:38:20 +0200
committerChristian König <[email protected]>2011-04-09 20:38:20 +0200
commit7a5390b06fea99f85ab47d40d8dc40e40e0f2ab8 (patch)
tree1a24db455c40676461e8c6aac2cf492f9077c104 /src/gallium/include
parent44477ac489a34402d9d3314857fd2358a5e58e48 (diff)
[g3dvl] make mv weights a public interface
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_video_state.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index c620472283d..72a27938847 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -50,16 +50,6 @@ enum pipe_mpeg12_picture_type
PIPE_MPEG12_PICTURE_TYPE_FRAME
};
-enum pipe_mpeg12_macroblock_type
-{
- PIPE_MPEG12_MACROBLOCK_TYPE_INTRA,
- PIPE_MPEG12_MACROBLOCK_TYPE_FWD,
- PIPE_MPEG12_MACROBLOCK_TYPE_BKWD,
- PIPE_MPEG12_MACROBLOCK_TYPE_BI,
-
- PIPE_MPEG12_MACROBLOCK_NUM_TYPES
-};
-
enum pipe_mpeg12_motion_type
{
PIPE_MPEG12_MOTION_TYPE_FIELD,
@@ -91,10 +81,11 @@ struct pipe_mpeg12_macroblock
unsigned mbx;
unsigned mby;
- enum pipe_mpeg12_macroblock_type mb_type;
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];
unsigned cbp;