/external/skia/include/private/ |
D | SkEncodedInfo.h | 108 int bitsPerComponent) { in Make() 109 return Make(width, height, color, alpha, bitsPerComponent, nullptr); in Make() 113 Alpha alpha, int bitsPerComponent, std::unique_ptr<ICCProfile> profile) { in Make() 114 return Make(width, height, color, alpha, /*bitsPerComponent*/ bitsPerComponent, in Make() 115 std::move(profile), /*colorDepth*/ bitsPerComponent); in Make() 119 Alpha alpha, int bitsPerComponent, std::unique_ptr<ICCProfile> profile, in Make() 121 SkASSERT(1 == bitsPerComponent || in Make() 122 2 == bitsPerComponent || in Make() 123 4 == bitsPerComponent || in Make() 124 8 == bitsPerComponent || in Make() [all …]
|
/external/skia/src/utils/mac/ |
D | SkCreateCGImageRef.cpp | 56 size_t* bitsPerComponent, in get_bitmap_info() argument 68 *bitsPerComponent = 8; in get_bitmap_info() 72 *bitsPerComponent = 8; in get_bitmap_info() 76 *bitsPerComponent = 8; in get_bitmap_info() 80 *bitsPerComponent = 4; in get_bitmap_info() 90 size_t* bitsPerComponent, in prepare_for_image_ref() argument 93 if (!get_bitmap_info(bm.colorType(), bm.alphaType(), bitsPerComponent, info, &upscaleTo32)) { in prepare_for_image_ref() 116 size_t bitsPerComponent SK_INIT_TO_AVOID_WARNING; in SkCreateCGImageRef() 119 std::unique_ptr<SkBitmap> bitmap = prepare_for_image_ref(bm, &bitsPerComponent, &info); in SkCreateCGImageRef() 136 bitsPerComponent, in SkCreateCGImageRef() [all …]
|
/external/libcups/filter/ |
D | rastertopdf.cpp | 58 static int rasterToPDFColorSpace( cups_cspace_t colorSpace, int bitsPerPixel, int *bitsPerComponent… in rasterToPDFColorSpace() argument 64 *bitsPerComponent = bitsPerPixel; in rasterToPDFColorSpace() 70 *bitsPerComponent = bitsPerPixel/3; in rasterToPDFColorSpace() 128 int bitsPerComponent, in writeImageObject() argument 148 …zu\n", width, height, (interpolate ? "true" : "false"), colorspace, bitsPerComponent, rasterDataSi… in writeImageObject() 320 int bitsPerComponent = 8; in convertCUPSRasterToPDF() local 328 …olorSpace( pageHeader.cupsColorSpace, pageHeader.cupsBitsPerPixel, &bitsPerComponent, colorspace, … in convertCUPSRasterToPDF() 386 bitsPerComponent, in convertCUPSRasterToPDF()
|
/external/skia/src/codec/ |
D | SkPngCodecBase.cpp | 42 if (16 == info.bitsPerComponent()) { in ToPixelFormat() 124 if (this->getEncodedInfo().bitsPerComponent() != 16) { in initializeXforms() 228 SkASSERT(this->getEncodedInfo().bitsPerComponent() == 16); in initializeSwizzler() 232 srcBPP = this->getEncodedInfo().bitsPerComponent() / 2; in initializeSwizzler() 359 const size_t maxColors = static_cast<size_t>(1) << this->getEncodedInfo().bitsPerComponent(); in createColorTable()
|
D | SkBmpCodec.cpp | 451 uint8_t bitsPerComponent; in ReadHeader() local 462 bitsPerComponent = 8; in ReadHeader() 465 bitsPerComponent = (uint8_t) bitsPerPixel; in ReadHeader() 472 bitsPerComponent = 8; in ReadHeader() 484 bitsPerComponent = 8; in ReadHeader() 496 auto info = SkEncodedInfo::Make(width, height, color, alpha, bitsPerComponent); in ReadHeader()
|
D | SkSwizzler.cpp | 846 switch (encodedInfo.bitsPerComponent()) { in Make() 925 switch (encodedInfo.bitsPerComponent()) { in Make() 970 if (16 == encodedInfo.bitsPerComponent()) { in Make() 975 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make() 980 if (16 == encodedInfo.bitsPerComponent()) { in Make() 985 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make() 990 if (16 == encodedInfo.bitsPerComponent()) { in Make() 1004 if (16 == encodedInfo.bitsPerComponent()) { in Make() 1010 SkASSERT(8 == encodedInfo.bitsPerComponent()); in Make() 1031 if (16 == encodedInfo.bitsPerComponent()) { in Make() [all …]
|
D | SkAvifCodec.cpp | 92 const int bitsPerComponent = avifDecoder->image->depth > 8 ? 16 : 8; in MakeFromStream() local 106 bitsPerComponent, in MakeFromStream()
|
D | SkCrabbyAvifCodec.cpp | 216 const int bitsPerComponent = 8; in MakeFromData() local 253 width, height, color, alpha, bitsPerComponent, std::move(profile), image->depth); in MakeFromData()
|
D | SkBmpStandardCodec.cpp | 186 return make_info(info.color(), info.alpha(), info.bitsPerComponent()); in swizzlerInfo()
|
D | SkAndroidCodec.cpp | 252 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType()
|
/external/skia/src/encode/ |
D | SkPngEncoderBase.cpp | 27 int bitsPerComponent) { in makeInfo() argument 33 return SkEncodedInfo::Make(srcInfo.width(), srcInfo.height(), color, alpha, bitsPerComponent); in makeInfo() 64 SkASSERT(dstInfo.bitsPerComponent() == 8 || dstInfo.bitsPerComponent() == 16); in makeTargetInfo()
|
D | SkPngEncoderImpl.cpp | 219 dstInfo.bitsPerComponent(), in setHeader()
|
/external/swiftshader/src/Vulkan/ |
D | VkFormat.hpp | 69 sw::int4 bitsPerComponent() const;
|
D | VkFormat.cpp | 2475 sw::int4 Format::bitsPerComponent() const in bitsPerComponent() function in vk::Format
|
/external/executorch/examples/demo-apps/apple_ios/ExecuTorchDemo/ExecuTorchDemo/Sources/MobileNet/ |
D | MobileNetClassifier.swift | 116 bitsPerComponent: 8, in rawData()
|
/external/skia/experimental/rust_png/encoder/impl/ |
D | SkPngRustEncoderImpl.cpp | 177 dstInfo.bitsPerComponent(), in Make()
|
/external/skia/include/codec/ |
D | SkCodec.h | 249 return this->getEncodedInfo().bitsPerComponent() >= 16; in hasHighBitDepthEncodedData()
|
/external/executorch/examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ |
D | ContentView.swift | 37 data: &pixelData, width: width, height: height, bitsPerComponent: 8, in toRGBArray()
|
/external/webrtc/sdk/objc/unittests/ |
D | RTCCameraVideoCapturerTests.mm | 40 // We don't care about bitsPerComponent and bytesPerRow so arbitrary value of 8 for both.
|
/external/clang/test/ARCMT/ |
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}}
|
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}}
|
/external/swiftshader/src/Pipeline/ |
D | SamplerCore.cpp | 2769 const sw::int4 bits = state.textureFormat.bitsPerComponent(); in getComponentScale()
|
/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}}
|