hardware/intel/intel-driver
Révision | cec8f05596a4bf11070fffeec1b4c7e5b7d44323 (tree) |
---|---|
l'heure | 2015-09-06 14:28:11 |
Auteur | Lim Siew Hoon <siew.hoon.lim@inte...> |
Commiter | Xiang, Haihao |
Clean up the duplicate extra two line of code
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
@@ -1919,9 +1919,6 @@ gen75_mfd_vc1_pred_pipe_state(VADriverContextP ctx, | ||
1919 | 1919 | |
1920 | 1920 | assert(decode_state->pic_param && decode_state->pic_param->buffer); |
1921 | 1921 | 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; | |
1925 | 1922 | intensitycomp_single = (pic_param->mv_fields.bits.mv_mode == VAMvModeIntensityCompensation); |
1926 | 1923 | |
1927 | 1924 | BEGIN_BCS_BATCH(batch, 6); |
@@ -1654,9 +1654,6 @@ gen7_mfd_vc1_pred_pipe_state(VADriverContextP ctx, | ||
1654 | 1654 | |
1655 | 1655 | assert(decode_state->pic_param && decode_state->pic_param->buffer); |
1656 | 1656 | 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; | |
1660 | 1657 | intensitycomp_single = (pic_param->mv_fields.bits.mv_mode == VAMvModeIntensityCompensation); |
1661 | 1658 | |
1662 | 1659 | BEGIN_BCS_BATCH(batch, 6); |
@@ -1679,9 +1679,6 @@ gen8_mfd_vc1_pred_pipe_state(VADriverContextP ctx, | ||
1679 | 1679 | |
1680 | 1680 | assert(decode_state->pic_param && decode_state->pic_param->buffer); |
1681 | 1681 | 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; | |
1685 | 1682 | intensitycomp_single = (pic_param->mv_fields.bits.mv_mode == VAMvModeIntensityCompensation); |
1686 | 1683 | |
1687 | 1684 | BEGIN_BCS_BATCH(batch, 6); |