Home
last modified time | relevance | path

Searched refs:dstBpp (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/src/Device/
DBC_Decoder.cpp34 …void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, bool hasAlph… in decode()
57 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++, idxOffset++, dstOffset += dstBpp) in decode()
147 …void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, int channel,… in decode()
183 …dst[channel + (i * dstBpp) + (j * dstPitch)] = static_cast<uint8_t>(c[getIdx((j * BlockHeight) + i… in decode()
200 void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp) const in decode()
206 for(int i = 0; i < BlockWidth && (x + i) < dstW; i++, dstRow += dstBpp) in decode()
913 …int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t dstBpp, bool isSigned) co… in decode()
917 ASSERT(dstBpp == sizeof(Color)); in decode()
1054 auto out = reinterpret_cast<Color *>(dst + dstBpp * x + dstPitch * y); in decode()
1633 bool BC_Decoder::Decode(const uint8_t *src, uint8_t *dst, int w, int h, int dstPitch, int dstBpp, i… in Decode() argument
[all …]
DBC_Decoder.hpp29 … unsigned char *src, unsigned char *dst, int w, int h, int dstPitch, int dstBpp, int n, bool isNoA…
DETC_Decoder.hpp38 … unsigned char *src, unsigned char *dst, int w, int h, int dstPitch, int dstBpp, InputType inputTy…
DETC_Decoder.cpp670 … unsigned char *src, unsigned char *dst, int w, int h, int dstPitch, int dstBpp, InputType inputTy… in Decode() argument
686 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, w, h, dstPitch, inputType == ETC_R_SIGN… in Decode()
698 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, w, h, dstPitch, inputType == ETC_RG_SIG… in Decode()
709 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, w, h, dstPitch, alphaValues, inputType == ETC… in Decode()
724 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, w, h, dstPitch, alphaValues, false); in Decode()
/external/skia/tests/
DTransferPixelsTest.cpp29 size_t dstBpp = GrColorTypeBytesPerPixel(dstType); in fill_transfer_data() local
30 auto dstLocation = [dst, dstBpp, bufferWidth](int x, int y) { in fill_transfer_data()
31 return dst + y * dstBpp * bufferWidth + x * dstBpp; in fill_transfer_data()
45 GrConvertPixels(GrPixmap(dstInfo, dstLocation(i, j), dstBpp), in fill_transfer_data()
/external/swiftshader/src/Renderer/
DETC_Decoder.hpp40 … unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputTy…
DETC_Decoder.cpp677 … unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputTy… in Decode() argument
693 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
705 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode()
716 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … in Decode()
731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
/external/skia/src/gpu/
DGrDataUtils.cpp561 size_t dstBpp = dst.info().bpp(); in GrConvertPixels() local
564 SkASSERT(dst.rowBytes() % dstBpp == 0); in GrConvertPixels()
575 size_t tightRB = dstBpp * dst.width(); in GrConvertPixels()
624 dstCtx{ dst.addr(), SkToInt(dst.rowBytes()/dstBpp)}; in GrConvertPixels()
/external/skia/src/codec/
DSkWebpCodec.cpp507 const size_t dstBpp = dstInfo.bytesPerPixel(); in onGetPixels() local
508 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY); in onGetPixels()
/external/skqp/src/codec/
DSkWebpCodec.cpp528 const size_t dstBpp = dstInfo.bytesPerPixel(); in onGetPixels() local
529 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY); in onGetPixels()