Home
last modified time | relevance | path

Searched refs:sampleY (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/src/codec/
H A DSkSampledCodec.cpp201 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()
[all...]
H A DSkSampler.h25 * Update the sampler to sample every sampleY'th row.
27 void setSampleY(int sampleY) { in setSampleY() argument
28 fSampleY = sampleY; in setSampleY()
32 * Retrieve the value set for sampleY.
34 int sampleY() const { in sampleY() function in SkSampler
H A DSkPngCodec.cpp573 const int sampleY = this->swizzler()->sampleY(); variable
574 fRowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY);
667 (this->swizzler() && this->swizzler()->sampleY() != 1)) { in interlacedRowCallback()
729 const int sampleY = this->swizzler() ? this->swizzler()->sampleY() : 1; variable
730 const int rowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY);
737 int srcRow = get_start_coord(sampleY);
746 srcRow += sampleY;
H A DSkAndroidCodec.cpp227 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/
H A DSkLibGifCodec.cpp329 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/
H A DConstants.hpp79 float4 sampleY[4][16]; member
H A DConstants.cpp296 sampleY[q][c][i] = c & (1 << i) ? Y[q] : 0.0f; in Constants()
H A DPixelRoutine.cpp122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DConstants.hpp88 float4 sampleY[4][16]; member
H A DSpirvShaderGLSLstd450.cpp1008 Array<Float> sampleY(NUM_SAMPLES); in Interpolate()
1012 sampleY[i] = Constants::SampleLocationsY[i]; in Interpolate()
1026 y = Insert(y, sampleY[sample], i); in Interpolate()
H A DConstants.cpp311 sampleY[q][c][i] = c & (1 << i) ? Y[q][0] : 0.0f; in Constants()
H A DPixelRoutine.cpp162 YYYY += *Pointer<Float4>(constants + OFFSET(Constants, sampleY[q]) + 16 * cMask[q]); in quad()
/third_party/skia/src/shaders/
H A DSkPerlinNoiseShader.cpp745 SkString sampleY = this->invokeChild(0, "half4(1)", args, "half2(floorVal.z, 0.5)");
746 noiseCode.appendf("half2 latticeIdx = half2(%s.a, %s.a);", sampleX.c_str(), sampleY.c_str());
/third_party/vk-gl-cts/framework/common/
H A DtcuTexture.cpp2927 const int sampleY = wrap(sampler.wrapT, y0 + offsets[i].y(), h); in fetchGatherArray2DOffsets() local
2930 if (deInBounds32(sampleX, 0, w) && deInBounds32(sampleY, 0, h)) in fetchGatherArray2DOffsets()
2931 pixel = lookup(src, sampleX, sampleY, depth); in fetchGatherArray2DOffsets()

Completed in 23 milliseconds