Revision d1d10e91 libavcodec/h264pred.c

View differences:

libavcodec/h264pred.c
690 690
    }
691 691
}
692 692

  
693
//the following 4 function should not be optimized!
694
static void pred8x8_mad_cow_dc_l0t(uint8_t *src, int stride){
695
    pred8x8_top_dc_c(src, stride);
696
    pred4x4_dc_c(src, NULL, stride);
697
}
698

  
699
static void pred8x8_mad_cow_dc_0lt(uint8_t *src, int stride){
700
    pred8x8_dc_c(src, stride);
701
    pred4x4_top_dc_c(src, NULL, stride);
702
}
703

  
704
static void pred8x8_mad_cow_dc_l00(uint8_t *src, int stride){
705
    pred8x8_left_dc_c(src, stride);
706
    pred4x4_128_dc_c(src + 4*stride    , NULL, stride);
707
    pred4x4_128_dc_c(src + 4*stride + 4, NULL, stride);
708
}
709

  
710
static void pred8x8_mad_cow_dc_0l0(uint8_t *src, int stride){
711
    pred8x8_left_dc_c(src, stride);
712
    pred4x4_128_dc_c(src    , NULL, stride);
713
    pred4x4_128_dc_c(src + 4, NULL, stride);
714
}
715

  
693 716
static void pred8x8_dc_rv40_c(uint8_t *src, int stride){
694 717
    int i;
695 718
    int dc0=0;
......
1046 1069
        h->pred8x8[DC_PRED8x8     ]= pred8x8_dc_c;
1047 1070
        h->pred8x8[LEFT_DC_PRED8x8]= pred8x8_left_dc_c;
1048 1071
        h->pred8x8[TOP_DC_PRED8x8 ]= pred8x8_top_dc_c;
1072
        h->pred8x8[ALZHEIMER_DC_L0T_PRED8x8 ]= pred8x8_mad_cow_dc_l0t;
1073
        h->pred8x8[ALZHEIMER_DC_0LT_PRED8x8 ]= pred8x8_mad_cow_dc_0lt;
1074
        h->pred8x8[ALZHEIMER_DC_L00_PRED8x8 ]= pred8x8_mad_cow_dc_l00;
1075
        h->pred8x8[ALZHEIMER_DC_0L0_PRED8x8 ]= pred8x8_mad_cow_dc_0l0;
1049 1076
    }else{
1050 1077
        h->pred8x8[DC_PRED8x8     ]= pred8x8_dc_rv40_c;
1051 1078
        h->pred8x8[LEFT_DC_PRED8x8]= pred8x8_left_dc_rv40_c;

Also available in: Unified diff