/third_party/flutter/skia/src/codec/ |
D | SkSampledCodec.cpp | 208 const int sampleY = subsetHeight / info.height(); in sampledDecode() local 210 const int samplingOffsetY = get_start_coord(sampleY); in sampledDecode() 240 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) { in sampledDecode() 244 sampler->setSampleY(sampleY); in sampledDecode() 282 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) { in sampledDecode() 301 if (!this->codec()->skipScanlines(sampleY - 1)) { in sampledDecode() 317 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 319 rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode() 339 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 343 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
|
D | SkSampler.h | 27 void setSampleY(int sampleY) { in setSampleY() argument 28 fSampleY = sampleY; in setSampleY() 34 int sampleY() const { in sampleY() function
|
D | SkGifCodec.cpp | 324 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() 435 const int sampleY = fSwizzler->sampleY(); in haveDecodedRow() local 436 if (sampleY > 1) { in haveDecodedRow() 443 dstRow = potentialRow / sampleY; in haveDecodedRow() 444 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow() 452 repeatCount = (repeatCount - 1) / sampleY + 1; in haveDecodedRow()
|
D | SkPngCodec.cpp | 570 const int sampleY = this->swizzler()->sampleY(); in decode() local 571 fRowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY); in decode() 664 (this->swizzler() && this->swizzler()->sampleY() != 1)) { in interlacedRowCallback() 726 const int sampleY = this->swizzler() ? this->swizzler()->sampleY() : 1; in decode() local 727 const int rowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY); in decode() 734 int srcRow = get_start_coord(sampleY); in decode() 743 srcRow += sampleY; in decode()
|
D | SkAndroidCodec.cpp | 239 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() local 240 int sampleSize = std::min(sampleX, sampleY); in computeSampleSize()
|
/third_party/skia/src/codec/ |
D | SkSampledCodec.cpp | 201 const int sampleY = subsetHeight / info.height(); in sampledDecode() local 203 const int samplingOffsetY = get_start_coord(sampleY); in sampledDecode() 233 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) { in sampledDecode() 237 sampler->setSampleY(sampleY); in sampledDecode() 279 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) { in sampledDecode() 298 if (!this->codec()->skipScanlines(sampleY - 1)) { in sampledDecode() 314 if (is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 316 rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode() 336 if (!is_coord_necessary(srcY, sampleY, dstHeight)) { in sampledDecode() 340 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
|
D | SkSampler.h | 27 void setSampleY(int sampleY) { in setSampleY() argument 28 fSampleY = sampleY; in setSampleY() 34 int sampleY() const { in sampleY() function
|
D | SkPngCodec.cpp | 568 const int sampleY = this->swizzler()->sampleY(); in decode() local 569 fRowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY); in decode() 662 (this->swizzler() && this->swizzler()->sampleY() != 1)) { in interlacedRowCallback() 724 const int sampleY = this->swizzler() ? this->swizzler()->sampleY() : 1; in decode() local 725 const int rowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY); in decode() 732 int srcRow = get_start_coord(sampleY); in decode() 741 srcRow += sampleY; in decode()
|
D | SkAndroidCodec.cpp | 227 int sampleY = origDims.height() / desiredSize->height(); in computeSampleSize() local 228 int sampleSize = std::min(sampleX, sampleY); in computeSampleSize()
|
/third_party/skia/third_party/externals/libgifcodec/ |
D | SkLibGifCodec.cpp | 329 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY()); in decodeFrame() 440 const int sampleY = fSwizzler->sampleY(); in haveDecodedRow() local 441 if (sampleY > 1) { in haveDecodedRow() 448 dstRow = potentialRow / sampleY; in haveDecodedRow() 449 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY); in haveDecodedRow() 457 repeatCount = (repeatCount - 1) / sampleY + 1; in haveDecodedRow()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
D | Constants.hpp | 79 float4 sampleY[4][16]; member
|
D | Constants.cpp | 296 sampleY[q][c][i] = c & (1 << i) ? Y[q] : 0.0f; in Constants()
|
D | PixelRoutine.cpp | 122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | Constants.hpp | 88 float4 sampleY[4][16]; member
|
D | Constants.cpp | 311 sampleY[q][c][i] = c & (1 << i) ? Y[q][0] : 0.0f; in Constants()
|
D | SpirvShaderGLSLstd450.cpp | 1008 Array<Float> sampleY(NUM_SAMPLES); in Interpolate() local 1012 sampleY[i] = Constants::SampleLocationsY[i]; in Interpolate() 1026 y = Insert(y, sampleY[sample], i); in Interpolate()
|
D | PixelRoutine.cpp | 162 YYYY += *Pointer<Float4>(constants + OFFSET(Constants, sampleY[q]) + 16 * cMask[q]); in quad()
|
/third_party/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 743 SkString sampleY = this->invokeChild(0, "half4(1)", args, "half2(floorVal.z, 0.5)"); in emitCode() local 744 noiseCode.appendf("half2 latticeIdx = half2(%s.a, %s.a);", sampleX.c_str(), sampleY.c_str()); in emitCode()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexture.cpp | 2737 const int sampleY = wrap(sampler.wrapT, y0 + offsets[i].y(), h); in fetchGatherArray2DOffsets() local 2740 if (deInBounds32(sampleX, 0, w) && deInBounds32(sampleY, 0, h)) in fetchGatherArray2DOffsets() 2741 pixel = lookup(src, sampleX, sampleY, depth); in fetchGatherArray2DOffsets()
|