HomeSort by relevance Sort by last modified time
    Searched refs:bitsPerComponent (Results 1 - 7 of 7) sorted by null

  /external/skia/include/codec/
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)) {
124 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING;
127 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 855 SkASSERT(16 == encodedInfo.bitsPerComponent() ||
856 8 == encodedInfo.bitsPerComponent());
857 if (8 == encodedInfo.bitsPerComponent()) {
868 SkASSERT(16 == encodedInfo.bitsPerComponent());
883 switch (encodedInfo.bitsPerComponent()) {
    [all...]
SkAndroidCodec.cpp 123 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8;
SkPngCodec.cpp 467 if (16 == info.bitsPerComponent()) {
    [all...]
SkJpegCodec.cpp 648 swizzlerInfo.bitsPerComponent());
    [all...]

Completed in 492 milliseconds