Home
last modified time | relevance | path

Searched refs:sigBits (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/tests/
DPackedConfigsTextureTest.cpp35 static uint8_t expand_value(uint8_t original, int sigBits) { in expand_value() argument
36 SkASSERT(sigBits >= 4); in expand_value()
37 uint8_t inSigBitShift = 8 - sigBits; in expand_value()
38 uint8_t duplBitShift = sigBits - inSigBitShift; in expand_value()
/third_party/skia/src/codec/
DSkPngCodec.cpp937 png_color_8p sigBits; in infoCallback() local
938 if (png_get_sBIT(fPng_ptr, fInfo_ptr, &sigBits)) { in infoCallback()
939 if (8 == sigBits->alpha && kGraySigBit_GrayAlphaIsJustAlpha == sigBits->gray) { in infoCallback()
946 png_color_8p sigBits; in infoCallback() local
947 if (png_get_sBIT(fPng_ptr, fInfo_ptr, &sigBits)) { in infoCallback()
948 if (5 == sigBits->red && 6 == sigBits->green && 5 == sigBits->blue) { in infoCallback()
960 png_color_8p sigBits; in infoCallback() local
961 if (png_get_sBIT(fPng_ptr, fInfo_ptr, &sigBits)) { in infoCallback()
962 if (5 == sigBits->red && 6 == sigBits->green && 5 == sigBits->blue) { in infoCallback()
/third_party/flutter/skia/src/codec/
DSkPngCodec.cpp938 png_color_8p sigBits; in infoCallback() local
939 if (png_get_sBIT(fPng_ptr, fInfo_ptr, &sigBits)) { in infoCallback()
940 if (8 == sigBits->alpha && kGraySigBit_GrayAlphaIsJustAlpha == sigBits->gray) { in infoCallback()
945 png_color_8p sigBits; in infoCallback() local
946 if (png_get_sBIT(fPng_ptr, fInfo_ptr, &sigBits)) { in infoCallback()
947 if (5 == sigBits->red && 6 == sigBits->green && 5 == sigBits->blue) { in infoCallback()