/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 807 const auto bitDepth = tcu::getTextureFormatBitDepth(texFormat); in populate() local 810 const tcu::IVec4 signedMinValues (bitDepth[0] ? deIntMinValue32(deMin32(bitDepth[0], 32)) : (-1), in populate() 811 bitDepth[1] ? deIntMinValue32(deMin32(bitDepth[1], 32)) : (-1), in populate() 812 bitDepth[2] ? deIntMinValue32(deMin32(bitDepth[2], 32)) : (-1), in populate() 813 bitDepth[3] ? deIntMinValue32(deMin32(bitDepth[3], 32)) : (-1)); in populate() 815 const tcu::IVec4 signedMaxValues (bitDepth[0] ? deIntMaxValue32(deMin32(bitDepth[0], 32)) : 1, in populate() 816 bitDepth[1] ? deIntMaxValue32(deMin32(bitDepth[1], 32)) : 1, in populate() 817 bitDepth[2] ? deIntMaxValue32(deMin32(bitDepth[2], 32)) : 1, in populate() 818 bitDepth[3] ? deIntMaxValue32(deMin32(bitDepth[3], 32)) : 1); in populate() 822 const tcu::UVec4 unsignedMaxValues (bitDepth[0] ? deUintMaxValue32(deMin32(bitDepth[0], 32)) : 1u, in populate() [all …]
|
/third_party/skia/src/codec/ |
D | SkPngCodec.cpp | 494 SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder() argument 495 : INHERITED(std::move(info), std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngNormalDecoder() 611 png_infop info_ptr, int bitDepth, int numberPasses) in SkPngInterlacedDecoder() argument 612 : INHERITED(std::move(info), std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder() 839 int bitDepth, encodedColorType; in infoCallback() local 840 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback() 844 if (bitDepth == 16 && (PNG_COLOR_TYPE_GRAY == encodedColorType || in infoCallback() 846 bitDepth = 8; in infoCallback() 859 if (bitDepth < 8) { in infoCallback() 861 bitDepth = 8; in infoCallback() [all …]
|
D | SkPngCodec.h | 48 void* png_ptr, void* info_ptr, int bitDepth);
|
/third_party/flutter/skia/src/codec/ |
D | SkPngCodec.cpp | 496 SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder() argument 497 : INHERITED(std::move(info), std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngNormalDecoder() 613 png_infop info_ptr, int bitDepth, int numberPasses) in SkPngInterlacedDecoder() argument 614 : INHERITED(std::move(info), std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder() 841 int bitDepth, encodedColorType; in infoCallback() local 842 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback() 846 if (bitDepth == 16 && (PNG_COLOR_TYPE_GRAY == encodedColorType || in infoCallback() 848 bitDepth = 8; in infoCallback() 861 if (bitDepth < 8) { in infoCallback() 863 bitDepth = 8; in infoCallback() [all …]
|
D | SkPngCodec.h | 48 void* png_ptr, void* info_ptr, int bitDepth);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSamplerBorderSwizzleTests.cpp | 470 const tcu::IVec4 bitDepth (getTextureFormatBitDepth(textureFormat)); in comparePixelToColorClearValue() local 473 …threshold = tcu::Vec4 (bitDepth[0] > 0 ? 1.0f / ((float)(1 << (bitDepth[0] - modifier)) - 1.0f) : … in comparePixelToColorClearValue() 474 bitDepth[1] > 0 ? 1.0f / ((float)(1 << (bitDepth[1] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue() 475 bitDepth[2] > 0 ? 1.0f / ((float)(1 << (bitDepth[2] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue() 476 bitDepth[3] > 0 ? 1.0f / ((float)(1 << (bitDepth[3] - modifier)) - 1.0f) : 0.0f); in comparePixelToColorClearValue() 524 const tcu::IVec4 bitDepth (getTextureFormatBitDepth(textureFormat)); in comparePixelToColorClearValue() local 526 threshold = tcu::UVec4 ((bitDepth[0] > 0) ? 1 : 0, in comparePixelToColorClearValue() 527 (bitDepth[1] > 0) ? 1 : 0, in comparePixelToColorClearValue() 528 (bitDepth[2] > 0) ? 1 : 0, in comparePixelToColorClearValue() 529 (bitDepth[3] > 0) ? 1 : 0); in comparePixelToColorClearValue() [all …]
|
/third_party/libsnd/src/ALAC/ |
D | alac_decoder.c | 98 theConfig.bitDepth = theActualCookie [offsetof (ALACSpecificConfig, bitDepth)] ; in alac_decoder_init() 112 …RequireAction ((p->mConfig.bitDepth >= 8 && p->mConfig.bitDepth <= 32), return kALAC_BadBitWidth ;… in alac_decoder_init() 212 chanBits = p->mConfig.bitDepth - (bytesShifted * 8) ; in alac_decode() 307 switch (p->mConfig.bitDepth) in alac_decode() 365 chanBits = p->mConfig.bitDepth - (bytesShifted * 8) + 1 ; in alac_decode() 446 chanBits = p->mConfig.bitDepth ; in alac_decode() 498 switch (p->mConfig.bitDepth) in alac_decode()
|
D | ALACAudioTypes.h | 175 uint8_t bitDepth ; // max 32 member
|
/third_party/flutter/skia/src/images/ |
D | SkPngEncoder.cpp | 107 int bitDepth = 8; in setHeader() local 116 bitDepth = 16; in setHeader() 170 bitDepth = 16; in setHeader() 179 bitDepth = 16; in setHeader() 191 bitDepth, pngColorType, in setHeader()
|
/third_party/vk-gl-cts/framework/platform/win32/ |
D | tcuWin32EGLNativeDisplayFactory.cpp | 96 NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth); 148 NativePixmap::NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth) in NativePixmap() argument 157 if (bitDepth != 24 && bitDepth != 32) in NativePixmap() 164 bitmapInfo.bmiHeader.biBitCount = bitDepth; in NativePixmap()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_read_image.cpp | 1212 uint32 bitDepth = ifd.fBitsPerSample [plane]; in ReadUncompressed() local 1216 if (bitDepth == 8) in ReadUncompressed() 1225 else if (bitDepth == 16 && ifd.fSampleFormat [0] == sfFloatingPoint) in ReadUncompressed() 1241 else if (bitDepth == 24 && ifd.fSampleFormat [0] == sfFloatingPoint) in ReadUncompressed() 1273 else if (bitDepth == 16) in ReadUncompressed() 1290 else if (bitDepth == 32) in ReadUncompressed() 1307 else if (bitDepth == 12) in ReadUncompressed() 1349 else if (bitDepth > 8 && bitDepth < 16) in ReadUncompressed() 1356 uint32 bitMask = (1 << bitDepth) - 1; in ReadUncompressed() 1367 while (bufferBits < bitDepth) in ReadUncompressed() [all …]
|
D | dng_utils.cpp | 525 uint32 bitDepth, 548 uint32 bitDepth, in dng_limit_float_depth_task() argument 553 , fBitDepth (bitDepth) in dng_limit_float_depth_task() 723 uint32 bitDepth, in LimitFloatBitDepth() argument 732 bitDepth, in LimitFloatBitDepth()
|
/third_party/skia/src/images/ |
D | SkPngEncoder.cpp | 108 int bitDepth = 8; in setHeader() local 117 bitDepth = 16; in setHeader() 171 bitDepth = 16; in setHeader() 180 bitDepth = 16; in setHeader() 192 bitDepth, pngColorType, in setHeader()
|
/third_party/flutter/skia/src/shaders/ |
D | SkPictureShader.cpp | 50 SkImage::BitDepth bitDepth, in BitmapShaderKey() 55 , fBitDepth(bitDepth) in BitmapShaderKey() 242 SkImage::BitDepth bitDepth = in refBitmapShader() local 246 BitmapShaderKey key(imgCS.get(), bitDepth, fUniqueID, tileScale); in refBitmapShader() 255 nullptr, bitDepth, std::move(imgCS)); in refBitmapShader()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuImageIO.cpp | 111 const png_byte bitDepth = png_get_bit_depth(png_ptr, info_ptr); in loadPNG() local 113 if (colorType == PNG_COLOR_TYPE_RGB && bitDepth == 8) in loadPNG() 115 else if (colorType == PNG_COLOR_TYPE_RGBA && bitDepth == 8) in loadPNG()
|
/third_party/flutter/skia/src/core/ |
D | SkPictureImageGenerator.cpp | 46 SkImage::BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) { in MakeFromPicture() argument 52 if (SkImage::BitDepth::kF16 == bitDepth) { in MakeFromPicture()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureSwizzleTests.cpp | 223 const tcu::IVec4 bitDepth = getTextureFormatBitDepth(isCompressedFormat(m_testParameters.format) in iterate() local 237 log << TestLog::Message << "Format bit depth = " << bitDepth << TestLog::EndMessage; in iterate() 258 swizzled[ndx] = bitDepth[0] ? original.getRed() : zero; in iterate() 261 swizzled[ndx] = bitDepth[1] ? original.getGreen() : zero; in iterate() 264 swizzled[ndx] = bitDepth[2] ? original.getBlue() : zero; in iterate() 267 swizzled[ndx] = bitDepth[3] ? original.getAlpha() : one; in iterate()
|
/third_party/skia/src/core/ |
D | SkPictureImageGenerator.cpp | 44 SkImage::BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) { in MakeFromPicture() argument 50 if (SkImage::BitDepth::kF16 == bitDepth) { in MakeFromPicture()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglNativeColorMappingTests.cpp | 256 const tcu::UVec4 bitDepth(deMinu32(nativeBitDepth.x(), eglBitDepth.x()), in validate() local 261 const tcu::UVec4 uColor = tcu::UVec4((deUint32)((float)((1u << bitDepth.x()) - 1u) * color.x()), in validate() 262 (deUint32)((float)((1u << bitDepth.y()) - 1u) * color.y()), in validate() 263 (deUint32)((float)((1u << bitDepth.z()) - 1u) * color.z()), in validate() 264 (deUint32)((float)((1u << bitDepth.w()) - 1u) * color.w())); in validate() 274 …ts", reference.getAccess(), result.getAccess(), tcu::UVec4(1u, 1u, 1u, (bitDepth.w() > 0 ? 1u : st… in validate()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | tcuANGLENativeDisplayFactory.cpp | 122 NativePixmap(EGLNativeDisplayType display, int width, int height, int bitDepth); 181 NativePixmap::NativePixmap(EGLNativeDisplayType display, int width, int height, int bitDepth) in NativePixmap() argument 189 if (!mPixmap->initialize(display, width, height, bitDepth)) in NativePixmap()
|
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
D | tcuANGLENativeDisplayFactory.cpp | 134 NativePixmap(EGLNativeDisplayType display, int width, int height, int bitDepth); 196 NativePixmap::NativePixmap(EGLNativeDisplayType display, int width, int height, int bitDepth) in NativePixmap() argument 207 if (!mPixmap->initialize(display, width, height, bitDepth)) in NativePixmap()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrConversionTests.cpp | 667 const tcu::UVec4 bitDepth (getYCbCrBitDepth(config.format)); in textureConversionTest() local 782 …calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, fil… in textureConversionTest() 786 …calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, fil… in textureConversionTest() 1380 const UVec4 bitDepth(getYCbCrBitDepth(format)); in buildTests() local 1382 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in buildTests() 1485 const UVec4 bitDepth(getYCbCrBitDepth(format)); in buildTests() local 1487 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in buildTests() 1690 const UVec4 bitDepth(getYCbCrBitDepth(format)); in buildTests() local 1692 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in buildTests()
|
D | vktYCbCrUtil.cpp | 1331 const tcu::UVec4& bitDepth, in convertColor() argument 1346 …output[0] = clampMaybe(rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0]), -0.5,… in convertColor() 1347 …output[1] = clampMaybe(rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1]), 0.0, 1.… in convertColor() 1348 …output[2] = clampMaybe(rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2]), -0.5,… in convertColor() 1357 const tcu::Interval y (rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1])); in convertColor() 1358 const tcu::Interval cr (rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0])); in convertColor() 1359 const tcu::Interval cb (rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2])); in convertColor() 1640 const UVec4& bitDepth, in calculateBounds() argument 1759 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds() 1801 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor); in calculateBounds() [all …]
|
/third_party/flutter/skia/src/sfnt/ |
D | SkOTTable_EBLC.h | 63 } bitDepth; //the Microsoft rasterizer v.1.7 or greater supports member
|
/third_party/skia/src/sfnt/ |
D | SkOTTable_EBLC.h | 63 } bitDepth; //the Microsoft rasterizer v.1.7 or greater supports member
|