Revision 755bfeab libavcodec/snow.c

View differences:

libavcodec/snow.c
2112 2112
            my= ref_my;
2113 2113
        }
2114 2114
    }
2115
    //FIXME if mb_cmp != SSE then intra cant be compared currently and mb_penalty vs. lambda2
2115
    //FIXME if mb_cmp != SSE then intra cannot be compared currently and mb_penalty vs. lambda2
2116 2116

  
2117 2117
  //  subpel search
2118 2118
    base_bits= get_rac_count(&s->c) - 8*(s->c.bytestream - s->c.bytestream_start);
......
2892 2892
    }
2893 2893
    *b= backup;
2894 2894

  
2895
    return av_clip(((ab<<LOG2_OBMC_MAX) + aa/2)/aa, 0, 255); //FIXME we shouldnt need cliping
2895
    return av_clip(((ab<<LOG2_OBMC_MAX) + aa/2)/aa, 0, 255); //FIXME we should not need clipping
2896 2896
}
2897 2897

  
2898 2898
static inline int get_block_bits(SnowContext *s, int x, int y, int w){
......
3276 3276
                for(i=0; i<3; i++)
3277 3277
                    color[i]= get_dc(s, mb_x, mb_y, i);
3278 3278

  
3279
                // get previous score (cant be cached due to OBMC)
3279
                // get previous score (cannot be cached due to OBMC)
3280 3280
                if(pass > 0 && (block->type&BLOCK_INTRA)){
3281 3281
                    int color0[3]= {block->color[0], block->color[1], block->color[2]};
3282 3282
                    check_block(s, mb_x, mb_y, color0, 1, *obmc_edged, &best_rd);

Also available in: Unified diff