• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

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

Révisioncec8f05596a4bf11070fffeec1b4c7e5b7d44323 (tree)
l'heure2015-09-06 14:28:11
AuteurLim Siew Hoon <siew.hoon.lim@inte...>
CommiterXiang, Haihao

Message de Log

Clean up the duplicate extra two line of code

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>

Change Summary

Modification

--- a/src/gen75_mfd.c
+++ b/src/gen75_mfd.c
@@ -1919,9 +1919,6 @@ gen75_mfd_vc1_pred_pipe_state(VADriverContextP ctx,
19191919
19201920 assert(decode_state->pic_param && decode_state->pic_param->buffer);
19211921 pic_param = (VAPictureParameterBufferVC1 *)decode_state->pic_param->buffer;
1922-
1923- assert(decode_state->pic_param && decode_state->pic_param->buffer);
1924- pic_param = (VAPictureParameterBufferVC1 *)decode_state->pic_param->buffer;
19251922 intensitycomp_single = (pic_param->mv_fields.bits.mv_mode == VAMvModeIntensityCompensation);
19261923
19271924 BEGIN_BCS_BATCH(batch, 6);
--- a/src/gen7_mfd.c
+++ b/src/gen7_mfd.c
@@ -1654,9 +1654,6 @@ gen7_mfd_vc1_pred_pipe_state(VADriverContextP ctx,
16541654
16551655 assert(decode_state->pic_param && decode_state->pic_param->buffer);
16561656 pic_param = (VAPictureParameterBufferVC1 *)decode_state->pic_param->buffer;
1657-
1658- assert(decode_state->pic_param && decode_state->pic_param->buffer);
1659- pic_param = (VAPictureParameterBufferVC1 *)decode_state->pic_param->buffer;
16601657 intensitycomp_single = (pic_param->mv_fields.bits.mv_mode == VAMvModeIntensityCompensation);
16611658
16621659 BEGIN_BCS_BATCH(batch, 6);
--- a/src/gen8_mfd.c
+++ b/src/gen8_mfd.c
@@ -1679,9 +1679,6 @@ gen8_mfd_vc1_pred_pipe_state(VADriverContextP ctx,
16791679
16801680 assert(decode_state->pic_param && decode_state->pic_param->buffer);
16811681 pic_param = (VAPictureParameterBufferVC1 *)decode_state->pic_param->buffer;
1682-
1683- assert(decode_state->pic_param && decode_state->pic_param->buffer);
1684- pic_param = (VAPictureParameterBufferVC1 *)decode_state->pic_param->buffer;
16851682 intensitycomp_single = (pic_param->mv_fields.bits.mv_mode == VAMvModeIntensityCompensation);
16861683
16871684 BEGIN_BCS_BATCH(batch, 6);