diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-25 10:27:43 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-25 10:27:43 +0000 |
commit | adcec46a836ae6843953cff70407483eb0750159 (patch) | |
tree | a7bd00dc67d47534d7475d496e9296f55aa317b3 /libswscale/swscale.c | |
parent | f66e4f5f9eac8eb022fad4f85d8d2e99b26c254f (diff) | |
download | ffmpeg-adcec46a836ae6843953cff70407483eb0750159.tar.gz |
Add av_ prefix to clip functions
Originally committed as revision 22339 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 1e084b36c6..0c1f8f3f45 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -316,7 +316,7 @@ static inline void yuv2yuvXinC(int16_t *lumFilter, int16_t **lumSrc, int lumFilt for(j=0; j<lumFilterSize; j++) val += lumSrc[j][i] * lumFilter[j]; - dest[i]= clip_uint8(val>>19); + dest[i]= av_clip_uint8(val>>19); } if(uDest != NULL) @@ -331,8 +331,8 @@ static inline void yuv2yuvXinC(int16_t *lumFilter, int16_t **lumSrc, int lumFilt v += chrSrc[j][i + 2048] * chrFilter[j]; } - uDest[i]= clip_uint8(u>>19); - vDest[i]= clip_uint8(v>>19); + uDest[i]= av_clip_uint8(u>>19); + vDest[i]= av_clip_uint8(v>>19); } } @@ -349,7 +349,7 @@ static inline void yuv2nv12XinC(int16_t *lumFilter, int16_t **lumSrc, int lumFil for(j=0; j<lumFilterSize; j++) val += lumSrc[j][i] * lumFilter[j]; - dest[i]= clip_uint8(val>>19); + dest[i]= av_clip_uint8(val>>19); } if(uDest == NULL) @@ -367,8 +367,8 @@ static inline void yuv2nv12XinC(int16_t *lumFilter, int16_t **lumSrc, int lumFil v += chrSrc[j][i + 2048] * chrFilter[j]; } - uDest[2*i]= clip_uint8(u>>19); - uDest[2*i+1]= clip_uint8(v>>19); + uDest[2*i]= av_clip_uint8(u>>19); + uDest[2*i+1]= av_clip_uint8(v>>19); } else for(i=0; i<chrDstW; i++) @@ -382,8 +382,8 @@ static inline void yuv2nv12XinC(int16_t *lumFilter, int16_t **lumSrc, int lumFil v += chrSrc[j][i + 2048] * chrFilter[j]; } - uDest[2*i]= clip_uint8(v>>19); - uDest[2*i+1]= clip_uint8(u>>19); + uDest[2*i]= av_clip_uint8(v>>19); + uDest[2*i+1]= av_clip_uint8(u>>19); } } @@ -1465,7 +1465,7 @@ static void globalInit(void){ // generating tables: int i; for(i=0; i<768; i++){ - int c= clip_uint8(i-256); + int c= av_clip_uint8(i-256); clip_table[i]=c; } } |