Home
last modified time | relevance | path

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

/third_party/ffmpeg/libswscale/tests/
H A 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/Device/
H A DBC_Decoder.cpp34 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 DBC_Decoder.hpp24 /// @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 DETC_Decoder.cpp670 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 DETC_Decoder.hpp35 /// @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 DETC_Decoder.cpp677 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 DETC_Decoder.hpp37 /// @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 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/
H A 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/
H A 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/
H A 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()

Completed in 13 milliseconds