Home
last modified time | relevance | path

Searched refs:encodedInfo (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/src/codec/
DSkSwizzler.cpp808 std::unique_ptr<SkSwizzler> SkSwizzler::Make(const SkEncodedInfo& encodedInfo, in Make() argument
813 if (SkEncodedInfo::kPalette_Color == encodedInfo.color() && nullptr == ctable) { in Make()
820 const bool premultiply = (SkEncodedInfo::kOpaque_Alpha != encodedInfo.alpha()) && in Make()
823 switch (encodedInfo.color()) { in Make()
825 switch (encodedInfo.bitsPerComponent()) { in Make()
904 switch (encodedInfo.bitsPerComponent()) { in Make()
948 if (16 == encodedInfo.bitsPerComponent()) { in Make()
953 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make()
958 if (16 == encodedInfo.bitsPerComponent()) { in Make()
963 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make()
[all …]
DSkGifCodec.cpp94 auto encodedInfo = SkEncodedInfo::Make(reader->screenWidth(), reader->screenHeight(), in MakeFromStream() local
96 return std::unique_ptr<SkCodec>(new SkGifCodec(std::move(encodedInfo), reader.release())); in MakeFromStream()
104 SkGifCodec::SkGifCodec(SkEncodedInfo&& encodedInfo, SkGifImageReader* reader) in SkGifCodec() argument
105 : INHERITED(std::move(encodedInfo), skcms_PixelFormat_RGBA_8888, nullptr) in SkGifCodec()
DSkWuffsCodec.cpp128 SkWuffsCodec(SkEncodedInfo&& encodedInfo,
246 SkWuffsCodec::SkWuffsCodec(SkEncodedInfo&& encodedInfo, in SkWuffsCodec() argument
255 : INHERITED(std::move(encodedInfo), in SkWuffsCodec()
864 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(width, height, color, alpha, 8); in SkWuffsCodec_MakeFromStream() local
868 std::move(encodedInfo), std::move(stream), std::move(decoder), std::move(pixbuf_ptr), in SkWuffsCodec_MakeFromStream()
DSkPngCodec.cpp954 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(origWidth, origHeight, color, alpha, in infoCallback() local
957 *fOutCodec = new SkPngNormalDecoder(std::move(encodedInfo), in infoCallback()
960 *fOutCodec = new SkPngInterlacedDecoder(std::move(encodedInfo), in infoCallback()
972 SkPngCodec::SkPngCodec(SkEncodedInfo&& encodedInfo, std::unique_ptr<SkStream> stream, in SkPngCodec() argument
974 : INHERITED(std::move(encodedInfo), png_select_xform_format(encodedInfo), std::move(stream)) in SkPngCodec()
DSkBmpStandardCodec.cpp176 SkEncodedInfo encodedInfo = this->swizzlerInfo(); in initializeSwizzler() local
192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
DSkSwizzler.h35 static std::unique_ptr<SkSwizzler> Make(const SkEncodedInfo& encodedInfo,
/third_party/skia/src/codec/
DSkSwizzler.cpp808 std::unique_ptr<SkSwizzler> SkSwizzler::Make(const SkEncodedInfo& encodedInfo, in Make() argument
813 if (SkEncodedInfo::kPalette_Color == encodedInfo.color() && nullptr == ctable) { in Make()
820 const bool premultiply = (SkEncodedInfo::kOpaque_Alpha != encodedInfo.alpha()) && in Make()
823 switch (encodedInfo.color()) { in Make()
825 switch (encodedInfo.bitsPerComponent()) { in Make()
904 switch (encodedInfo.bitsPerComponent()) { in Make()
948 if (16 == encodedInfo.bitsPerComponent()) { in Make()
953 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make()
958 if (16 == encodedInfo.bitsPerComponent()) { in Make()
963 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make()
[all …]
DSkPngCodec.cpp969 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(origWidth, origHeight, color, alpha, in infoCallback() local
972 *fOutCodec = new SkPngNormalDecoder(std::move(encodedInfo), in infoCallback()
975 *fOutCodec = new SkPngInterlacedDecoder(std::move(encodedInfo), in infoCallback()
987 SkPngCodec::SkPngCodec(SkEncodedInfo&& encodedInfo, std::unique_ptr<SkStream> stream, in SkPngCodec() argument
989 : INHERITED(std::move(encodedInfo), png_select_xform_format(encodedInfo), std::move(stream)) in SkPngCodec()
DSkWuffsCodec.cpp196 SkWuffsCodec(SkEncodedInfo&& encodedInfo,
339 SkWuffsCodec::SkWuffsCodec(SkEncodedInfo&& encodedInfo, in SkWuffsCodec() argument
346 : INHERITED(std::move(encodedInfo), in SkWuffsCodec()
1002 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(width, height, color, alpha, 8); in SkWuffsCodec_MakeFromStream() local
1005 return std::unique_ptr<SkCodec>(new SkWuffsCodec(std::move(encodedInfo), std::move(stream), in SkWuffsCodec_MakeFromStream()
DSkBmpStandardCodec.cpp176 SkEncodedInfo encodedInfo = this->swizzlerInfo(); in initializeSwizzler() local
192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
DSkSwizzler.h35 static std::unique_ptr<SkSwizzler> Make(const SkEncodedInfo& encodedInfo,
/third_party/skia/third_party/externals/libgifcodec/
DSkLibGifCodec.cpp92 auto encodedInfo = SkEncodedInfo::Make(reader->screenWidth(), reader->screenHeight(), in MakeFromStream() local
94 return std::unique_ptr<SkCodec>(new SkLibGifCodec(std::move(encodedInfo), reader.release())); in MakeFromStream()
102 SkLibGifCodec::SkLibGifCodec(SkEncodedInfo&& encodedInfo, SkGifImageReader* reader) in SkLibGifCodec() argument
103 : INHERITED(std::move(encodedInfo), skcms_PixelFormat_RGBA_8888, nullptr) in SkLibGifCodec()