Revision 79396ac6 libavcodec/i386/dsputil_mmx.c

View differences:

libavcodec/i386/dsputil_mmx.c
1080 1080
      return tmp + hf_noise8_mmx(pix+8, line_size, h);
1081 1081
}
1082 1082

  
1083
static int nsse16_mmx(MpegEncContext *c, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
1083
static int nsse16_mmx(void *p, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
1084
    MpegEncContext *c = p;
1084 1085
    int score1= sse16_mmx(c, pix1, pix2, line_size, h);
1085 1086
    int score2= hf_noise16_mmx(pix1, line_size, h) - hf_noise16_mmx(pix2, line_size, h);
1086 1087

  
......
1088 1089
    else  return score1 + ABS(score2)*8;
1089 1090
}
1090 1091

  
1091
static int nsse8_mmx(MpegEncContext *c, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
1092
static int nsse8_mmx(void *p, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
1093
    MpegEncContext *c = p;
1092 1094
    int score1= sse8_mmx(c, pix1, pix2, line_size, h);
1093 1095
    int score2= hf_noise8_mmx(pix1, line_size, h) - hf_noise8_mmx(pix2, line_size, h);
1094 1096

  

Also available in: Unified diff