Home
last modified time | relevance | path

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

/external/skqp/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()
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()
DSkWuffsCodec.cpp159 SkWuffsCodec(SkEncodedInfo&& encodedInfo,
304 SkWuffsCodec::SkWuffsCodec(SkEncodedInfo&& encodedInfo, in SkWuffsCodec() argument
313 : INHERITED(std::move(encodedInfo), in SkWuffsCodec()
933 SkEncodedInfo encodedInfo = in SkWuffsCodec_MakeFromStream() local
938 std::move(encodedInfo), std::move(stream), std::move(decoder), std::move(pixbuf_ptr), in SkWuffsCodec_MakeFromStream()
DSkSwizzler.h35 static std::unique_ptr<SkSwizzler> Make(const SkEncodedInfo& encodedInfo,
DSkBmpStandardCodec.cpp176 SkEncodedInfo encodedInfo = this->swizzlerInfo(); in initializeSwizzler() local
192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
/external/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.cpp970 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(origWidth, origHeight, color, alpha, in infoCallback() local
973 *fOutCodec = new SkPngNormalDecoder(std::move(encodedInfo), in infoCallback()
976 *fOutCodec = new SkPngInterlacedDecoder(std::move(encodedInfo), in infoCallback()
988 SkPngCodec::SkPngCodec(SkEncodedInfo&& encodedInfo, std::unique_ptr<SkStream> stream, in SkPngCodec() argument
990 : INHERITED(std::move(encodedInfo), png_select_xform_format(encodedInfo), std::move(stream)) in SkPngCodec()
DSkWuffsCodec.cpp192 SkWuffsCodec(SkEncodedInfo&& encodedInfo,
335 SkWuffsCodec::SkWuffsCodec(SkEncodedInfo&& encodedInfo, in SkWuffsCodec() argument
342 : INHERITED(std::move(encodedInfo), in SkWuffsCodec()
998 SkEncodedInfo encodedInfo = SkEncodedInfo::Make(width, height, color, alpha, 8); in SkWuffsCodec_MakeFromStream() local
1001 return std::unique_ptr<SkCodec>(new SkWuffsCodec(std::move(encodedInfo), std::move(stream), in SkWuffsCodec_MakeFromStream()
DSkSwizzler.h35 static std::unique_ptr<SkSwizzler> Make(const SkEncodedInfo& encodedInfo,
DSkBmpStandardCodec.cpp176 SkEncodedInfo encodedInfo = this->swizzlerInfo(); in initializeSwizzler() local
192 fSwizzler = SkSwizzler::Make(encodedInfo, colorPtr, swizzlerInfo, swizzlerOptions); in initializeSwizzler()
/external/skia/third_party/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()