Lines Matching refs:padleft
141 enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, in av_picture_pad() argument
161 if (padtop || padleft) { in av_picture_pad()
163 dst->linesize[0] * padtop + (padleft * max_step[0])); in av_picture_pad()
166 if (padleft || padright) { in av_picture_pad()
171 memset(optr, color[0], (padleft + padright) * max_step[0]); in av_picture_pad()
190 if (padtop || padleft) { in av_picture_pad()
192 dst->linesize[i] * (padtop >> y_shift) + (padleft >> x_shift)); in av_picture_pad()
195 if (padleft || padright) { in av_picture_pad()
200 memset(optr, color[i], (padleft + padright) >> x_shift); in av_picture_pad()
208 (padleft >> x_shift); in av_picture_pad()
209 memcpy(optr, iptr, (width - padleft - padright) >> x_shift); in av_picture_pad()
215 memset(optr, color[i], (padleft + padright) >> x_shift); in av_picture_pad()
216 memcpy(optr + ((padleft + padright) >> x_shift), iptr, in av_picture_pad()
217 (width - padleft - padright) >> x_shift); in av_picture_pad()