Home
last modified time | relevance | path

Searched refs:bitDepth (Results 1 - 25 of 55) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMismatchedWriteOpTests.cpp806 const auto bitDepth = tcu::getTextureFormatBitDepth(texFormat); in populate() local
809 const tcu::IVec4 signedMinValues (bitDepth[0] ? deIntMinValue32(deMin32(bitDepth[0], 32)) : (-1), in populate()
810 bitDepth[1] ? deIntMinValue32(deMin32(bitDepth[1], 32)) : (-1), in populate()
811 bitDepth[2] ? deIntMinValue32(deMin32(bitDepth[2], 32)) : (-1), in populate()
812 bitDepth[3] ? deIntMinValue32(deMin32(bitDepth[3], 32)) : (-1)); in populate()
814 const tcu::IVec4 signedMaxValues (bitDepth[ in populate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMismatchedWriteOpTests.cpp809 const auto bitDepth = tcu::getTextureFormatBitDepth(texFormat); in populate() local
812 const tcu::IVec4 signedMinValues (bitDepth[0] ? deIntMinValue32(deMin32(bitDepth[0], 32)) : (-1), in populate()
813 bitDepth[1] ? deIntMinValue32(deMin32(bitDepth[1], 32)) : (-1), in populate()
814 bitDepth[2] ? deIntMinValue32(deMin32(bitDepth[2], 32)) : (-1), in populate()
815 bitDepth[3] ? deIntMinValue32(deMin32(bitDepth[3], 32)) : (-1)); in populate()
817 const tcu::IVec4 signedMaxValues (bitDepth[ in populate()
[all...]
/third_party/skia/src/codec/
H A DSkPngCodec.cpp499 SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder()
500 : INHERITED(std::move(info), std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngNormalDecoder()
616 png_infop info_ptr, int bitDepth, int numberPasses) in SkPngInterlacedDecoder()
617 : INHERITED(std::move(info), std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder()
844 int bitDepth, encodedColorType; in infoCallback() local
845 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback()
849 if (bitDepth == 16 && (PNG_COLOR_TYPE_GRAY == encodedColorType || in infoCallback()
851 bitDepth = 8; in infoCallback()
864 if (bitDepth < 8) { in infoCallback()
866 bitDepth in infoCallback()
498 SkPngNormalDecoder(SkEncodedInfo&& info, std::unique_ptr<SkStream> stream, SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth) SkPngNormalDecoder() argument
614 SkPngInterlacedDecoder(SkEncodedInfo&& info, std::unique_ptr<SkStream> stream, SkPngChunkReader* reader, png_structp png_ptr, png_infop info_ptr, int bitDepth, int numberPasses) SkPngInterlacedDecoder() argument
992 SkPngCodec(SkEncodedInfo&& encodedInfo, std::unique_ptr<SkStream> stream, SkPngChunkReader* chunkReader, void* png_ptr, void* info_ptr, int bitDepth) SkPngCodec() argument
[all...]
H A DSkPngCodec.h48 void* png_ptr, void* info_ptr, int bitDepth);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp473 const tcu::IVec4 bitDepth (getTextureFormatBitDepth(textureFormat)); in comparePixelToColorClearValue()
476 threshold = tcu::Vec4 (bitDepth[0] > 0 ? 1.0f / ((float)(1 << (bitDepth[0] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue()
477 bitDepth[1] > 0 ? 1.0f / ((float)(1 << (bitDepth[1] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue()
478 bitDepth[2] > 0 ? 1.0f / ((float)(1 << (bitDepth[2] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue()
479 bitDepth[3] > 0 ? 1.0f / ((float)(1 << (bitDepth[3] - modifier)) - 1.0f) : 0.0f); in comparePixelToColorClearValue()
527 const tcu::IVec4 bitDepth (getTextureFormatBitDept in comparePixelToColorClearValue()
[all...]
/third_party/libsnd/src/ALAC/
H A Dalac_decoder.c98 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()
H A DALACAudioTypes.h175 uint8_t bitDepth ; // max 32 member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp583 const tcu::IVec4 bitDepth (getTextureFormatBitDepth(textureFormat)); in comparePixelToColorClearValue()
586 threshold = tcu::Vec4 (bitDepth[0] > 0 ? 1.0f / ((float)(1 << (bitDepth[0] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue()
587 bitDepth[1] > 0 ? 1.0f / ((float)(1 << (bitDepth[1] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue()
588 bitDepth[2] > 0 ? 1.0f / ((float)(1 << (bitDepth[2] - modifier)) - 1.0f) : 0.0f, in comparePixelToColorClearValue()
589 bitDepth[3] > 0 ? 1.0f / ((float)(1 << (bitDepth[3] - modifier)) - 1.0f) : 0.0f); in comparePixelToColorClearValue()
637 const tcu::IVec4 bitDepth (getTextureFormatBitDept in comparePixelToColorClearValue()
[all...]
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_read_image.cpp1212 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) in ReadUncompressed()
[all...]
H A Ddng_utils.cpp525 uint32 bitDepth,
548 uint32 bitDepth, in dng_limit_float_depth_task()
553 , fBitDepth (bitDepth) in dng_limit_float_depth_task()
723 uint32 bitDepth, in LimitFloatBitDepth()
732 bitDepth, in LimitFloatBitDepth()
546 dng_limit_float_depth_task(const dng_image &srcImage, dng_image &dstImage, uint32 bitDepth, real32 scale) dng_limit_float_depth_task() argument
720 LimitFloatBitDepth(dng_host &host, const dng_image &srcImage, dng_image &dstImage, uint32 bitDepth, real32 scale) LimitFloatBitDepth() argument
/third_party/vk-gl-cts/framework/common/
H A DtcuImageIO.cpp111 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/skia/src/images/
H A DSkPngEncoder.cpp108 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/vk-gl-cts/framework/platform/win32/
H A DtcuWin32EGLNativeDisplayFactory.cpp96 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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureSwizzleTests.cpp223 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/
H A DSkPictureImageGenerator.cpp44 SkImage::BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) { in MakeFromPicture()
50 if (SkImage::BitDepth::kF16 == bitDepth) { in MakeFromPicture()
42 MakeFromPicture(const SkISize& size, sk_sp<SkPicture> picture, const SkMatrix* matrix, const SkPaint* paint, SkImage::BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) MakeFromPicture() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureSwizzleTests.cpp251 const tcu::IVec4 bitDepth = getTextureFormatBitDepth(isCompressedFormat(m_testParameters.format) in iterate() local
265 log << TestLog::Message << "Format bit depth = " << bitDepth << TestLog::EndMessage; in iterate()
286 swizzled[ndx] = bitDepth[0] ? original.getRed() : zero; in iterate()
289 swizzled[ndx] = bitDepth[1] ? original.getGreen() : zero; in iterate()
292 swizzled[ndx] = bitDepth[2] ? original.getBlue() : zero; in iterate()
295 swizzled[ndx] = bitDepth[3] ? original.getAlpha() : one; in iterate()
/third_party/vk-gl-cts/modules/egl/
H A DteglNativeColorMappingTests.cpp256 const tcu::UVec4 bitDepth(deMinu32(nativeBitDepth.x(), eglBitDepth.x()), in validate()
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 return tcu::intThresholdCompare(log, "Result compare", "Compare results", reference.getAccess(), result.getAccess(), tcu::UVec4(1u, 1u, 1u, (bitDepth.w() > 0 ? 1u : std::numeric_limits<deUint32>::max())), tcu::COMPARE_LOG_RESULT); in validate()
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
H A DtcuANGLENativeDisplayFactory.cpp134 NativePixmap(EGLNativeDisplayType display, int width, int height, int bitDepth);
196 NativePixmap::NativePixmap(EGLNativeDisplayType display, int width, int height, int bitDepth)
207 if (!mPixmap->initialize(display, width, height, bitDepth))
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp1362 const tcu::UVec4& bitDepth,
1377 output[0] = clampMaybe(rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0]), -0.5, 0.5);
1378 output[1] = clampMaybe(rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1]), 0.0, 1.0);
1379 output[2] = clampMaybe(rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2]), -0.5, 0.5);
1388 const tcu::Interval y (rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1]));
1389 const tcu::Interval cr (rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0]));
1390 const tcu::Interval cb (rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2]));
1671 const UVec4& bitDepth,
1790 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor);
1832 convertColor(colorModel, range, conversionFormat, bitDepth, srcColo
[all...]
H A DvktYCbCrConversionTests.cpp727 const tcu::UVec4 bitDepth (getYCbCrBitDepth(config.format)); in textureConversionTest()
862 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, config.xChromaOffset, config.yChromaOffset, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minBound, maxBound, uvBound, ijBound); in textureConversionTest()
866 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minMidpointBound, maxMidpointBound, uvBound, ijBound); in textureConversionTest()
1460 const UVec4 bitDepth(getYCbCrBitDepth(format)); in buildTests()
1462 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in buildTests()
1565 const UVec4 bitDepth(getYCbCrBitDepth(format)); in buildTests()
1567 if (bitDepth[0] < 8 || bitDepth[ in buildTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp1361 const tcu::UVec4& bitDepth,
1376 output[0] = clampMaybe(rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0]), -0.5, 0.5);
1377 output[1] = clampMaybe(rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1]), 0.0, 1.0);
1378 output[2] = clampMaybe(rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2]), -0.5, 0.5);
1387 const tcu::Interval y (rangeExpandLuma(range, conversionFormat[1], bitDepth[1], input[1]));
1388 const tcu::Interval cr (rangeExpandChroma(range, conversionFormat[0], bitDepth[0], input[0]));
1389 const tcu::Interval cb (rangeExpandChroma(range, conversionFormat[2], bitDepth[2], input[2]));
1670 const UVec4& bitDepth,
1789 convertColor(colorModel, range, conversionFormat, bitDepth, srcColor, dstColor);
1831 convertColor(colorModel, range, conversionFormat, bitDepth, srcColo
[all...]
H A DvktYCbCrConversionTests.cpp674 const tcu::UVec4 bitDepth (getYCbCrBitDepth(config.format)); in textureConversionTest()
789 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, config.xChromaOffset, config.yChromaOffset, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minBound, maxBound, uvBound, ijBound); in textureConversionTest()
793 calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, colorModels[i], config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, minMidpointBound, maxMidpointBound, uvBound, ijBound); in textureConversionTest()
1387 const UVec4 bitDepth(getYCbCrBitDepth(format)); in buildTests()
1389 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in buildTests()
1492 const UVec4 bitDepth(getYCbCrBitDepth(format)); in buildTests()
1494 if (bitDepth[0] < 8 || bitDepth[ in buildTests()
[all...]
/third_party/skia/src/sfnt/
H A DSkOTTable_EBLC.h63 } bitDepth; //the Microsoft rasterizer v.1.7 or greater supports member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemYCbCrConversionTests.cpp1007 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(config.format)); in generateYCbCrImage()
1060 ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, texCoords, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, config.colorModel, config.colorRange, config.chromaFilter, config.xChromaOffset, config.yChromaOffset, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, ycbcrMinBounds, ycbcrMaxBounds, uvBounds, ijBounds); in generateYCbCrImage()
1068 ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, texCoords, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, config.colorModel, config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, relaxedYcbcrMinBounds, relaxedYcbcrMaxBounds, uvBounds, ijBounds); in generateYCbCrImage()
1462 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(format)); in createYCbCrConversionTests()
1463 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in createYCbCrConversionTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemYCbCrConversionTests.cpp1007 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(config.format)); in generateYCbCrImage()
1060 ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, texCoords, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, config.colorModel, config.colorRange, config.chromaFilter, config.xChromaOffset, config.yChromaOffset, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, ycbcrMinBounds, ycbcrMaxBounds, uvBounds, ijBounds); in generateYCbCrImage()
1068 ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, texCoords, filteringPrecision, conversionPrecision, subTexelPrecisionBits, config.textureFilter, config.colorModel, config.colorRange, config.chromaFilter, vk::VK_CHROMA_LOCATION_MIDPOINT, vk::VK_CHROMA_LOCATION_MIDPOINT, config.componentMapping, explicitReconstruction, config.addressModeU, config.addressModeV, relaxedYcbcrMinBounds, relaxedYcbcrMaxBounds, uvBounds, ijBounds); in generateYCbCrImage()
1461 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(format)); in createYCbCrConversionTests()
1462 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in createYCbCrConversionTests()

Completed in 33 milliseconds

123