Mercurial > libavcodec.hg
comparison dsputil.h @ 6056:558c1fd0ee72 libavcodec
Fix typo in macro name: WARPER8_16_SQ --> WRAPPER8_16_SQ.
author | diego |
---|---|
date | Fri, 21 Dec 2007 12:38:41 +0000 |
parents | 90de28dfd8d6 |
children | 5077d1562573 |
comparison
equal
deleted
inserted
replaced
6055:bc22d052c6e5 | 6056:558c1fd0ee72 |
---|---|
654 const FFTSample *input, FFTSample *tmp); | 654 const FFTSample *input, FFTSample *tmp); |
655 void ff_mdct_calc(MDCTContext *s, FFTSample *out, | 655 void ff_mdct_calc(MDCTContext *s, FFTSample *out, |
656 const FFTSample *input, FFTSample *tmp); | 656 const FFTSample *input, FFTSample *tmp); |
657 void ff_mdct_end(MDCTContext *s); | 657 void ff_mdct_end(MDCTContext *s); |
658 | 658 |
659 #define WARPER8_16(name8, name16)\ | 659 #define WRAPPER8_16(name8, name16)\ |
660 static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\ | 660 static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\ |
661 return name8(s, dst , src , stride, h)\ | 661 return name8(s, dst , src , stride, h)\ |
662 +name8(s, dst+8 , src+8 , stride, h);\ | 662 +name8(s, dst+8 , src+8 , stride, h);\ |
663 } | 663 } |
664 | 664 |
665 #define WARPER8_16_SQ(name8, name16)\ | 665 #define WRAPPER8_16_SQ(name8, name16)\ |
666 static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\ | 666 static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\ |
667 int score=0;\ | 667 int score=0;\ |
668 score +=name8(s, dst , src , stride, 8);\ | 668 score +=name8(s, dst , src , stride, 8);\ |
669 score +=name8(s, dst+8 , src+8 , stride, 8);\ | 669 score +=name8(s, dst+8 , src+8 , stride, 8);\ |
670 if(h==16){\ | 670 if(h==16){\ |