• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revisiónf24804c1e2938e0e2fe85ecab9199615b6fa1416 (tree)
Tiempo2014-07-18 21:04:08
AutorAustin Yuan <shengquan.yuan@inte...>
CommiterXiang, Haihao

Log Message

va_enc_vp8: update the vp8 interface again

previous update missed some changes

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 34035a18a7e963da536e15e9dea32f77cde8577f)

Cambiar Resumen

Diferencia incremental

--- a/va/va_enc_vp8.h
+++ b/va/va_enc_vp8.h
@@ -122,12 +122,25 @@ typedef struct _VAEncPictureParameterBufferVP8
122122 struct {
123123 /* force this frame to be a keyframe */
124124 unsigned int force_kf : 1;
125- /* don't reference the last frame */
125+ /* don't reference the last frame */
126126 unsigned int no_ref_last : 1;
127- /* don't reference the golden frame */
127+ /* don't reference the golden frame */
128128 unsigned int no_ref_gf : 1;
129- /* don't reference the alternate reference frame */
129+ /* don't reference the alternate reference frame */
130130 unsigned int no_ref_arf : 1;
131+ unsigned int reserved : 28;
132+ } bits;
133+ unsigned int value;
134+ } ref_flags;
135+
136+ union {
137+ struct {
138+ /* version */
139+ unsigned int version : 3;
140+ /* show_frame */
141+ unsigned int show_frame : 1;
142+ /* color_space */
143+ unsigned int color_space : 1;
131144 /* 0: bicubic, 1: bilinear, other: none */
132145 unsigned int recon_filter_type : 2;
133146 /* 0: no loop fitler, 1: simple loop filter */
@@ -216,7 +229,7 @@ typedef struct _VAEncPictureParameterBufferVP8
216229 * Encoder application is advised to set this flag to 1 at key frames.
217230 */
218231 unsigned int forced_lf_adjustment : 1;
219- unsigned int reserved : 4;
232+ unsigned int reserved : 3;
220233 } bits;
221234 unsigned int value;
222235 } pic_flags;
@@ -301,9 +314,6 @@ typedef struct _VAEncMBMapBufferVP8
301314 */
302315 typedef struct _VAQMatrixBufferVP8
303316 {
304- /*
305- * array first dimensional is segment and 2nd dimensional is Q index
306- */
307317 unsigned short quantization_index[4];
308318 short quantization_index_delta[5];
309319 } VAQMatrixBufferVP8;