/third_party/flutter/skia/include/private/ |
D | SkEncodedInfo.h | 97 int bitsPerComponent) { in Make() 98 return Make(width, height, color, alpha, bitsPerComponent, nullptr); in Make() 102 int bitsPerComponent, std::unique_ptr<ICCProfile> profile) { in Make() 103 SkASSERT(1 == bitsPerComponent || in Make() 104 2 == bitsPerComponent || in Make() 105 4 == bitsPerComponent || in Make() 106 8 == bitsPerComponent || in Make() 107 16 == bitsPerComponent); in Make() 117 SkASSERT(16 != bitsPerComponent); in Make() 123 SkASSERT(bitsPerComponent >= 8); in Make() [all …]
|
/third_party/skia/include/private/ |
D | SkEncodedInfo.h | 99 int bitsPerComponent) { in Make() 100 return Make(width, height, color, alpha, bitsPerComponent, nullptr); in Make() 104 int bitsPerComponent, std::unique_ptr<ICCProfile> profile) { in Make() 105 SkASSERT(1 == bitsPerComponent || in Make() 106 2 == bitsPerComponent || in Make() 107 4 == bitsPerComponent || in Make() 108 8 == bitsPerComponent || in Make() 109 16 == bitsPerComponent); in Make() 119 SkASSERT(16 != bitsPerComponent); in Make() 125 SkASSERT(bitsPerComponent >= 8); in Make() [all …]
|
/third_party/flutter/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 59 size_t* bitsPerComponent, in getBitmapInfo() argument 70 *bitsPerComponent = 5; in getBitmapInfo() 77 *bitsPerComponent = 8; in getBitmapInfo() 82 *bitsPerComponent = 8; in getBitmapInfo() 86 *bitsPerComponent = 8; in getBitmapInfo() 90 *bitsPerComponent = 4; in getBitmapInfo() 105 size_t* bitsPerComponent, in prepareForImageRef() argument 108 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { in prepareForImageRef() 127 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; in SkCreateCGImageRefWithColorspace() 130 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace() [all …]
|
/third_party/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 53 size_t* bitsPerComponent, in get_bitmap_info() argument 65 *bitsPerComponent = 8; in get_bitmap_info() 69 *bitsPerComponent = 8; in get_bitmap_info() 73 *bitsPerComponent = 8; in get_bitmap_info() 77 *bitsPerComponent = 4; in get_bitmap_info() 87 size_t* bitsPerComponent, in prepare_for_image_ref() argument 90 if (!get_bitmap_info(bm.colorType(), bm.alphaType(), bitsPerComponent, info, &upscaleTo32)) { in prepare_for_image_ref() 109 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; in SkCreateCGImageRefWithColorspace() 112 std::unique_ptr<SkBitmap> bitmap = prepare_for_image_ref(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace() 131 return CGImageCreate(pm.width(), pm.height(), bitsPerComponent, in SkCreateCGImageRefWithColorspace() [all …]
|
/third_party/flutter/skia/src/codec/ |
D | SkBmpCodec.cpp | 439 uint8_t bitsPerComponent; in ReadHeader() local 450 bitsPerComponent = 8; in ReadHeader() 453 bitsPerComponent = (uint8_t) bitsPerPixel; in ReadHeader() 460 bitsPerComponent = 8; in ReadHeader() 472 bitsPerComponent = 8; in ReadHeader() 484 auto info = SkEncodedInfo::Make(width, height, color, alpha, bitsPerComponent); in ReadHeader()
|
D | SkSwizzler.cpp | 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() 968 if (16 == encodedInfo.bitsPerComponent()) { in Make() 982 if (16 == encodedInfo.bitsPerComponent()) { in Make() 988 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make() 1009 if (16 == encodedInfo.bitsPerComponent()) { in Make() [all …]
|
D | SkPngCodec.cpp | 457 if (16 == info.bitsPerComponent()) { in png_select_xform_format() 1018 if (this->getEncodedInfo().bitsPerComponent() != 16) { in initializeXforms() 1087 SkASSERT(this->getEncodedInfo().bitsPerComponent() == 16); in initializeSwizzler() 1091 srcBPP = this->getEncodedInfo().bitsPerComponent() / 2; in initializeSwizzler()
|
D | SkBmpStandardCodec.cpp | 169 return make_info(info.color(), info.alpha(), info.bitsPerComponent()); in swizzlerInfo()
|
D | SkAndroidCodec.cpp | 129 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType()
|
/third_party/skia/src/codec/ |
D | SkBmpCodec.cpp | 442 uint8_t bitsPerComponent; in ReadHeader() local 453 bitsPerComponent = 8; in ReadHeader() 456 bitsPerComponent = (uint8_t) bitsPerPixel; in ReadHeader() 463 bitsPerComponent = 8; in ReadHeader() 475 bitsPerComponent = 8; in ReadHeader() 487 auto info = SkEncodedInfo::Make(width, height, color, alpha, bitsPerComponent); in ReadHeader()
|
D | SkSwizzler.cpp | 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() 968 if (16 == encodedInfo.bitsPerComponent()) { in Make() 982 if (16 == encodedInfo.bitsPerComponent()) { in Make() 988 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make() 1009 if (16 == encodedInfo.bitsPerComponent()) { in Make() [all …]
|
D | SkPngCodec.cpp | 455 if (16 == info.bitsPerComponent()) { in png_select_xform_format() 1033 if (this->getEncodedInfo().bitsPerComponent() != 16) { in initializeXforms() 1101 SkASSERT(this->getEncodedInfo().bitsPerComponent() == 16); in initializeSwizzler() 1105 srcBPP = this->getEncodedInfo().bitsPerComponent() / 2; in initializeSwizzler()
|
D | SkAndroidCodec.cpp | 116 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType()
|
D | SkBmpStandardCodec.cpp | 169 return make_info(info.color(), info.alpha(), info.bitsPerComponent()); in swizzlerInfo()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkFormat.hpp | 65 sw::int4 bitsPerComponent() const;
|
D | VkFormat.cpp | 2026 sw::int4 Format::bitsPerComponent() const in bitsPerComponent() function in vk::Format
|
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/ |
D | FlutterView.mm | 147 8, // size_t bitsPerComponent
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 2590 const sw::int4 bits = state.textureFormat.bitsPerComponent(); in getComponentScale()
|