/external/skia/include/private/ |
SkEncodedInfo.h | 70 static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) { 71 SkASSERT(1 == bitsPerComponent || 72 2 == bitsPerComponent || 73 4 == bitsPerComponent || 74 8 == bitsPerComponent || 75 16 == bitsPerComponent); 85 SkASSERT(16 != bitsPerComponent); 91 SkASSERT(bitsPerComponent >= 8); 97 SkASSERT(8 == bitsPerComponent); 101 SkASSERT(bitsPerComponent >= 8) [all...] |
/external/skqp/include/private/ |
SkEncodedInfo.h | 70 static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) { 71 SkASSERT(1 == bitsPerComponent || 72 2 == bitsPerComponent || 73 4 == bitsPerComponent || 74 8 == bitsPerComponent || 75 16 == bitsPerComponent); 85 SkASSERT(16 != bitsPerComponent); 91 SkASSERT(bitsPerComponent >= 8); 97 SkASSERT(8 == bitsPerComponent); 101 SkASSERT(bitsPerComponent >= 8) [all...] |
/external/skia/src/utils/mac/ |
SkCreateCGImageRef.cpp | 57 size_t* bitsPerComponent, 68 *bitsPerComponent = 5; 75 *bitsPerComponent = 8; 80 *bitsPerComponent = 8; 84 *bitsPerComponent = 8; 88 *bitsPerComponent = 4; 103 size_t* bitsPerComponent, 106 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { 125 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; 128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info) [all...] |
/external/skqp/src/utils/mac/ |
SkCreateCGImageRef.cpp | 57 size_t* bitsPerComponent, 68 *bitsPerComponent = 5; 75 *bitsPerComponent = 8; 80 *bitsPerComponent = 8; 84 *bitsPerComponent = 8; 88 *bitsPerComponent = 4; 103 size_t* bitsPerComponent, 106 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { 125 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; 128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info) [all...] |
/external/skia/src/codec/ |
SkBmpCodec.cpp | 439 uint8_t bitsPerComponent; 450 bitsPerComponent = 8; 453 bitsPerComponent = (uint8_t) bitsPerPixel; 460 bitsPerComponent = 8; 472 bitsPerComponent = 8; 484 const SkEncodedInfo info = SkEncodedInfo::Make(color, alpha, bitsPerComponent);
|
SkSwizzler.cpp | 823 SkASSERT(16 == encodedInfo.bitsPerComponent() || 824 8 == encodedInfo.bitsPerComponent()); 825 if (8 == encodedInfo.bitsPerComponent()) { 836 SkASSERT(16 == encodedInfo.bitsPerComponent()); 851 switch (encodedInfo.bitsPerComponent()) { 929 switch (encodedInfo.bitsPerComponent()) { [all...] |
SkAndroidCodec.cpp | 132 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8;
|
SkPngCodec.cpp | 458 if (16 == info.bitsPerComponent()) { [all...] |
SkJpegCodec.cpp | 652 swizzlerInfo.bitsPerComponent()); [all...] |
/external/skqp/src/codec/ |
SkBmpCodec.cpp | 434 uint8_t bitsPerComponent; 445 bitsPerComponent = 8; 448 bitsPerComponent = (uint8_t) bitsPerPixel; 455 bitsPerComponent = 8; 467 bitsPerComponent = 8; 479 const SkEncodedInfo info = SkEncodedInfo::Make(color, alpha, bitsPerComponent);
|
SkSwizzler.cpp | 823 SkASSERT(16 == encodedInfo.bitsPerComponent() || 824 8 == encodedInfo.bitsPerComponent()); 825 if (8 == encodedInfo.bitsPerComponent()) { 836 SkASSERT(16 == encodedInfo.bitsPerComponent()); 851 switch (encodedInfo.bitsPerComponent()) { 929 switch (encodedInfo.bitsPerComponent()) { [all...] |
SkAndroidCodec.cpp | 132 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8;
|
SkPngCodec.cpp | 458 if (16 == info.bitsPerComponent()) { [all...] |
SkJpegCodec.cpp | 651 swizzlerInfo.bitsPerComponent()); [all...] |