Home
last modified time | relevance | path

Searched refs:bitsPerComponent (Results 1 – 9 of 9) sorted by relevance

/external/skia/include/codec/
DSkEncodedInfo.h70 static SkEncodedInfo Make(Color color, Alpha alpha, int bitsPerComponent) { in Make()
71 SkASSERT(1 == bitsPerComponent || in Make()
72 2 == bitsPerComponent || in Make()
73 4 == bitsPerComponent || in Make()
74 8 == bitsPerComponent || in Make()
75 16 == bitsPerComponent); in Make()
85 SkASSERT(16 != bitsPerComponent); in Make()
91 SkASSERT(bitsPerComponent >= 8); in Make()
97 SkASSERT(8 == bitsPerComponent); in Make()
101 SkASSERT(bitsPerComponent >= 8); in Make()
[all …]
/external/skia/src/utils/mac/
DSkCreateCGImageRef.cpp57 size_t* bitsPerComponent, in getBitmapInfo() argument
68 *bitsPerComponent = 5; in getBitmapInfo()
75 *bitsPerComponent = 8; in getBitmapInfo()
80 *bitsPerComponent = 8; in getBitmapInfo()
84 *bitsPerComponent = 8; in getBitmapInfo()
88 *bitsPerComponent = 4; in getBitmapInfo()
103 size_t* bitsPerComponent, in prepareForImageRef() argument
106 if (!getBitmapInfo(bm, bitsPerComponent, info, &upscaleTo32)) { in prepareForImageRef()
125 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; in SkCreateCGImageRefWithColorspace()
128 SkBitmap* bitmap = prepareForImageRef(bm, &bitsPerComponent, &info); in SkCreateCGImageRefWithColorspace()
[all …]
/external/skia/src/codec/
DSkBmpCodec.cpp433 uint8_t bitsPerComponent; in ReadHeader() local
444 bitsPerComponent = 8; in ReadHeader()
447 bitsPerComponent = (uint8_t) bitsPerPixel; in ReadHeader()
454 bitsPerComponent = 8; in ReadHeader()
466 bitsPerComponent = 8; in ReadHeader()
478 const SkEncodedInfo info = SkEncodedInfo::Make(color, alpha, bitsPerComponent); in ReadHeader()
DSkSwizzler.cpp815 switch (encodedInfo.bitsPerComponent()) { in Make()
890 switch (encodedInfo.bitsPerComponent()) { in Make()
930 if (16 == encodedInfo.bitsPerComponent()) { in Make()
935 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make()
940 if (16 == encodedInfo.bitsPerComponent()) { in Make()
945 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make()
950 if (16 == encodedInfo.bitsPerComponent()) { in Make()
964 if (16 == encodedInfo.bitsPerComponent()) { in Make()
970 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make()
991 if (16 == encodedInfo.bitsPerComponent()) { in Make()
[all …]
DSkPngCodec.cpp455 if (16 == info.bitsPerComponent()) { in png_select_xform_format()
990 if (this->getEncodedInfo().bitsPerComponent() != 16) { in initializeXforms()
1054 SkASSERT(this->getEncodedInfo().bitsPerComponent() == 16); in initializeSwizzler()
1058 srcBPP = this->getEncodedInfo().bitsPerComponent() / 2; in initializeSwizzler()
DSkAndroidCodec.cpp111 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType()
/external/clang/test/ARCMT/
Dobjcmt-arc-cf-annotations.m1263 size_t width, size_t height, size_t bitsPerComponent,
1268 size_t width, size_t height, size_t bitsPerComponent,
1277 CGBitmapContextCreateWithData(data, width, height, bitsPerComponent, // expected-warning{{leak}}
Dobjcmt-arc-cf-annotations.m.result1305 size_t width, size_t height, size_t bitsPerComponent,
1310 size_t width, size_t height, size_t bitsPerComponent,
1319 CGBitmapContextCreateWithData(data, width, height, bitsPerComponent, // expected-warning{{leak}}
/external/clang/test/Analysis/
Dretain-release.m1258 size_t width, size_t height, size_t bitsPerComponent,
1263 size_t width, size_t height, size_t bitsPerComponent,
1272 CGBitmapContextCreateWithData(data, width, height, bitsPerComponent, // expected-warning{{leak}}