/external/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 …]
|
/external/skqp/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 …]
|
/external/skqp/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 …]
|
/external/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 …]
|
/external/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 | 125 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType()
|
/external/skqp/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 | 125 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType()
|
/external/clang/test/ARCMT/ |
D | objcmt-arc-cf-annotations.m | 1263 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}}
|
D | objcmt-arc-cf-annotations.m.result | 1305 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/ |
D | retain-release.m | 1258 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}}
|