hardware/intel/common/libva
リビジョン | c60dd0e9152e234052cc65f64aa67ba451037381 (tree) |
---|---|
日時 | 2017-11-22 15:02:34 |
作者 | xfengcarl <carl.zhang@inte...> |
コミッター | Xiang, Haihao |
enhence enc feature for vp8
add tempral_id for current frame
Signed-off-by: xfengcarl <carl.zhang@intel.com>
@@ -130,8 +130,21 @@ typedef struct _VAEncPictureParameterBufferVP8 | ||
130 | 130 | uint32_t no_ref_gf : 1; |
131 | 131 | /* don't reference the alternate reference frame */ |
132 | 132 | uint32_t no_ref_arf : 1; |
133 | + /* The temporal id the frame belongs to. */ | |
134 | + uint32_t temporal_id : 8; | |
135 | + /** | |
136 | + * following two flags indicate the reference order | |
137 | + * LastRef is specified by 01b; | |
138 | + * GoldRef is specified by 10b; | |
139 | + * AltRef is specified by 11b; | |
140 | + * first_ref specifies the reference frame which is searched first. | |
141 | + * second_ref specifies the reference frame which is searched second | |
142 | + * if there is. | |
143 | + */ | |
144 | + uint32_t first_ref : 2; | |
145 | + uint32_t second_ref : 2; | |
133 | 146 | /** \brief Reserved for future use, must be zero */ |
134 | - uint32_t reserved : 28; | |
147 | + uint32_t reserved : 16; | |
135 | 148 | } bits; |
136 | 149 | uint32_t value; |
137 | 150 | } ref_flags; |