Home
last modified time | relevance | path

Searched refs:dstHeight (Results 1 – 25 of 33) sorted by relevance

12

/third_party/flutter/skia/src/codec/
DSkSampledCodec.cpp212 const int dstHeight = info.height(); in sampledDecode() local
290 dstHeight, 0); in sampledDecode()
294 for (int y = 0; y < dstHeight; y++) { in sampledDecode()
297 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode()
300 if (y < dstHeight - 1) { in sampledDecode()
303 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode()
317 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
339 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
DSkJpegCodec.cpp464 const unsigned int dstHeight = size.height(); in onDimensionsSupported() local
478 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported()
481 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
/third_party/skia/src/codec/
DSkSampledCodec.cpp205 const int dstHeight = info.height(); in sampledDecode() local
287 dstHeight, 0); in sampledDecode()
291 for (int y = 0; y < dstHeight; y++) { in sampledDecode()
294 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode()
297 if (y < dstHeight - 1) { in sampledDecode()
300 options.fZeroInitialized, dstHeight, y + 1); in sampledDecode()
314 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
336 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode()
DSkJpegCodec.cpp413 const unsigned int dstHeight = size.height(); in onDimensionsSupported() local
427 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported()
430 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta_generate_mipmap.c276 GLsizei dstWidth, dstHeight, dstDepth; in _mesa_meta_GenerateMipmap() local
293 dstHeight = minify(srcHeight, 1); in _mesa_meta_GenerateMipmap()
297 dstHeight == srcHeight && in _mesa_meta_GenerateMipmap()
322 _mesa_set_viewport(ctx, 0, 0, 0, dstWidth, dstHeight); in _mesa_meta_GenerateMipmap()
355 assert(dstHeight == 1); in _mesa_meta_GenerateMipmap()
357 assert(dstHeight == ctx->DrawBuffer->Height); in _mesa_meta_GenerateMipmap()
/third_party/vk-gl-cts/framework/delibs/deimage/
DdeImage.c117 deImage* deImage_scale (const deImage* srcImage, int dstWidth, int dstHeight) in deImage_scale() argument
121 deImage* result = deImage_create(dstWidth, dstHeight, srcImage->format); in deImage_scale()
124 for (y = 0; y < dstHeight; y++) in deImage_scale()
129 float yFloat = ((float)y + 0.5f) / (float)dstHeight * (float)srcImage->height - 0.5f; in deImage_scale()
DdeImage.h59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
/third_party/mesa3d/src/mesa/main/
Dmipmap.h46 GLint dstWidth, GLint dstHeight, GLint dstDepth,
62 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth);
Dmipmap.c1474 GLint dstWidth, GLint dstHeight, in make_2d_mipmap() argument
1480 const GLint dstHeightNB = dstHeight - 2 * border; in make_2d_mipmap()
1487 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap()
1519 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap()
1522 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap()
1534 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap()
1536 if (srcHeight == dstHeight) { in make_2d_mipmap()
1566 GLint dstWidth, GLint dstHeight, GLint dstDepth, in make_3d_mipmap() argument
1573 const GLint dstHeightNB = dstHeight - 2 * border; in make_3d_mipmap()
1582 bytesPerDstImage = dstRowStride * dstHeight * bpt; in make_3d_mipmap()
[all …]
Dcopyimage.c617 int dstWidth, dstHeight, dstDepth; in _mesa_CopyImageSubData() local
701 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData()
710 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth, in _mesa_CopyImageSubData()
/third_party/flutter/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp176 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
177 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
180 SkScalar y_dist = SkMin32(y, dstHeight - y - 1) * invInset; in onFilterImage()
DSkAlphaThresholdFilter.cpp228 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
230 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
/third_party/flutter/skia/src/core/
DSkBlurMask.cpp443 int dstHeight = dst->fBounds.height(); in BlurRect() local
449 SkAutoTMalloc<uint8_t> verticalScanline(dstHeight); in BlurRect()
452 ComputeBlurredScanline(verticalScanline, profile, dstHeight, sigma); in BlurRect()
454 for (int y = 0 ; y < dstHeight ; ++y) { in BlurRect()
482 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
487 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
DSkImageInfo.cpp141 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument
152 if (!dstR.intersect(0, 0, dstWidth, dstHeight)) { in trim()
DSkWritePixelsRec.h47 bool trim(int dstWidth, int dstHeight);
/third_party/skia/src/core/
DSkBlurMask.cpp441 int dstHeight = dst->fBounds.height(); in BlurRect() local
447 SkAutoTMalloc<uint8_t> verticalScanline(dstHeight); in BlurRect()
450 ComputeBlurredScanline(verticalScanline, profile, dstHeight, sigma); in BlurRect()
452 for (int y = 0 ; y < dstHeight ; ++y) { in BlurRect()
477 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
482 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
DSkImageInfo.cpp172 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument
183 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim()
DSkWritePixelsRec.h47 bool trim(int dstWidth, int dstHeight);
/third_party/mesa3d/src/mesa/swrast/
Ds_blit.c124 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_nearest() local
290 dstWidth, dstHeight, in blit_nearest()
299 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_nearest()
300 GLfloat srcRowF = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_nearest()
525 const GLint dstHeight = ABS(dstY1 - dstY0); in blit_linear() local
630 for (dstRow = 0; dstRow < dstHeight; dstRow++) { in blit_linear()
632 GLfloat srcRow = (dstRow + 0.5F) / dstHeight * srcHeight - 0.5F; in blit_linear()
/third_party/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp235 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
236 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
239 SkScalar y_dist = std::min(y, dstHeight - y - 1) * invInset; in onFilterImage()
DSkAlphaThresholdImageFilter.cpp265 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
267 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
/third_party/flutter/skia/bench/
DCompositingImagesBench.cpp273 float dstHeight = srcRect.height() * 1.25f; in getEntry() local
274 SkRect dstRect = SkRect::MakeXYWH(dstWidth * x, dstHeight * y, dstWidth, dstHeight); in getEntry()
/third_party/skia/bench/
DCompositingImagesBench.cpp281 float dstHeight = srcRect.height() * 1.25f; in getEntry() local
282 SkRect dstRect = SkRect::MakeXYWH(dstWidth * x, dstHeight * y, dstWidth, dstHeight); in getEntry()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DBC_Decoder.cpp942 …void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t… in decode()
961 for(int y = 0; y < 4 && y + dstY < dstHeight; y++) in decode()
1077 if((y + dstY >= dstHeight) || (x + dstX >= dstWidth)) in decode()
1448 void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch) const in decode()
1454 for(int y = 0; y < 4 && y + dstY < dstHeight; y++) in decode()
1548 if(y + dstY >= dstHeight || x + dstX >= dstWidth) in decode()
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp754 int dstHeight = std::max(1, srcHeight / 2); in onRegenerateMipMapLevels() local
786 wgpu::Extent3D copySize = {(uint32_t)dstWidth, (uint32_t)dstHeight, 1}; in onRegenerateMipMapLevels()
795 srcHeight = dstHeight; in onRegenerateMipMapLevels()

12