Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
942 …int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t dstBpp, bool isSigned) co… in decode()
946 ASSERT(dstBpp == sizeof(Color)); in decode()
1083 auto out = reinterpret_cast<Color *>(dst + dstBpp * x + dstPitch * y); in decode()
1662 bool BC_Decoder::Decode(const uint8_t *src, uint8_t *dst, int w, int h, int dstPitch, int dstBpp, i… in Decode() argument
[all …]
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()
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…
/third_party/ffmpeg/libswscale/tests/
Dcolorspace.c99 int dstBpp = 0; in main() local
123 dstBpp = func_info[funcNum].dst_bpp; in main()
149 for (i = dstOffset + width * dstBpp; i < SIZE; i++) { in main()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
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()
DETC_Decoder.hpp40 … unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputTy…
/third_party/skia/tests/
DTransferPixelsTest.cpp29 size_t dstBpp = GrColorTypeBytesPerPixel(dstType); in fill_transfer_data() local
30 auto dstLocation = [dst, dstBpp, rowBytes](int x, int y) { in fill_transfer_data()
31 return dst + y * rowBytes + x * dstBpp; in fill_transfer_data()
45 GrConvertPixels(GrPixmap(dstInfo, dstLocation(i, j), dstBpp), in fill_transfer_data()
/third_party/skia/src/gpu/
DGrDataUtils.cpp621 size_t dstBpp = dst.info().bpp(); in GrConvertPixels() local
624 SkASSERT(dst.rowBytes() % dstBpp == 0); in GrConvertPixels()
635 size_t tightRB = dstBpp * dst.width(); in GrConvertPixels()
684 dstCtx{ dst.addr(), SkToInt(dst.rowBytes()/dstBpp)}; in GrConvertPixels()
/third_party/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()
/third_party/ffmpeg/libswscale/
Dswscale_unscaled.c1589 const int dstBpp = (c->dstFormatBpp + 7) >> 3; in rgbToRgbWrapper() local
1614 if (dstStride[0] * srcBpp == srcStride[0] * dstBpp && srcStride[0] > 0 && in rgbToRgbWrapper()