Lines Matching defs:x_shift
788 int x_shift;
794 x_shift = av_pix_fmt_descriptors[pix_fmt].log2_chroma_w;
797 dst->data[1] = src->data[1] + ((top_band >> y_shift) * src->linesize[1]) + (left_band >> x_shift);
798 dst->data[2] = src->data[2] + ((top_band >> y_shift) * src->linesize[2]) + (left_band >> x_shift);
812 int x_shift;
820 x_shift = i ? av_pix_fmt_descriptors[pix_fmt].log2_chroma_w : 0;
825 dst->linesize[i] * (padtop >> y_shift) + (padleft >> x_shift));
830 (dst->linesize[i] - (padright >> x_shift));
833 memset(optr, color[i], (padleft + padright) >> x_shift);
841 (padleft >> x_shift);
842 memcpy(optr, iptr, (width - padleft - padright) >> x_shift);
845 (dst->linesize[i] - (padright >> x_shift));
848 memset(optr, color[i], (padleft + padright) >> x_shift);
849 memcpy(optr + ((padleft + padright) >> x_shift), iptr,
850 (width - padleft - padright) >> x_shift);
858 ((height - padbottom) >> y_shift) - (padright >> x_shift);
860 (padbottom >> y_shift) + (padright >> x_shift));