Home
last modified time | relevance | path

Searched refs:sampleX (Results 1 – 24 of 24) sorted by relevance

/external/skqp/src/codec/
DSkMaskSwizzler.cpp14 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_opaque() argument
25 srcPtr += sampleX; in swizzle_mask16_to_rgba_opaque()
31 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_opaque() argument
42 srcPtr += sampleX; in swizzle_mask16_to_bgra_opaque()
48 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_unpremul() argument
60 srcPtr += sampleX; in swizzle_mask16_to_rgba_unpremul()
66 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_unpremul() argument
78 srcPtr += sampleX; in swizzle_mask16_to_bgra_unpremul()
84 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_premul() argument
96 srcPtr += sampleX; in swizzle_mask16_to_rgba_premul()
[all …]
DSkBmpStandardCodec.cpp291 const int sampleX = fSwizzler->sampleX(); in decodeIcoMask() local
292 const int sampledWidth = get_scaled_dimension(this->getInfo().width(), sampleX); in decodeIcoMask()
293 const int srcStartX = get_start_coord(sampleX); in decodeIcoMask()
326 srcX += sampleX; in decodeIcoMask()
DSkSampler.h20 int setSampleX(int sampleX) { in setSampleX() argument
21 return this->onSetSampleX(sampleX); in setSampleX()
DSkBmpRLECodec.cpp543 int onSetSampleX(int sampleX) override { in onSetSampleX() argument
544 return fCodec->setSampleX(sampleX); in onSetSampleX()
564 int SkBmpRLECodec::setSampleX(int sampleX){ in setSampleX() argument
565 fSampleX = sampleX; in setSampleX()
566 return get_scaled_dimension(this->getInfo().width(), sampleX); in setSampleX()
DSkSampledCodec.cpp208 const int sampleX = subsetWidth / info.width(); in sampledDecode() local
238 if (sampler->setSampleX(sampleX) != info.width()) { in sampledDecode()
275 if (sampler->setSampleX(sampleX) != info.width()) { in sampledDecode()
DSkSwizzler.cpp1205 int SkSwizzler::onSetSampleX(int sampleX) { in onSetSampleX() argument
1206 SkASSERT(sampleX > 0); in onSetSampleX()
1208 fSampleX = sampleX; in onSetSampleX()
1209 fSrcOffsetUnits = (get_start_coord(sampleX) + fSrcOffset) * fSrcBPP; in onSetSampleX()
1210 fDstOffsetBytes = (fDstOffset / sampleX) * fDstBPP; in onSetSampleX()
1211 fSwizzleWidth = get_scaled_dimension(fSrcWidth, sampleX); in onSetSampleX()
1212 fAllocatedWidth = get_scaled_dimension(fDstWidth, sampleX); in onSetSampleX()
DSkMaskSwizzler.h61 SkMasks* masks, uint32_t startX, uint32_t sampleX);
DSkSwizzler.h73 int sampleX() const { return fSampleX; } in sampleX() function
DSkAndroidCodec.cpp245 int sampleX = fInfo.width() / desiredSize->width(); in computeSampleSize() local
247 int sampleSize = std::min(sampleX, sampleY); in computeSampleSize()
DSkGifCodec.cpp411 const int xformWidth = get_scaled_dimension(dstInfo.width(), fSwizzler->sampleX()); in applyXformRow()
/external/skia/src/codec/
DSkMaskSwizzler.cpp14 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_opaque() argument
25 srcPtr += sampleX; in swizzle_mask16_to_rgba_opaque()
31 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_opaque() argument
42 srcPtr += sampleX; in swizzle_mask16_to_bgra_opaque()
48 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_unpremul() argument
60 srcPtr += sampleX; in swizzle_mask16_to_rgba_unpremul()
66 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_bgra_unpremul() argument
78 srcPtr += sampleX; in swizzle_mask16_to_bgra_unpremul()
84 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_rgba_premul() argument
96 srcPtr += sampleX; in swizzle_mask16_to_rgba_premul()
[all …]
DSkBmpStandardCodec.cpp289 const int sampleX = fSwizzler->sampleX(); in decodeIcoMask() local
290 const int sampledWidth = get_scaled_dimension(this->getInfo().width(), sampleX); in decodeIcoMask()
291 const int srcStartX = get_start_coord(sampleX); in decodeIcoMask()
324 srcX += sampleX; in decodeIcoMask()
DSkSampler.h20 int setSampleX(int sampleX) { in setSampleX() argument
21 return this->onSetSampleX(sampleX); in setSampleX()
DSkBmpRLECodec.cpp543 int onSetSampleX(int sampleX) override { in onSetSampleX() argument
544 return fCodec->setSampleX(sampleX); in onSetSampleX()
564 int SkBmpRLECodec::setSampleX(int sampleX){ in setSampleX() argument
565 fSampleX = sampleX; in setSampleX()
566 return get_scaled_dimension(this->getInfo().width(), sampleX); in setSampleX()
DSkSampledCodec.cpp208 const int sampleX = subsetWidth / info.width(); in sampledDecode() local
238 if (sampler->setSampleX(sampleX) != info.width()) { in sampledDecode()
275 if (sampler->setSampleX(sampleX) != info.width()) { in sampledDecode()
DSkSwizzler.cpp1184 int SkSwizzler::onSetSampleX(int sampleX) { in onSetSampleX() argument
1185 SkASSERT(sampleX > 0); in onSetSampleX()
1187 fSampleX = sampleX; in onSetSampleX()
1188 fSrcOffsetUnits = (get_start_coord(sampleX) + fSrcOffset) * fSrcBPP; in onSetSampleX()
1189 fDstOffsetBytes = (fDstOffset / sampleX) * fDstBPP; in onSetSampleX()
1190 fSwizzleWidth = get_scaled_dimension(fSrcWidth, sampleX); in onSetSampleX()
1191 fAllocatedWidth = get_scaled_dimension(fDstWidth, sampleX); in onSetSampleX()
DSkMaskSwizzler.h61 SkMasks* masks, uint32_t startX, uint32_t sampleX);
DSkSwizzler.h81 int sampleX() const { return fSampleX; } in sampleX() function
DSkAndroidCodec.cpp245 int sampleX = fInfo.width() / desiredSize->width(); in computeSampleSize() local
247 int sampleSize = std::min(sampleX, sampleY); in computeSampleSize()
DSkGifCodec.cpp411 const int xformWidth = get_scaled_dimension(dstInfo.width(), fSwizzler->sampleX()); in applyXformRow()
/external/swiftshader/src/Shader/
DConstants.hpp78 float4 sampleX[4][16]; member
DConstants.cpp295 sampleX[q][c][i] = c & (1 << i) ? X[q] : 0.0f; in Constants()
DPixelRoutine.cpp120 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad()
/external/deqp/framework/common/
DtcuTexture.cpp2392 const int sampleX = wrap(sampler.wrapS, x0 + offsets[i].x(), w); in fetchGatherArray2DOffsets() local
2396 if (deInBounds32(sampleX, 0, w) && deInBounds32(sampleY, 0, h)) in fetchGatherArray2DOffsets()
2397 pixel = lookup(src, sampleX, sampleY, depth); in fetchGatherArray2DOffsets()