Home
last modified time | relevance | path

Searched refs:srcH (Results 1 – 17 of 17) sorted by relevance

/external/skqp/src/core/
DSkMaskBlurFilter.cpp767 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 …]
DSkScalerContext.cpp388 int srcH = mask.fBounds.height(); in generateMask() local
390 int dstH = srcH; in generateMask()
/external/skia/src/core/
DSkMaskBlurFilter.cpp769 const uint8_t* src, size_t srcRB, int srcH, in blur_column() argument
781 for (int y = 0; y < srcH; y += 1) { in blur_column()
808 const uint8_t *src, size_t srcRB, int srcW, int srcH, in blur_y_rect() argument
821 src, srcRB, srcH, in blur_y_rect()
831 src, srcRB, srcH, in blur_y_rect()
838 const uint8_t* src, size_t srcRB, int srcW, int srcH, in direct_blur_y() argument
844 src, srcRB, srcW, srcH, in direct_blur_y()
850 src, srcRB, srcW, srcH, in direct_blur_y()
856 src, srcRB, srcW, srcH, in direct_blur_y()
862 src, srcRB, srcW, srcH, in direct_blur_y()
[all …]
DSkScalerContext.cpp459 int srcH = mask.fBounds.height(); in generateMask() local
461 int dstH = srcH; in generateMask()
/external/skia/src/gpu/
DGrSurfaceContext.cpp523 int srcH = srcRect.height(); in rescale() local
544 float sy = (float)info.height() / srcH; in rescale()
572 fContext, GrColorType::kRGBA_F16, cs, SkBackingFit::kExact, {srcW, srcH}, 1, in rescale()
579 SK_PMColor4fWHITE, SkRect::Make(srcRect), SkRect::MakeWH(srcW, srcH), in rescale()
606 nextH = srcH * 2; in rescale()
632 matrix.setScaleTranslate((float)srcW / nextW, (float)srcH / nextH, srcX, srcY); in rescale()
637 } else if (nextH == srcH) { in rescale()
641 auto subset = SkRect::MakeXYWH(srcX, srcY, srcW, srcH); in rescale()
655 auto srcSubset = SkRect::MakeXYWH(srcX, srcY, srcW, srcH); in rescale()
664 srcH = nextH; in rescale()
/external/skia/src/image/
DSkSurface.cpp104 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()
/external/skqp/src/effects/imagefilters/
DSkBlurImageFilter.cpp267 const uint32_t* src, int srcXStride, int srcYStride, int srcH, in blur_one_direction() argument
307 for (auto y = 0; y < srcH; y++) { in blur_one_direction()
485 srcH = srcBounds.height(), in cpu_blur() local
547 static_cast<uint32_t *>(src.getPixels()), 1, src.rowBytesAsPixels(), srcH, in cpu_blur()
DSkDisplacementMapEffect.cpp65 const int srcH = src.height(); in computeDisplacement() local
80 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ? in computeDisplacement()
/external/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp251 const uint32_t* src, int srcXStride, int srcYStride, int srcH, in blur_one_direction() argument
291 for (auto y = 0; y < srcH; y++) { in blur_one_direction()
469 srcH = srcBounds.height(), in cpu_blur() local
531 static_cast<uint32_t *>(src.getPixels()), 1, src.rowBytesAsPixels(), srcH, in cpu_blur()
DSkDisplacementMapEffect.cpp257 const int srcH = src.height(); in compute_displacement() local
272 *dstPtr++ = ((srcX < 0) || (srcX >= srcW) || (srcY < 0) || (srcY >= srcH)) ? in compute_displacement()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_blit.c107 const int srcH = abs(srcY1 - srcY0); in blitframebuffer_texture() local
165 srcW, srcH, in blitframebuffer_texture()
174 srcY1 = srcH; in blitframebuffer_texture()
/external/mesa3d/src/gallium/frontends/xa/
Dxa_renderer.c285 float srcH, in setup_vertex_data_yuv() argument
297 spt1[1] = srcY + srcH; in setup_vertex_data_yuv()
/external/deqp/framework/opengl/
DgluTextureTestUtil.cpp2715 const float srcH = float(src.getHeight()); in compareGenMipmapBilinear() local
2733 const float cy = (float(y)+0.5f) / dstH * srcH; in compareGenMipmapBilinear()
2751 const float srcH = float(src.getHeight()); in compareGenMipmapBox() local
2769 const float cy = deFloatFloor(float(y) / dstH * srcH) + 1.0f; in compareGenMipmapBox()
2788 const float srcH = float(src.getHeight()); in compareGenMipmapVeryLenient() local
2796 const int minY = deFloorFloatToInt32(((float)y-0.5f) / dstH * srcH); in compareGenMipmapVeryLenient()
2798 const int maxY = deCeilFloatToInt32(((float)y+1.5f) / dstH * srcH); in compareGenMipmapVeryLenient()
/external/skia/dm/
DDMSrcSink.cpp1962 static SkISize auto_compute_translate(SkMatrix* matrix, int srcW, int srcH) { in auto_compute_translate() argument
1963 SkRect bounds = SkRect::MakeIWH(srcW, srcH); in auto_compute_translate()
/external/skqp/dm/
DDMSrcSink.cpp1806 static SkISize auto_compute_translate(SkMatrix* matrix, int srcW, int srcH) { in auto_compute_translate() argument
1807 SkRect bounds = SkRect::MakeIWH(srcW, srcH); in auto_compute_translate()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3120 int srcH = de::abs(srcY1-srcY0); in blitFramebuffer() local
3123 bool scale = srcW != dstW || srcH != dstH; in blitFramebuffer()
3128 IVec4 srcRect = IVec4(srcOriginX, srcOriginY, srcW, srcH); in blitFramebuffer()
3145 RC_IF_ERROR(srcW != dstW || srcH != dstH, GL_INVALID_OPERATION, RC_RET_VOID); in blitFramebuffer()
/external/swiftshader/src/Renderer/
DSurface.cpp3650 int srcH = src->getHeight(); in copyCubeEdge() local
3654 ASSERT(srcW == srcH && dstW == dstH && srcW == dstW && srcBytes == dstBytes); in copyCubeEdge()
3658 …int srcStart = ((srcEdge == BOTTOM) ? srcPitch * (srcH - 1) : ((srcEdge == RIGHT) ? srcBytes * (sr… in copyCubeEdge()