Home
last modified time | relevance | path

Searched refs:sampleY (Results 1 – 19 of 19) sorted by relevance

/external/skqp/src/codec/
DSkSampledCodec.cpp208 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()
DSkSampler.h27 void setSampleY(int sampleY) { in setSampleY() argument
28 fSampleY = sampleY; in setSampleY()
34 int sampleY() const { in sampleY() function
DSkGifCodec.cpp324 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()
DSkPngCodec.cpp570 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()
DSkWuffsCodec.cpp447 fSwizzler->setSampleY(fSpySampler.sampleY()); in onIncrementalDecode()
448 scaledHeight = get_scaled_dimension(dstInfo().height(), fSpySampler.sampleY()); in onIncrementalDecode()
523 const int sampleY = fSwizzler->sampleY(); in onIncrementalDecode() local
526 if (sampleY != 1) { in onIncrementalDecode()
530 dstY /= sampleY; in onIncrementalDecode()
DSkAndroidCodec.cpp239 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() local
240 int sampleSize = std::min(sampleX, sampleY); in computeSampleSize()
/external/skia/src/codec/
DSkSampledCodec.cpp208 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()
DSkSampler.h27 void setSampleY(int sampleY) { in setSampleY() argument
28 fSampleY = sampleY; in setSampleY()
34 int sampleY() const { in sampleY() function
DSkGifCodec.cpp324 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()
DSkPngCodec.cpp570 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()
DSkWuffsCodec.cpp478 fSwizzler->setSampleY(fSpySampler.sampleY()); in onIncrementalDecode()
479 fScaledHeight = get_scaled_dimension(dstInfo().height(), fSpySampler.sampleY()); in onIncrementalDecode()
525 const int sampleY = fSwizzler->sampleY(); in onIncrementalDecode() local
528 if (sampleY != 1) { in onIncrementalDecode()
532 dstY /= sampleY; in onIncrementalDecode()
DSkAndroidCodec.cpp235 int sampleY = fInfo.height() / desiredSize->height(); in computeSampleSize() local
236 int sampleSize = std::min(sampleX, sampleY); in computeSampleSize()
/external/swiftshader/src/Shader/
DConstants.hpp79 float4 sampleY[4][16]; member
DConstants.cpp296 sampleY[q][c][i] = c & (1 << i) ? Y[q] : 0.0f; in Constants()
DPixelRoutine.cpp122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad()
/external/swiftshader/src/Pipeline/
DConstants.hpp79 float4 sampleY[4][16]; member
DConstants.cpp296 sampleY[q][c][i] = c & (1 << i) ? Y[q] : 0.0f; in Constants()
DPixelRoutine.cpp122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad()
/external/deqp/framework/common/
DtcuTexture.cpp2393 const int sampleY = wrap(sampler.wrapT, y0 + offsets[i].y(), h); in fetchGatherArray2DOffsets() local
2396 if (deInBounds32(sampleX, 0, w) && deInBounds32(sampleY, 0, h)) in fetchGatherArray2DOffsets()
2397 pixel = lookup(src, sampleX, sampleY, depth); in fetchGatherArray2DOffsets()