Home
last modified time | relevance | path

Searched refs:dstHeight (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/src/codec/
H A 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()
H A DSkJpegCodec.cpp440 const unsigned int dstHeight = size.height(); in onDimensionsSupported() local
454 while (dinfo.output_width != dstWidth || dinfo.output_height != dstHeight) { in onDimensionsSupported()
457 if (1 == num || dstWidth > dinfo.output_width || dstHeight > dinfo.output_height) { in onDimensionsSupported()
/third_party/vk-gl-cts/framework/delibs/deimage/
H A 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()
H A DdeImage.h59 deImage* deImage_scale (const deImage* image, int dstWidth, int dstHeight);
/third_party/mesa3d/src/mesa/main/
H A Dmipmap.c1475 GLint dstWidth, GLint dstHeight, in make_2d_mipmap()
1481 const GLint dstHeightNB = dstHeight - 2 * border; in make_2d_mipmap()
1488 if (srcHeight > 1 && srcHeight > dstHeight) { in make_2d_mipmap()
1520 memcpy(dstPtr + dstWidth * (dstHeight - 1) * bpt, in make_2d_mipmap()
1523 memcpy(dstPtr + (dstWidth * dstHeight - 1) * bpt, in make_2d_mipmap()
1535 dstPtr + (dstWidth * (dstHeight - 1) + 1) * bpt); in make_2d_mipmap()
1537 if (srcHeight == dstHeight) { in make_2d_mipmap()
1567 GLint dstWidth, GLint dstHeight, GLint dstDepth, in make_3d_mipmap()
1574 const GLint dstHeightNB = dstHeight - 2 * border; in make_3d_mipmap()
1583 bytesPerDstImage = dstRowStride * dstHeight * bp in make_3d_mipmap()
1472 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) make_2d_mipmap() argument
1564 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) make_3d_mipmap() argument
1725 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) _mesa_generate_mipmap_level() argument
1793 _mesa_next_mipmap_level_size(GLenum target, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLint *dstWidth, GLint *dstHeight, GLint *dstDepth) _mesa_next_mipmap_level_size() argument
1968 GLint dstWidth, dstHeight, dstDepth; generate_mipmap_uncompressed() local
2155 GLint dstWidth, dstHeight, dstDepth; generate_mipmap_compressed() local
[all...]
H A Dmipmap.h51 GLint *dstWidth, GLint *dstHeight, GLint *dstDepth);
H A Dcopyimage.c619 int dstWidth, dstHeight, dstDepth; in _mesa_CopyImageSubData() local
703 dstHeight = srcHeight * dst_bh / src_bh; in _mesa_CopyImageSubData()
712 dstX, dstY, dstZ, dstWidth, dstHeight, dstDepth, in _mesa_CopyImageSubData()
/third_party/skia/src/core/
H A 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()
H A DSkImageInfo.cpp183 bool SkWritePixelsRec::trim(int dstWidth, int dstHeight) { in trim() argument
194 if (!dstR.intersect({0, 0, dstWidth, dstHeight})) { in trim()
H A DSkWritePixelsRec.h47 bool trim(int dstWidth, int dstHeight);
/third_party/skia/src/effects/imagefilters/
H A 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()
H A DSkAlphaThresholdImageFilter.cpp265 int dstWidth = dst.width(), dstHeight = dst.height(); in onFilterImage() local
267 for (int y = 0; y < dstHeight; ++y) { in onFilterImage()
/third_party/skia/bench/
H A 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/
H A DBC_Decoder.cpp942 void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t dstBpp, bool isSigned) const 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/
H A DGrDawnGpu.cpp762 int dstHeight = std::max(1, srcHeight / 2); in onRegenerateMipMapLevels() local
794 wgpu::Extent3D copySize = {(uint32_t)dstWidth, (uint32_t)dstHeight, 1}; in onRegenerateMipMapLevels()
803 srcHeight = dstHeight; in onRegenerateMipMapLevels()
/third_party/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga_reg.h1163 uint32 dstHeight; member
/third_party/skia/tests/
H A DCodecTest.cpp1076 const int dstHeight = subsetHeight / opts.fSampleSize; in check_color_xform() local
1078 SkImageInfo dstInfo = codec->getInfo().makeWH(dstWidth, dstHeight) in check_color_xform()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES.cpp3538 GLsizei dstHeight = srcHeight; in ValidateCopyImageSubDataBase() local
3563 dstHeight /= srcFormatInfo.compressedBlockHeight; in ValidateCopyImageSubDataBase()
3571 dstHeight *= dstFormatInfo.compressedBlockHeight; in ValidateCopyImageSubDataBase()
3575 dstX, dstY, dstZ, dstWidth, dstHeight, &dstSamples)) in ValidateCopyImageSubDataBase()
3600 !ValidateCompressedRegion(context, entryPoint, dstFormatInfo, dstWidth, dstHeight)) in ValidateCopyImageSubDataBase()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fPrimitiveBoundingBoxTests.cpp3587 const int dstHeight = rnd.getInt(1, dstSize.y());
3589 const int dstY = rnd.getInt(-(dstHeight / 2), dstSize.y() - (dstHeight+1) / 2);
3598 args.dst.w() = dstY + dstHeight;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp3713 const int dstHeight = static_cast<int>(dstImageParams.extent.height); in iterate() local
3763 m_destinationTextureLevel = de::MovePtr<tcu::TextureLevel>(new tcu::TextureLevel(dstTcuFormat, dstWidth, dstHeight, dstDepth)); in iterate()
3764 generateBuffer(m_destinationTextureLevel->getAccess(), dstWidth, dstHeight, dstDepth, dstImageParams.fillMode); in iterate()
3848 tcu::TextureLevel decompressedLevel (getUncompressedFormat(dstCompressedFormat), dstWidth, dstHeight, dstDepth); in iterate() local
14851 std::vector<CopyRegion> create2DCopyRegions(deInt32 srcWidth, deInt32 srcHeight, deInt32 dstWidth, deInt32 dstHeight)
14859 deInt32 fourthOfDstHeight = dstHeight / 4;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiCopiesAndBlittingTests.cpp3273 const int dstHeight = static_cast<int>(dstImageParams.extent.height); in iterate() local
3323 m_destinationTextureLevel = de::MovePtr<tcu::TextureLevel>(new tcu::TextureLevel(dstTcuFormat, dstWidth, dstHeight, dstDepth)); in iterate()
3324 generateBuffer(m_destinationTextureLevel->getAccess(), dstWidth, dstHeight, dstDepth, dstImageParams.fillMode); in iterate()
3410 tcu::TextureLevel decompressedLevel (getUncompressedFormat(dstCompressedFormat), dstWidth, dstHeight, dstDepth); in iterate() local
13015 std::vector<CopyRegion> create2DCopyRegions(deInt32 srcWidth, deInt32 srcHeight, deInt32 dstWidth, deInt32 dstHeight) in create2DCopyRegions() argument
13023 deInt32 fourthOfDstHeight = dstHeight / 4; in create2DCopyRegions()

Completed in 76 milliseconds