Commit 444bd232 authored by kostya's avatar kostya

Drop redundant check in RV3/4 deblock coefficients calculation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15792 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fe0b7642
...@@ -1085,8 +1085,6 @@ static int rv34_set_deblock_coef(RV34DecContext *r) ...@@ -1085,8 +1085,6 @@ static int rv34_set_deblock_coef(RV34DecContext *r)
int mvmask = 0, i, j; int mvmask = 0, i, j;
int midx = s->mb_x * 2 + s->mb_y * 2 * s->b8_stride; int midx = s->mb_x * 2 + s->mb_y * 2 * s->b8_stride;
int16_t (*motion_val)[2] = s->current_picture_ptr->motion_val[0][midx]; int16_t (*motion_val)[2] = s->current_picture_ptr->motion_val[0][midx];
if(s->pict_type == FF_I_TYPE)
return 0;
for(j = 0; j < 16; j += 8){ for(j = 0; j < 16; j += 8){
for(i = 0; i < 2; i++){ for(i = 0; i < 2; i++){
if(is_mv_diff_gt_3(motion_val + i, 1)) if(is_mv_diff_gt_3(motion_val + i, 1))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment