Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkMaskSwizzler.cpp14 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_n32_opaque() argument
25 srcPtr += sampleX; in swizzle_mask16_to_n32_opaque()
31 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_n32_unpremul() argument
43 srcPtr += sampleX; in swizzle_mask16_to_n32_unpremul()
49 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_n32_premul() argument
61 srcPtr += sampleX; in swizzle_mask16_to_n32_premul()
69 uint32_t startX, uint32_t sampleX) { in swizzle_mask16_to_565() argument
80 srcPtr += sampleX; in swizzle_mask16_to_565()
86 uint32_t startX, uint32_t sampleX) { in swizzle_mask24_to_n32_opaque() argument
97 srcRow += 3 * sampleX; in swizzle_mask24_to_n32_opaque()
[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()
317 srcX += sampleX; in decodeIcoMask()
DSkSampler.h19 int setSampleX(int sampleX) { in setSampleX() argument
20 return this->onSetSampleX(sampleX); in setSampleX()
DSkBmpRLECodec.cpp524 int onSetSampleX(int sampleX) override { in onSetSampleX() argument
525 return fCodec->setSampleX(sampleX); in onSetSampleX()
545 int SkBmpRLECodec::setSampleX(int sampleX){ in setSampleX() argument
546 fSampleX = sampleX; in setSampleX()
547 return get_scaled_dimension(this->getInfo().width(), sampleX); in setSampleX()
DSkSwizzler.cpp931 int SkSwizzler::onSetSampleX(int sampleX) { in onSetSampleX() argument
932 SkASSERT(sampleX > 0); in onSetSampleX()
934 fSampleX = sampleX; in onSetSampleX()
935 fSrcOffsetUnits = (get_start_coord(sampleX) + fSrcOffset) * fSrcBPP; in onSetSampleX()
936 fDstOffsetBytes = (fDstOffset / sampleX) * fDstBPP; in onSetSampleX()
937 fSwizzleWidth = get_scaled_dimension(fSrcWidth, sampleX); in onSetSampleX()
938 fAllocatedWidth = get_scaled_dimension(fDstWidth, sampleX); in onSetSampleX()
DSkMaskSwizzler.h54 SkMasks* masks, uint32_t startX, uint32_t sampleX);
DSkSampledCodec.cpp193 const int sampleX = subsetWidth / info.width(); in sampledDecode() local
195 if (sampler->setSampleX(sampleX) != info.width()) { in sampledDecode()
DSkSwizzler.h140 int sampleX() const { return fSampleX; } in sampleX() function
/external/deqp/framework/common/
DtcuTexture.cpp2336 const int sampleX = wrap(sampler.wrapS, x0 + offsets[i].x(), w); in fetchGatherArray2DOffsets() local
2340 if (deInBounds32(sampleX, 0, w) && deInBounds32(sampleY, 0, h)) in fetchGatherArray2DOffsets()
2341 pixel = lookup(src, sampleX, sampleY, depth); in fetchGatherArray2DOffsets()