/third_party/ffmpeg/libswscale/ |
D | output.c | 145 yuv2plane1_16_c_template(const int32_t *src, uint16_t *dest, int dstW, in yuv2plane1_16_c_template() argument 152 for (i = 0; i < dstW; i++) { in yuv2plane1_16_c_template() 160 const int32_t **src, uint16_t *dest, int dstW, in yuv2planeX_16_c_template() argument 167 for (i = 0; i < dstW; i++) { in yuv2planeX_16_c_template() 214 yuv2plane1_float_c_template(const int32_t *src, float *dest, int dstW) in yuv2plane1_float_c_template() argument 222 for (i = 0; i < dstW; ++i){ in yuv2plane1_float_c_template() 230 yuv2plane1_float_bswap_c_template(const int32_t *src, uint32_t *dest, int dstW) in yuv2plane1_float_bswap_c_template() argument 238 for (i = 0; i < dstW; ++i){ in yuv2plane1_float_bswap_c_template() 247 float *dest, int dstW) in yuv2planeX_float_c_template() argument 255 for (i = 0; i < dstW; ++i){ in yuv2planeX_float_c_template() [all …]
|
D | utils.c | 339 int dstW, int filterAlign, int one, in initFilter() argument 350 const int64_t fone = 1LL << (54 - FFMIN(av_log2(srcW/dstW), 8)); in initFilter() 356 if (!FF_ALLOC_TYPED_ARRAY(*filterPos, dstW + 3)) in initFilter() 362 if (!FF_ALLOCZ_TYPED_ARRAY(filter, dstW * filterSize)) in initFilter() 365 for (i = 0; i < dstW; i++) { in initFilter() 373 if (!FF_ALLOC_TYPED_ARRAY(filter, dstW * filterSize)) in initFilter() 377 for (i = 0; i < dstW; i++) { in initFilter() 389 if (!FF_ALLOC_TYPED_ARRAY(filter, dstW * filterSize)) in initFilter() 393 for (i = 0; i < dstW; i++) { in initFilter() 425 filterSize = 1 + (sizeFactor * srcW + dstW - 1) / dstW; in initFilter() [all …]
|
D | vscale.c | 43 int dstW = desc->dst->width; in lum_planar_vscale() local 53 inst->pfn.yuv2planar1((const int16_t*)src[0], dst[0], dstW, c->lumDither8, 0); in lum_planar_vscale() 55 …inst->pfn.yuv2planarX(filter, inst->filter_size, (const int16_t**)src, dst[0], dstW, c->lumDither8… in lum_planar_vscale() 65 inst->pfn.yuv2planar1((const int16_t*)src[0], dst[0], dstW, c->lumDither8, 0); in lum_planar_vscale() 67 …inst->pfn.yuv2planarX(filter, inst->filter_size, (const int16_t**)src, dst[0], dstW, c->lumDither8… in lum_planar_vscale() 80 int dstW = AV_CEIL_RSHIFT(desc->dst->width, desc->dst->h_chr_sub_sample); in chr_planar_vscale() local 95 …hrDither8, filter, inst->filter_size, (const int16_t**)src1, (const int16_t**)src2, dst1[0], dstW); in chr_planar_vscale() 97 inst->pfn.yuv2planar1((const int16_t*)src1[0], dst1[0], dstW, c->chrDither8, 0); in chr_planar_vscale() 98 inst->pfn.yuv2planar1((const int16_t*)src2[0], dst2[0], dstW, c->chrDither8, 3); in chr_planar_vscale() 100 …inst->pfn.yuv2planarX(filter, inst->filter_size, (const int16_t**)src1, dst1[0], dstW, c->chrDithe… in chr_planar_vscale() [all …]
|
D | hscale.c | 42 int dstW = desc->dst->width; 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() 56 … c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter, in lum_h_scale() 61 c->lumConvertRange((int16_t*)dst[dst_pos], dstW); in lum_h_scale() 75 c->hyscale_fast(c, (int16_t*)dst[dst_pos], dstW, src[src_pos], srcW, xInc); in lum_h_scale() 77 … c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter, in lum_h_scale() 170 int dstW = AV_CEIL_RSHIFT(desc->dst->width, desc->dst->h_chr_sub_sample); in chr_h_scale() local 187 …c->hcscale_fast(c, (uint16_t*)dst1[dst_pos1+i], (uint16_t*)dst2[dst_pos2+i], dstW, src1[src_pos1+i… in chr_h_scale() 189 …c->hcScale(c, (uint16_t*)dst1[dst_pos1+i], dstW, src1[src_pos1+i], instance->filter, instance->fil… in chr_h_scale() 190 …c->hcScale(c, (uint16_t*)dst2[dst_pos2+i], dstW, src2[src_pos2+i], instance->filter, instance->fil… in chr_h_scale() [all …]
|
D | swscale_internal.h | 99 typedef void (*yuv2planar1_fn)(const int16_t *src, uint8_t *dest, int dstW, 116 const int16_t **src, uint8_t *dest, int dstW, 141 uint8_t *dest, int dstW); 176 int dstW, int uvalpha, int y); 210 int dstW, int yalpha, int uvalpha, int y); 243 int dstW, int y); 277 int dstW, int y); 481 int dstW; ///< Width of destination luma/alpha planes. member 611 void (*hyScale)(struct SwsContext *c, int16_t *dst, int dstW, 614 void (*hcScale)(struct SwsContext *c, int16_t *dst, int dstW, [all …]
|
D | swscale.c | 67 static void hScale16To19_c(SwsContext *c, int16_t *_dst, int dstW, in hScale16To19_c() argument 84 for (i = 0; i < dstW; i++) { in hScale16To19_c() 97 static void hScale16To15_c(SwsContext *c, int16_t *dst, int dstW, in hScale16To15_c() argument 112 for (i = 0; i < dstW; i++) { in hScale16To15_c() 126 static void hScale8To15_c(SwsContext *c, int16_t *dst, int dstW, in hScale8To15_c() argument 131 for (i = 0; i < dstW; i++) { in hScale8To15_c() 142 static void hScale8To19_c(SwsContext *c, int16_t *_dst, int dstW, in hScale8To19_c() argument 148 for (i = 0; i < dstW; i++) { in hScale8To19_c() 244 const int dstW = c->dstW; in swscale() local 354 ff_init_slice_from_src(vout_slice, (uint8_t**)dst, dstStride, c->dstW, in swscale() [all …]
|
D | swscale.h | 187 int dstW, int dstH, enum AVPixelFormat dstFormat, 296 int dstW, int dstH, enum AVPixelFormat dstFormat,
|
/third_party/ffmpeg/tests/checkasm/ |
D | sw_scale.c | 42 const int16_t **src, uint8_t *dest, int dstW, in ref_function() argument 47 for ( i = 0; i < dstW; i++) { in ref_function() 66 int dstW; in check_yuv2yuvX() local 76 int dstW, const uint8_t *dither, int offset); in check_yuv2yuvX() 98 dstW = input_sizes[isi]; in check_yuv2yuvX() 110 if (check_func(ctx->yuv2planeX, "yuv2yuvX_%d_%d_%d", filter_sizes[fsi], osi, dstW)){ in check_yuv2yuvX() 118 … ref_function(&filter_coeff[0], filter_sizes[fsi], src, dst0, dstW - osi, dither, osi); in check_yuv2yuvX() 121 … call_new((const int16_t*)vFilterData, filter_sizes[fsi], src, dst1, dstW - osi, dither, osi); in check_yuv2yuvX() 124 if(dstW == LARGEST_INPUT_SIZE) in check_yuv2yuvX() 125 … bench_new((const int16_t*)vFilterData, filter_sizes[fsi], src, dst1, dstW - osi, dither, osi); in check_yuv2yuvX() [all …]
|
/third_party/ffmpeg/libswscale/ppc/ |
D | swscale_altivec.c | 118 yuv2plane1_float_u(const int32_t *src, float *dest, int dstW, int start) in yuv2plane1_float_u() argument 126 for (i = start; i < dstW; ++i){ in yuv2plane1_float_u() 134 yuv2plane1_float_bswap_u(const int32_t *src, uint32_t *dest, int dstW, int start) in yuv2plane1_float_bswap_u() argument 142 for (i = start; i < dstW; ++i){ in yuv2plane1_float_bswap_u() 149 static void yuv2plane1_float_altivec(const int32_t *src, float *dest, int dstW) in yuv2plane1_float_altivec() argument 167 for (i = dst_u; i < dstW - 3; i += 4) { in yuv2plane1_float_altivec() 179 yuv2plane1_float_u(src, dest, dstW, i); in yuv2plane1_float_altivec() 182 static void yuv2plane1_float_bswap_altivec(const int32_t *src, uint32_t *dest, int dstW) in yuv2plane1_float_bswap_altivec() argument 202 for (i = dst_u; i < dstW - 3; i += 4) { in yuv2plane1_float_bswap_altivec() 217 yuv2plane1_float_bswap_u(src, dest, dstW, i); in yuv2plane1_float_bswap_altivec() [all …]
|
D | swscale_ppc_template.c | 70 const int16_t **src, uint8_t *dest, int dstW, in yuv2planeX_u() argument 75 for (i = x; i < dstW; i++) { in yuv2planeX_u() 84 const int16_t **src, uint8_t *dest, int dstW, in FUNC() 92 for (i = dst_u; i < dstW - 15; i += 16) in FUNC() 96 yuv2planeX_u(filter, filterSize, src, dest, dstW, dither, offset, i); in FUNC() 99 static void FUNC(hScale_real)(SwsContext *c, int16_t *dst, int dstW, in FUNC() 107 for (i = 0; i < dstW; i++) { in FUNC() 118 for (i = 0; i < dstW; i++) { in FUNC() 136 for (i = 0; i < dstW; i++) { in FUNC() 155 for (i = 0; i < dstW; i++) { in FUNC() [all …]
|
D | swscale_vsx.c | 91 static void yuv2plane1_8_u(const int16_t *src, uint8_t *dest, int dstW, in yuv2plane1_8_u() argument 95 for (i = start; i < dstW; i++) { in yuv2plane1_8_u() 101 static void yuv2plane1_8_vsx(const int16_t *src, uint8_t *dest, int dstW, in yuv2plane1_8_vsx() argument 120 for (i = dst_u; i < dstW - 15; i += 16) { in yuv2plane1_8_vsx() 134 yuv2plane1_8_u(src, dest, dstW, dither, offset, i); in yuv2plane1_8_vsx() 146 static void yuv2plane1_nbps_u(const int16_t *src, uint16_t *dest, int dstW, in yuv2plane1_nbps_u() argument 152 for (i = start; i < dstW; i++) { in yuv2plane1_nbps_u() 159 uint16_t *dest, int dstW, in yuv2plane1_nbps_vsx() argument 176 for (i = dst_u; i < dstW - 7; i += 8) { in yuv2plane1_nbps_vsx() 185 yuv2plane1_nbps_u(src, dest, dstW, big_endian, output_bits, i); in yuv2plane1_nbps_vsx() [all …]
|
D | yuv2rgb_altivec.c | 643 int dstW, int dstY, in yuv2packedX_altivec() argument 664 for (i = 0; i < dstW; i += 16) { in yuv2packedX_altivec() 753 if (i < dstW) { in yuv2packedX_altivec() 837 memcpy(&((uint32_t *) dest)[i], scratch, (dstW - i) / 4); in yuv2packedX_altivec() 851 uint8_t *dest, int dstW, int dstY) \ 856 dest, dstW, dstY, pixfmt); \
|
D | yuv2rgb_altivec.h | 42 int dstW, int dstY);
|
/third_party/ffmpeg/libswscale/x86/ |
D | swscale_template.c | 263 uint8_t *dest, int dstW, int dstY) in RENAME() 266 x86_reg dstW_reg = dstW; in RENAME() 296 uint8_t *dest, int dstW, int dstY) in RENAME() 299 x86_reg dstW_reg = dstW; in RENAME() 325 uint8_t *dest, int dstW, int dstY) in RENAME() 328 x86_reg dstW_reg = dstW; in RENAME() 382 uint8_t *dest, int dstW, int dstY) in RENAME() 385 x86_reg dstW_reg = dstW; in RENAME() 406 uint8_t *dest, int dstW, int dstY) in RENAME() 409 x86_reg dstW_reg = dstW; in RENAME() [all …]
|
D | swscale.c | 194 uint8_t *dest, int dstW, \ 197 const int16_t **src, uint8_t *dest, int dstW, \ 200 if(dstW > 0) \ 201 … ff_yuv2yuvX_ ##opt(filter, filterSize - 1, 0, dest - offset, dstW + offset, dither, offset); \ 207 uint8_t *dest, int dstW, \ 210 const int16_t **src, uint8_t *dest, int dstW, \ 213 int remainder = (dstW % step); \ 214 int pixelsProcessed = dstW - remainder; \ 216 yuv2yuvX_mmx(filter, filterSize, src, dest, dstW, dither, offset); \ 243 int dstW, const uint8_t *src, \ [all …]
|
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 134 for (i = 0; i < dstW / numSplits; i++) { in ff_init_hscaler_mmxext() 167 if (i + 4 - inc >= dstW) in ff_init_hscaler_mmxext()
|
D | yuv2yuvX.asm | 31 ; int srcOffset, uint8_t *dest, int dstW, 37 cglobal yuv2yuvX, 7, 7, 8, filter, filterSize, src, dest, dstW, dither, offset
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 478 float dstW = (float)dst.getWidth(); in sampleTextureProjected() local 493 float nx = wx / dstW; in sampleTextureProjected() 497 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected() 519 float dstW = (float)dst.getWidth(); in sampleTextureProjected() local 537 float nx = wx / dstW; in sampleTextureProjected() 541 float triWx = triNdx ? dstW - wx : wx; in sampleTextureProjected() 637 const float dstW = float(dstSize.x()); in sampleTextureCube() local 655 const float nx = wx / dstW; in sampleTextureCube() 665 const tcu::Vec3 coordDx (triDerivateX(triS[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube() 666 triDerivateX(triT[triNdx], triW[triNdx], wx, dstW, triNy), in sampleTextureCube() [all …]
|
/third_party/ffmpeg/libswscale/tests/ |
D | swscale.c | 85 int srcW, int srcH, int dstW, int dstH, int flags, in doTest() argument 144 res = av_image_fill_linesizes(dstStride, dstFormat, dstW); in doTest() 168 dstContext = sws_getContext(srcW, srcH, srcFormat, dstW, dstH, dstFormat, in doTest() 179 desc_dst->name, dstW, dstH, in doTest() 205 outContext = sws_getContext(dstW, dstH, dstFormat, w, h, in doTest() 263 const int dstW[] = { srcW - srcW / 3, srcW, srcW + srcW / 3, 0 }; in selfTest() local 291 for (i = 0; dstW[i] && !res; i++) in selfTest() 295 srcW, srcH, dstW[i], dstH[j], flags[k], in selfTest() 319 int dstW = 0, dstH = 0; in fileTest() local 326 srcStr, &srcW, &srcH, dstStr, &dstW, &dstH, in fileTest() [all …]
|
/third_party/skia/src/core/ |
D | SkMask.cpp | 65 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX)); in PrepareDestination() local 69 size_t toAlloc = safe.mul(dstW, dstH); in PrepareDestination() 72 if (!SkTFitsIn<int>(dstW) || !SkTFitsIn<int>(dstH) || toAlloc > INT_MAX || !safe) { in PrepareDestination() 78 dst.fBounds.setWH(SkTo<int>(dstW), SkTo<int>(dstH)); in PrepareDestination() 81 dst.fRowBytes = SkTo<uint32_t>(dstW); in PrepareDestination()
|
D | SkMaskBlurFilter.cpp | 554 uint8_t* dst, int dstW) { in blur_row() argument 578 int dstTail = std::min(8, dstW - x); in blur_row() 587 int dstTail = dstW - x; in blur_row() 597 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in blur_x_rect() argument 607 blur_row(blur, g0, g1, g2, g3, g4, src, srcW, dst, dstW); in blur_x_rect() 615 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in direct_blur_x() argument 619 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 623 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 627 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 631 blur_x_rect(blur_x_radius_4, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() [all …]
|
/third_party/ffmpeg/libswscale/arm/ |
D | swscale.c | 24 void ff_hscale_8_to_15_neon(SwsContext *c, int16_t *dst, int dstW, 29 const int16_t **src, uint8_t *dest, int dstW,
|
/third_party/ffmpeg/libswscale/aarch64/ |
D | swscale.c | 24 void ff_hscale_8_to_15_neon(SwsContext *c, int16_t *dst, int dstW, 29 const int16_t **src, uint8_t *dest, int dstW,
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | ETC_Decoder.cpp | 677 bool ETC_Decoder::Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int … in Decode() argument 693 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 705 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 716 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode() 727 ETC2::DecodeBlock(&sources[0], &(alphaValues[0][0]), 1, x, y, dstW, dstH, 4, false, false); in Decode() 731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
|
D | ETC_Decoder.hpp | 40 …static bool Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH,…
|