Home
last modified time | relevance | path

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

/external/skia/include/private/
DSkEncodedInfo.h97 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/
DSkEncodedInfo.h97 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/
DSkCreateCGImageRef.cpp59 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/
DSkCreateCGImageRef.cpp59 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/
DSkBmpCodec.cpp439 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()
DSkSwizzler.cpp825 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 …]
DSkPngCodec.cpp457 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()
DSkBmpStandardCodec.cpp169 return make_info(info.color(), info.alpha(), info.bitsPerComponent()); in swizzlerInfo()
DSkAndroidCodec.cpp125 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType()
/external/skqp/src/codec/
DSkBmpCodec.cpp439 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()
DSkSwizzler.cpp825 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 …]
DSkPngCodec.cpp457 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()
DSkBmpStandardCodec.cpp169 return make_info(info.color(), info.alpha(), info.bitsPerComponent()); in swizzlerInfo()
DSkAndroidCodec.cpp125 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}}