/third_party/skia/gm/ |
D | gpu_blur_utils.cpp | 207 int srcH = srcRect.height(); in run() local 213 srcRect.makeOutset(srcW/5, srcH/5) in run() 218 SkIRect::MakeXYWH(srcRect.x(), srcRect.y() + 3*srcH/4, srcW, srcH), in run() 219 SkIRect::MakeXYWH(srcRect.x(), srcRect.y() - 3*srcH/4, srcW, srcH) in run() 224 srcRect.makeOffset( 0, srcH), in run() 226 srcRect.makeOffset( 0, -srcH), in run() 232 SkIRect::MakeXYWH(-6.f*srcW/8.f, -7.f*srcH/8.f, 4.f*srcW/8.f, 20.f*srcH/8.f) in run() 234 SkIRect::MakeXYWH(-1.f*srcW/8.f, -7.f*srcH/8.f, 16.f*srcW/8.f, 2.f*srcH/8.f) in run() 236 SkIRect::MakeXYWH(10.f*srcW/8.f, -3.f*srcH/8.f, 4.f*srcW/8.f, 16.f*srcH/8.f) in run() 238 SkIRect::MakeXYWH(-7.f*srcW/8.f, 14.f*srcH/8.f, 18.f*srcW/8.f, 1.f*srcH/8.f) in run() [all …]
|
/third_party/ffmpeg/libswscale/tests/ |
D | swscale.c | 85 int srcW, int srcH, int dstW, int dstH, int flags, in doTest() argument 104 if (cur_srcFormat != srcFormat || cur_srcW != srcW || cur_srcH != srcH) { in doTest() 119 src[p] = av_mallocz(srcStride[p] * srcH + 16); in doTest() 126 srcContext = sws_getContext(w, h, AV_PIX_FMT_YUVA420P, srcW, srcH, in doTest() 141 cur_srcH = srcH; in doTest() 168 dstContext = sws_getContext(srcW, srcH, srcFormat, dstW, dstH, dstFormat, in doTest() 178 desc_src->name, srcW, srcH, in doTest() 183 sws_scale(dstContext, (const uint8_t * const*)src, srcStride, 0, srcH, dst, dstStride); in doTest() 262 const int srcH = h; in selfTest() local 264 const int dstH[] = { srcH - srcH / 3, srcH, srcH + srcH / 3, 0 }; in selfTest() [all …]
|
/third_party/skia/src/image/ |
D | SkRescaleAndReadPixels.cpp | 25 int srcH = srcRect.height(); in SkRescaleAndReadPixels() local 28 float sy = (float)resultInfo.height() / srcH; in SkRescaleAndReadPixels() 76 auto ii = SkImageInfo::Make(srcW, srcH, kRGBA_F16_SkColorType, bmp.info().alphaType(), in SkRescaleAndReadPixels() 110 nextH = srcH * 2; in SkRescaleAndReadPixels() 125 srcImage.get(), SkRect::Make(SkIRect::MakeXYWH(srcX, srcY, srcW, srcH)), in SkRescaleAndReadPixels() 131 srcH = nextH; in SkRescaleAndReadPixels()
|
/third_party/flutter/skia/src/core/ |
D | SkMaskBlurFilter.cpp | 767 const uint8_t* src, size_t srcRB, int srcH, in blur_column() argument 779 for (int y = 0; y < srcH; y += 1) { in blur_column() 806 const uint8_t *src, size_t srcRB, int srcW, int srcH, in blur_y_rect() argument 819 src, srcRB, srcH, in blur_y_rect() 829 src, srcRB, srcH, in blur_y_rect() 836 const uint8_t* src, size_t srcRB, int srcW, int srcH, in direct_blur_y() argument 842 src, srcRB, srcW, srcH, in direct_blur_y() 848 src, srcRB, srcW, srcH, in direct_blur_y() 854 src, srcRB, srcW, srcH, in direct_blur_y() 860 src, srcRB, srcW, srcH, in direct_blur_y() [all …]
|
D | SkScalerContext.cpp | 460 int srcH = mask.fBounds.height(); in generateMask() local 462 int dstH = srcH; in generateMask()
|
/third_party/skia/src/core/ |
D | SkMaskBlurFilter.cpp | 770 const uint8_t* src, size_t srcRB, int srcH, in blur_column() argument 782 for (int y = 0; y < srcH; y += 1) { in blur_column() 809 const uint8_t *src, size_t srcRB, int srcW, int srcH, in blur_y_rect() argument 822 src, srcRB, srcH, in blur_y_rect() 832 src, srcRB, srcH, in blur_y_rect() 839 const uint8_t* src, size_t srcRB, int srcW, int srcH, in direct_blur_y() argument 845 src, srcRB, srcW, srcH, in direct_blur_y() 851 src, srcRB, srcW, srcH, in direct_blur_y() 857 src, srcRB, srcW, srcH, in direct_blur_y() 863 src, srcRB, srcW, srcH, in direct_blur_y() [all …]
|
D | SkGpuBlurUtils.cpp | 368 int srcH = srcBounds.height(); in two_pass_gaussian() local 371 srcTop -= srcH; in two_pass_gaussian() 372 srcH *= 2; in two_pass_gaussian() 375 float floatH = srcH; in two_pass_gaussian() 378 int topClip = srcTop + n*srcH; in two_pass_gaussian() 383 int bottomClip = srcBounds.bottom() + n*srcH; in two_pass_gaussian()
|
D | SkScalerContext.cpp | 467 int srcH = mask.fBounds.height(); in generateMask() local 469 int dstH = srcH; in generateMask()
|
/third_party/ffmpeg/libswscale/ |
D | utils.c | 918 c->srcW && c->srcH && c->dstW && c->dstH) { in sws_setColorspaceDetails() 922 int srcH = c->srcH; in sws_setColorspaceDetails() local 942 if (srcW*srcH > dstW*dstH) { in sws_setColorspaceDetails() 947 tmp_height = srcH; in sws_setColorspaceDetails() 955 c->cascaded_context[0] = sws_alloc_set_opts(srcW, srcH, c->srcFormat, in sws_setColorspaceDetails() 1178 int srcH = c->srcH; in sws_init_context() local 1197 unscaled = (srcW == dstW && srcH == dstH); in sws_init_context() 1249 if (dstW < srcW && dstH < srcH) in sws_init_context() 1251 else if (dstW > srcW && dstH > srcH) in sws_init_context() 1262 if (srcW < 1 || srcH < 1 || dstW < 1 || dstH < 1) { in sws_init_context() [all …]
|
D | swscale.h | 186 struct SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, 295 int srcW, int srcH, enum AVPixelFormat srcFormat,
|
D | swscale.c | 380 int lastLumSrcY = FFMIN(c->srcH, firstLumSrcY + vLumFilterSize) - 1; in swscale() 381 int lastLumSrcY2 = FFMIN(c->srcH, firstLumSrcY2 + vLumFilterSize) - 1; in swscale() 771 ((srcSliceH& (macro_height-1)) && srcSliceY + srcSliceH != c->srcH) || in sws_scale() 772 srcSliceY + srcSliceH > c->srcH) { in sws_scale() 801 if (c->cascaded_context[0] && srcSliceY == 0 && srcSliceH == c->cascaded_context[0]->srcH) { in sws_scale() 829 if (c->sliceDir == 0 && srcSliceY != 0 && srcSliceY + srcSliceH != c->srcH) { in sws_scale() 928 if (c->srcXYZ && !(c->dstXYZ && c->srcW==c->dstW && c->srcH==c->dstH)) { in sws_scale() 961 srcSliceY_internal = c->srcH-srcSliceY-srcSliceH; in sws_scale() 967 if (srcSliceY_internal + srcSliceH == c->srcH) in sws_scale() 971 if (c->dstXYZ && !(c->srcXYZ && c->srcW==c->dstW && c->srcH==c->dstH)) { in sws_scale()
|
D | options.c | 57 …{ "srch", "source height", OFFSET(srcH), AV_OPT_TYPE_INT, { .i6…
|
D | swscale_internal.h | 292 int srcH; ///< Height of source luma/alpha planes. member 902 struct SwsContext *sws_alloc_set_opts(int srcW, int srcH, enum AVPixelFormat srcFormat,
|
D | slice.c | 297 …res = alloc_slice(&c->slice[0], c->srcFormat, c->srcH, c->chrSrcH, c->chrSrcHSubSample, c->chrSrcV… in ff_init_filters()
|
/third_party/flutter/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 450 int srcH = srcRect.height(); in rescale() local 467 float sy = (float)info.height() / srcH; in rescale() 491 SkBackingFit::kExact, srcW, srcH, GrColorType::kRGBA_F16, cs, 1, GrMipMapped::kNo, in rescale() 498 SkRect::MakeWH(srcW, srcH), GrAA::kNo, GrQuadAAFlags::kNone, in rescale() 523 nextH = srcH * 2; in rescale() 549 matrix.setScaleTranslate((float)srcW / nextW, (float)srcH / nextH, srcX, srcY); in rescale() 554 } else if (nextH == srcH) { in rescale() 557 if (srcW != texProxy->width() || srcH != texProxy->height()) { in rescale() 559 SkIRect::MakeXYWH(srcX, srcY, srcW, srcH), GrTextureDomain::kClamp_Mode); in rescale() 575 auto srcSubset = SkRect::MakeXYWH(srcX, srcY, srcW, srcH); in rescale() [all …]
|
/third_party/flutter/skia/src/image/ |
D | SkSurface.cpp | 104 int srcH = srcRect.height(); in onAsyncRescaleAndReadPixels() local 106 float sy = (float)info.height() / srcH; in onAsyncRescaleAndReadPixels() 139 auto ii = SkImageInfo::Make(srcW, srcH, kRGBA_F16_SkColorType, in onAsyncRescaleAndReadPixels() 174 nextH = srcH * 2; in onAsyncRescaleAndReadPixels() 189 src->makeImageSnapshot(), SkIRect::MakeXYWH(srcX, srcY, srcW, srcH), in onAsyncRescaleAndReadPixels() 194 srcH = nextH; in onAsyncRescaleAndReadPixels()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 268 const uint32_t* src, int srcXStride, int srcYStride, int srcH, in blur_one_direction() argument 308 for (auto y = 0; y < srcH; y++) { in blur_one_direction() 486 srcH = srcBounds.height(), in cpu_blur() local 548 static_cast<uint32_t *>(src.getPixels()), 1, src.rowBytesAsPixels(), srcH, in cpu_blur()
|
D | SkDisplacementMapEffect.cpp | 257 const int srcH = src.height(); in compute_displacement() local 272 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ? in compute_displacement()
|
/third_party/ffmpeg/libswscale/aarch64/ |
D | swscale_unscaled.c | 105 && !(c->srcH & 1) \
|
/third_party/ffmpeg/libswscale/arm/ |
D | swscale_unscaled.c | 147 && !(c->srcH & 1) \
|
/third_party/skia/src/effects/imagefilters/ |
D | SkDisplacementMapImageFilter.cpp | 206 const int srcH = src.height(); in compute_displacement() local 221 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ? in compute_displacement()
|
D | SkBlurImageFilter.cpp | 799 srcH = srcBounds.height(), in cpu_blur() local 856 for (auto y = 0; y < srcH; y++) { in cpu_blur()
|
/third_party/ffmpeg/libswscale/x86/ |
D | swscale.c | 117 if (firstLumSrcY < 0 || firstLumSrcY + vLumFilterSize > c->srcH) { in ff_updateMMXDitherTables() 120 int neg = -firstLumSrcY, i, end = FFMIN(c->srcH - firstLumSrcY, vLumFilterSize); in ff_updateMMXDitherTables()
|
/third_party/ffmpeg/libswscale/ppc/ |
D | yuv2rgb_altivec.c | 547 if ((c->srcH & 0x1) != 0) in ff_yuv2rgb_init_ppc()
|
/third_party/flutter/skia/dm/ |
D | DMSrcSink.cpp | 1755 static SkISize auto_compute_translate(SkMatrix* matrix, int srcW, int srcH) { in auto_compute_translate() argument 1756 SkRect bounds = SkRect::MakeIWH(srcW, srcH); in auto_compute_translate()
|