/third_party/ffmpeg/libswscale/tests/ |
H A D | colorspace.c | 99 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/Device/ |
H A D | BC_Decoder.cpp | 34 void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, bool hasAlphaChannel, bool hasSeparateAlpha) const 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, bool isSigned) const 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 void decode(uint8_t *dst, int dstX, int dstY, int dstWidth, int dstHeight, size_t dstPitch, size_t dstBpp, bool isSigned) const 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, in [all...] |
H A D | BC_Decoder.hpp | 24 /// @param dstBpp dst image bytes per pixel 29 static bool Decode(const unsigned char *src, unsigned char *dst, int w, int h, int dstPitch, int dstBpp, int n, bool isNoAlphaU);
|
H A D | ETC_Decoder.cpp | 670 bool ETC_Decoder::Decode(const unsigned char *src, unsigned char *dst, int w, int h, int dstPitch, int dstBpp, InputType inputType) in Decode() argument 686 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, w, h, dstPitch, inputType == ETC_R_SIGNED, true); in Decode() 698 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, w, h, dstPitch, inputType == ETC_RG_SIGNED, true); in Decode() 709 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, w, h, dstPitch, alphaValues, inputType == ETC_RGB_PUNCHTHROUGH_ALPHA); in Decode() 724 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, w, h, dstPitch, alphaValues, false); in Decode()
|
H A D | ETC_Decoder.hpp | 35 /// @param dstBpp dst image bytes per pixel 38 static bool Decode(const unsigned char *src, unsigned char *dst, int w, int h, int dstPitch, int dstBpp, InputType inputType);
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | ETC_Decoder.cpp | 677 bool ETC_Decoder::Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputType) in Decode() argument 693 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_R_SIGNED, true); in Decode() 705 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_RG_SIGNED, true); in Decode() 716 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType == ETC_RGB_PUNCHTHROUGH_ALPHA); in Decode() 731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
|
H A D | ETC_Decoder.hpp | 37 /// @param dstBpp dst image bytes per pixel 40 static bool Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputType);
|
/third_party/skia/tests/ |
H A D | TransferPixelsTest.cpp | 29 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/ |
H A D | GrDataUtils.cpp | 621 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/ |
H A D | SkWebpCodec.cpp | 507 const size_t dstBpp = dstInfo.bytesPerPixel(); in onGetPixels() local 508 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY); in onGetPixels()
|
/third_party/ffmpeg/libswscale/ |
H A D | swscale_unscaled.c | 1589 const int dstBpp = (c->dstFormatBpp + 7) >> 3; in rgbToRgbWrapper() local 1614 if (dstStride[0] * srcBpp == srcStride[0] * dstBpp && srcStride[0] > 0 && in rgbToRgbWrapper()
|