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

/external/skia/src/codec/
H A DSkSampler.h25 * Update the sampler to sample every sampleY'th row.
27 void setSampleY(int sampleY) { argument
28 fSampleY = sampleY;
32 * Retrieve the value set for sampleY.
34 int sampleY() const { function in class:SkSampler
H A DSkSampledCodec.cpp209 const int sampleY = subsetHeight / info.height(); local
211 const int samplingOffsetY = get_start_coord(sampleY);
241 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) {
245 sampler->setSampleY(sampleY);
278 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) {
297 if (!this->codec()->skipScanlines(sampleY - 1)) {
313 if (is_coord_necessary(srcY, sampleY, dstHeight)) {
315 rowBytes * get_dst_coord(srcY, sampleY));
336 if (!is_coord_necessary(srcY, sampleY, dstHeight)) {
340 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY));
[all...]
H A DSkGifCodec.cpp335 const int scaledHeight = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY());
455 const int sampleY = fSwizzler->sampleY(); local
456 if (sampleY > 1) {
463 dstRow = potentialRow / sampleY;
464 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY);
472 repeatCount = (repeatCount - 1) / sampleY + 1;
H A DSkPngCodec.cpp565 const int sampleY = this->swizzler()->sampleY(); variable
566 fRowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY);
662 (this->swizzler() && this->swizzler()->sampleY() != 1)) {
729 const int sampleY = this->swizzler() ? this->swizzler()->sampleY() : 1; variable
730 const int rowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY);
739 fPng_rowbytes * get_start_coord(sampleY));
744 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes * sampleY);
H A DSkAndroidCodec.cpp246 int sampleY = fInfo.height() / desiredSize->height(); local
247 int sampleSize = std::min(sampleX, sampleY);
/external/skqp/src/codec/
H A DSkSampler.h25 * Update the sampler to sample every sampleY'th row.
27 void setSampleY(int sampleY) { argument
28 fSampleY = sampleY;
32 * Retrieve the value set for sampleY.
34 int sampleY() const { function in class:SkSampler
H A DSkSampledCodec.cpp209 const int sampleY = subsetHeight / info.height(); local
211 const int samplingOffsetY = get_start_coord(sampleY);
241 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) {
245 sampler->setSampleY(sampleY);
278 if (get_scaled_dimension(subsetHeight, sampleY) != info.height()) {
297 if (!this->codec()->skipScanlines(sampleY - 1)) {
313 if (is_coord_necessary(srcY, sampleY, dstHeight)) {
315 rowBytes * get_dst_coord(srcY, sampleY));
336 if (!is_coord_necessary(srcY, sampleY, dstHeight)) {
340 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY));
[all...]
H A DSkGifCodec.cpp358 fSwizzler->sampleY());
373 fRowsDecoded = get_scaled_dimension(dstInfo.height(), fSwizzler->sampleY());
455 const int sampleY = fSwizzler->sampleY(); local
456 if (sampleY > 1) {
463 dstRow = potentialRow / sampleY;
464 const int scaledHeight = get_scaled_dimension(this->dstInfo().height(), sampleY);
472 repeatCount = (repeatCount - 1) / sampleY + 1;
H A DSkPngCodec.cpp565 const int sampleY = this->swizzler()->sampleY(); variable
566 fRowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY);
662 (this->swizzler() && this->swizzler()->sampleY() != 1)) {
729 const int sampleY = this->swizzler() ? this->swizzler()->sampleY() : 1; variable
730 const int rowsNeeded = get_scaled_dimension(fLastRow - fFirstRow + 1, sampleY);
739 fPng_rowbytes * get_start_coord(sampleY));
744 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes * sampleY);
H A DSkAndroidCodec.cpp246 int sampleY = fInfo.height() / desiredSize->height(); local
247 int sampleSize = std::min(sampleX, sampleY);
/external/swiftshader/src/Shader/
H A DConstants.hpp79 float4 sampleY[4][16]; member in struct:sw::Constants
H A DConstants.cpp296 sampleY[q][c][i] = c & (1 << i) ? Y[q] : 0.0f;
H A DPixelRoutine.cpp121 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]);
/external/deqp/framework/common/
H A DtcuTexture.cpp2393 const int sampleY = wrap(sampler.wrapT, y0 + offsets[i].y(), h); local
2396 if (deInBounds32(sampleX, 0, w) && deInBounds32(sampleY, 0, h))
2397 pixel = lookup(src, sampleX, sampleY, depth);

Completed in 1338 milliseconds