/external/skia/src/codec/ |
H A D | SkSampler.h | 25 * 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 D | SkSampledCodec.cpp | 209 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 D | SkGifCodec.cpp | 335 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 D | SkPngCodec.cpp | 565 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 D | SkAndroidCodec.cpp | 246 int sampleY = fInfo.height() / desiredSize->height(); local 247 int sampleSize = std::min(sampleX, sampleY);
|
/external/skqp/src/codec/ |
H A D | SkSampler.h | 25 * 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 D | SkSampledCodec.cpp | 209 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 D | SkGifCodec.cpp | 358 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 D | SkPngCodec.cpp | 565 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 D | SkAndroidCodec.cpp | 246 int sampleY = fInfo.height() / desiredSize->height(); local 247 int sampleSize = std::min(sampleX, sampleY);
|
/external/swiftshader/src/Shader/ |
H A D | Constants.hpp | 79 float4 sampleY[4][16]; member in struct:sw::Constants
|
H A D | Constants.cpp | 296 sampleY[q][c][i] = c & (1 << i) ? Y[q] : 0.0f;
|
H A D | PixelRoutine.cpp | 121 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]);
|
/external/deqp/framework/common/ |
H A D | tcuTexture.cpp | 2393 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);
|