aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sh4
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-04-19 16:12:06 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-04-19 16:12:06 +0000
commita1ce61108b09d44965f883020f1b480d88f5f58a (patch)
tree2c78e6a2353d979c1aa00ca670bf7e5b441edc7c /libavcodec/sh4
parentb0b2faa70995caf710bf49c7c6eb6dc502a67672 (diff)
downloadffmpeg-a1ce61108b09d44965f883020f1b480d88f5f58a.tar.gz
Fix parts missed in clip -> av_clip rename
Originally committed as revision 8760 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sh4')
-rw-r--r--libavcodec/sh4/qpel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/sh4/qpel.c b/libavcodec/sh4/qpel.c
index 7a73ac50da..b3c418a9e1 100644
--- a/libavcodec/sh4/qpel.c
+++ b/libavcodec/sh4/qpel.c
@@ -449,19 +449,19 @@ static void gmc_c(uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy,
+ src[index+stride+1]* frac_x )* frac_y
+ r)>>(shift*2);
}else{
- index= src_x + clip(src_y, 0, height)*stride;
+ index= src_x + av_clip(src_y, 0, height)*stride;
dst[y*stride + x]= ( ( src[index ]*(s-frac_x)
+ src[index +1]* frac_x )*s
+ r)>>(shift*2);
}
}else{
if((unsigned)src_y < height){
- index= clip(src_x, 0, width) + src_y*stride;
+ index= av_clip(src_x, 0, width) + src_y*stride;
dst[y*stride + x]= ( ( src[index ]*(s-frac_y)
+ src[index+stride ]* frac_y )*s
+ r)>>(shift*2);
}else{
- index= clip(src_x, 0, width) + clip(src_y, 0, height)*stride;
+ index= av_clip(src_x, 0, width) + av_clip(src_y, 0, height)*stride;
dst[y*stride + x]= src[index ];
}
}