• 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/intel-driver


Commit MetaInfo

Revisiónf509640c60d441beb9b846d64f757073619f6bda (tree)
Tiempo2015-04-29 16:58:07
AutorXiang, Haihao <haihao.xiang@inte...>
CommiterXiang, Haihao

Log Message

HEVC/dec: Make sure the derived value for ChromaLog2WeightDenom is in the the range of 0 to 7

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>

Cambiar Resumen

Diferencia incremental

--- a/src/gen9_mfd.c
+++ b/src/gen9_mfd.c
@@ -814,7 +814,7 @@ gen9_hcpd_slice_state(VADriverContextP ctx,
814814 (5 - slice_param->five_minus_max_num_merge_cand - 1) << 23 |
815815 slice_param->LongSliceFlags.fields.cabac_init_flag << 22 |
816816 slice_param->luma_log2_weight_denom << 19 |
817- (slice_param->luma_log2_weight_denom + slice_param->delta_chroma_log2_weight_denom) << 16 |
817+ ((slice_param->luma_log2_weight_denom + slice_param->delta_chroma_log2_weight_denom) & 0x7) << 16 |
818818 slice_param->LongSliceFlags.fields.collocated_from_l0_flag << 15 |
819819 gen9_hcpd_is_low_delay(ctx, pic_param, slice_param) << 14 |
820820 slice_param->LongSliceFlags.fields.mvd_l1_zero_flag << 13 |