/third_party/ffmpeg/libswscale/x86/ |
D | hscale_fast_bilinear_simd.c | 30 av_cold int ff_init_hscaler_mmxext(int dstW, int xInc, uint8_t *filterCode, in ff_init_hscaler_mmxext() argument 139 int b = ((xpos + xInc) >> 16) - xx; in ff_init_hscaler_mmxext() 140 int c = ((xpos + xInc * 2) >> 16) - xx; in ff_init_hscaler_mmxext() 141 int d = ((xpos + xInc * 3) >> 16) - xx; in ff_init_hscaler_mmxext() 152 filter[i + 1] = (((xpos + xInc) & 0xFFFF) ^ 0xFFFF) >> 9; in ff_init_hscaler_mmxext() 153 filter[i + 2] = (((xpos + xInc * 2) & 0xFFFF) ^ 0xFFFF) >> 9; in ff_init_hscaler_mmxext() 154 filter[i + 3] = (((xpos + xInc * 3) & 0xFFFF) ^ 0xFFFF) >> 9; in ff_init_hscaler_mmxext() 184 xpos += xInc; in ff_init_hscaler_mmxext() 194 int srcW, int xInc) in ff_hyscale_fast_mmxext() argument 278 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) in ff_hyscale_fast_mmxext() [all …]
|
/third_party/ffmpeg/libswscale/ |
D | hscale_fast_bilinear.c | 24 const uint8_t *src, int srcW, int xInc) in ff_hyscale_fast_c() argument 32 xpos += xInc; in ff_hyscale_fast_c() 34 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) in ff_hyscale_fast_c() 40 const uint8_t *src2, int srcW, int xInc) in ff_hcscale_fast_c() argument 49 xpos += xInc; in ff_hcscale_fast_c() 51 for (i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) { in ff_hcscale_fast_c()
|
D | hscale.c | 29 int xInc; member 43 int xInc = instance->xInc; in lum_h_scale() local 54 c->hyscale_fast(c, (int16_t*)dst[dst_pos], dstW, src[src_pos], srcW, xInc); in lum_h_scale() 75 c->hyscale_fast(c, (int16_t*)dst[dst_pos], dstW, src[src_pos], srcW, xInc); in lum_h_scale() 144 …*desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int * filter_pos, int filter_size, int xInc) in ff_init_desc_hscale() argument 153 li->xInc = xInc; in ff_init_desc_hscale() 171 int xInc = instance->xInc; in chr_h_scale() local 187 …t1[dst_pos1+i], (uint16_t*)dst2[dst_pos2+i], dstW, src1[src_pos1+i], src2[src_pos2+i], srcW, xInc); in chr_h_scale() 250 …*desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int * filter_pos, int filter_size, int xInc) in ff_init_desc_chscale() argument 259 li->xInc = xInc; in ff_init_desc_chscale()
|
D | swscale_internal.h | 573 const uint8_t *src, int srcW, int xInc); 577 int srcW, int xInc); 891 const uint8_t *src, int srcW, int xInc); 894 const uint8_t *src2, int srcW, int xInc); 895 int ff_init_hscaler_mmxext(int dstW, int xInc, uint8_t *filterCode, 900 int srcW, int xInc); 903 const uint8_t *src2, int srcW, int xInc); 1038 …desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int * filter_pos, int filter_size, int xInc); 1044 …desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int * filter_pos, int filter_size, int xInc);
|
D | utils.c | 338 int *outFilterSize, int xInc, int srcW, in initFilter() argument 359 if (FFABS(xInc - 0x10000) < 10 && srcPos == dstPos) { // unscaled in initFilter() 376 xDstInSrc = ((dstPos*(int64_t)xInc)>>8) - ((srcPos*0x8000LL)>>7); in initFilter() 382 xDstInSrc += xInc; in initFilter() 384 } else if ((xInc <= (1 << 16) && (flags & SWS_AREA)) || in initFilter() 392 xDstInSrc = ((dstPos*(int64_t)xInc)>>8) - ((srcPos*0x8000LL)>>7); in initFilter() 406 xDstInSrc += xInc; in initFilter() 422 if (xInc <= 1 << 16) in initFilter() 432 xDstInSrc = ((dstPos*(int64_t)xInc)>>7) - ((srcPos*0x10000LL)>>7); in initFilter() 442 if (xInc > 1 << 16) in initFilter() [all …]
|
/third_party/ffmpeg/libswscale/ppc/ |
D | swscale_vsx.c | 1670 const uint8_t *src, int srcW, int xInc) in hyscale_fast_vsx() argument 1681 xInc * 1, in hyscale_fast_vsx() 1682 xInc * 2, in hyscale_fast_vsx() 1683 xInc * 3, in hyscale_fast_vsx() 1687 xInc * 1, in hyscale_fast_vsx() 1688 xInc * 2, in hyscale_fast_vsx() 1689 xInc * 3, in hyscale_fast_vsx() 1690 xInc * 4, in hyscale_fast_vsx() 1691 xInc * 5, in hyscale_fast_vsx() 1692 xInc * 6, in hyscale_fast_vsx() [all …]
|