Revision 2f16af06 libavcodec/motion_est.c

View differences:

libavcodec/motion_est.c
1843 1843
    get_limits(s, 16*mb_x, 16*mb_y);
1844 1844

  
1845 1845
    c->skip=0;
1846

  
1847
    if(s->codec_id == CODEC_ID_MPEG4 && s->next_picture.mbskip_table[xy]){
1848
        int score= direct_search(s, mb_x, mb_y); //FIXME just check 0,0
1849

  
1850
        score= ((unsigned)(score*score + 128*256))>>16;
1851
        c->mc_mb_var_sum_temp += score;
1852
        s->current_picture.mc_mb_var[mb_y*s->mb_stride + mb_x] = score; //FIXME use SSE
1853
        s->mb_type[mb_y*s->mb_stride + mb_x]= CANDIDATE_MB_TYPE_DIRECT0;
1854

  
1855
        return;
1856
    }
1857

  
1846 1858
    if(c->avctx->me_threshold){
1847 1859
        int vard= check_input_motion(s, mb_x, mb_y, 0);
1848 1860

  

Also available in: Unified diff