Home
last modified time | relevance | path

Searched refs:bitDepth (Results 1 – 25 of 41) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
DE_B_D_T_.py134 glyph.exportBitDepth = curStrike.bitmapSizeTable.bitDepth
269 bitDepth = bitmapObject.exportBitDepth
272 writer.begintag('rowimagedata', bitDepth=bitDepth, width=metrics.width, height=metrics.height)
275 rowData = bitmapObject.getRow(curRow, bitDepth=bitDepth, metrics=metrics)
282 bitDepth = safeEval(attrs['bitDepth'])
295 bitmapObject.setRows(dataRows, bitDepth=bitDepth, metrics=metrics)
300 bitDepth = bitmapObject.exportBitDepth
306 writer.begintag('bitwiseimagedata', bitDepth=bitDepth, width=metrics.width, height=metrics.height)
309 rowData = bitmapObject.getRow(curRow, bitDepth=1, metrics=metrics, reverseBytes=True)
319 bitDepth = safeEval(attrs['bitDepth'])
[all …]
/external/skqp/src/core/
DSkPictureImageGenerator.cpp20 const SkPaint* paint, SkImage::BitDepth bitDepth, in Make() argument
26 if (SkImage::BitDepth::kF16 == bitDepth && (!colorSpace || !colorSpace->gammaIsLinear())) { in Make()
35 if (SkImage::BitDepth::kF16 == bitDepth) { in Make()
91 SkImage::BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) { in MakeFromPicture() argument
98 return SkPictureImageGenerator::Make(size, std::move(picture), matrix, paint, bitDepth, in MakeFromPicture()
/external/skia/src/core/
DSkPictureImageGenerator.cpp20 const SkPaint* paint, SkImage::BitDepth bitDepth, in Make() argument
26 if (SkImage::BitDepth::kF16 == bitDepth && (!colorSpace || !colorSpace->gammaIsLinear())) { in Make()
35 if (SkImage::BitDepth::kF16 == bitDepth) { in Make()
91 SkImage::BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) { in MakeFromPicture() argument
98 return SkPictureImageGenerator::Make(size, std::move(picture), matrix, paint, bitDepth, in MakeFromPicture()
/external/skia/src/codec/
DSkPngCodec.cpp500 png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder() argument
501 : INHERITED(info, imageInfo, std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngNormalDecoder()
617 png_infop info_ptr, int bitDepth, int numberPasses) in SkPngInterlacedDecoder() argument
618 : INHERITED(info, imageInfo, std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder()
845 int bitDepth, encodedColorType; in infoCallback() local
846 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback()
850 if (bitDepth == 16 && (PNG_COLOR_TYPE_GRAY == encodedColorType || in infoCallback()
852 bitDepth = 8; in infoCallback()
865 if (bitDepth < 8) { in infoCallback()
867 bitDepth = 8; in infoCallback()
[all …]
DSkPngCodec.h49 SkPngChunkReader*, void* png_ptr, void* info_ptr, int bitDepth);
/external/skqp/src/codec/
DSkPngCodec.cpp488 png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngNormalDecoder() argument
489 : INHERITED(info, imageInfo, 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(info, imageInfo, std::move(stream), reader, png_ptr, info_ptr, bitDepth) in SkPngInterlacedDecoder()
836 int bitDepth, encodedColorType; in infoCallback() local
837 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback()
841 if (bitDepth == 16 && (PNG_COLOR_TYPE_GRAY == encodedColorType || in infoCallback()
843 bitDepth = 8; in infoCallback()
856 if (bitDepth < 8) { in infoCallback()
858 bitDepth = 8; in infoCallback()
[all …]
DSkPngCodec.h49 SkPngChunkReader*, void* png_ptr, void* info_ptr, int bitDepth);
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp1483 const tcu::UVec4& bitDepth, in convertColor() argument
1498 …output[0] = clampMaybe(rangeExpandChroma(range, conversionFormat, bitDepth[0], input[0]), -0.5, 0.… in convertColor()
1499 … output[1] = clampMaybe(rangeExpandLuma(range, conversionFormat, bitDepth[1], input[1]), 0.0, 1.0); in convertColor()
1500 …output[2] = clampMaybe(rangeExpandChroma(range, conversionFormat, bitDepth[2], input[2]), -0.5, 0.… in convertColor()
1507 const tcu::Interval y (rangeExpandLuma(range, conversionFormat, bitDepth[1], input[1])); in convertColor()
1508 const tcu::Interval cr (rangeExpandChroma(range, conversionFormat, bitDepth[0], input[0])); in convertColor()
1509 const tcu::Interval cb (rangeExpandChroma(range, conversionFormat, bitDepth[2], input[2])); in convertColor()
1524 const tcu::Interval y (rangeExpandLuma(range, conversionFormat, bitDepth[1], input[1])); in convertColor()
1525 const tcu::Interval cr (rangeExpandChroma(range, conversionFormat, bitDepth[0], input[0])); in convertColor()
1526 const tcu::Interval cb (rangeExpandChroma(range, conversionFormat, bitDepth[2], input[2])); in convertColor()
[all …]
DvktYCbCrConversionTests.cpp518 const tcu::UVec4 bitDepth (getYCbCrBitDepth(config.format)); in textureConversionTest() local
643 …calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, fil… in textureConversionTest()
648 …calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, sts, fil… in textureConversionTest()
1172 const UVec4 bitDepth (getYCbCrBitDepth(format)); in initTests() local
1174 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in initTests()
1260 const UVec4 bitDepth (getYCbCrBitDepth(format)); in initTests() local
1262 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in initTests()
1447 const UVec4 bitDepth (getYCbCrBitDepth(format)); in initTests() local
1449 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in initTests()
/external/skqp/src/images/
DSkPngEncoder.cpp106 int bitDepth = 8; in setHeader() local
114 bitDepth = 16; in setHeader()
168 bitDepth = 16; in setHeader()
177 bitDepth = 16; in setHeader()
189 bitDepth, pngColorType, in setHeader()
/external/skia/src/images/
DSkPngEncoder.cpp106 int bitDepth = 8; in setHeader() local
114 bitDepth = 16; in setHeader()
168 bitDepth = 16; in setHeader()
177 bitDepth = 16; in setHeader()
189 bitDepth, pngColorType, in setHeader()
/external/deqp/framework/platform/win32/
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()
/external/dng_sdk/source/
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) - 1; in ReadUncompressed()
1367 while (bufferBits < bitDepth) in ReadUncompressed()
[all …]
Ddng_utils.cpp543 uint32 bitDepth,
566 uint32 bitDepth, in dng_limit_float_depth_task() argument
571 , fBitDepth (bitDepth) in dng_limit_float_depth_task()
741 uint32 bitDepth, in LimitFloatBitDepth() argument
750 bitDepth, in LimitFloatBitDepth()
Ddng_negative.h2233 void SetRawFloatBitDepth (uint32 bitDepth) in SetRawFloatBitDepth() argument
2235 fRawFloatBitDepth = bitDepth; in SetRawFloatBitDepth()
2344 uint32 bitDepth = 0);
/external/deqp/framework/common/
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()
/external/deqp/modules/egl/
DteglNativeColorMappingTests.cpp256 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()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp270 const int bitDepth = getTextureFormatBitDepth(format).x(); in comparePixelToDepthClearValue() local
272 const float threshold = 2.0f / (float)((1 << bitDepth) - 1); in comparePixelToDepthClearValue()
350 const IVec4 bitDepth (getTextureFormatBitDepth(format)); in comparePixelToColorClearValue() local
357 …const Vec4 threshold (bitDepth[0] > 0 ? 1.0f / ((float)(1 << (bitDepth[0] - modifier)) - 1.0f) : 1… in comparePixelToColorClearValue()
358 bitDepth[1] > 0 ? 1.0f / ((float)(1 << (bitDepth[1] - modifier)) - 1.0f) : 1.0f, in comparePixelToColorClearValue()
359 bitDepth[2] > 0 ? 1.0f / ((float)(1 << (bitDepth[2] - modifier)) - 1.0f) : 1.0f, in comparePixelToColorClearValue()
360 bitDepth[3] > 0 ? 1.0f / ((float)(1 << (bitDepth[3] - modifier)) - 1.0f) : 1.0f); in comparePixelToColorClearValue()
/external/skia/src/sfnt/
DSkOTTable_EBLC.h63 } bitDepth; //the Microsoft rasterizer v.1.7 or greater supports member
/external/skqp/src/sfnt/
DSkOTTable_EBLC.h63 } bitDepth; //the Microsoft rasterizer v.1.7 or greater supports member
/external/sonivox/arm-wt-22k/lib_src/
Deas_mdls.h273 EAS_INT bitDepth; member
/external/skia/src/image/
DSkImage.cpp240 BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) { in MakeFromPicture() argument
242 matrix, paint, bitDepth, in MakeFromPicture()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp999 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(config.format)); in generateYCbCrImage() local
1052 …ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, t… in generateYCbCrImage()
1060 …ycbcr::calculateBounds(rChannelAccess, gChannelAccess, bChannelAccess, aChannelAccess, bitDepth, t… in generateYCbCrImage()
1422 const tcu::UVec4 bitDepth (ycbcr::getYCbCrBitDepth(format)); in createYCbCrConversionTests() local
1423 if (bitDepth[0] < 8 || bitDepth[1] < 8 || bitDepth[2] < 8) in createYCbCrConversionTests()
/external/skqp/src/image/
DSkImage.cpp242 BitDepth bitDepth, sk_sp<SkColorSpace> colorSpace) { in MakeFromPicture() argument
244 matrix, paint, bitDepth, in MakeFromPicture()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp1245 const UVec4 bitDepth (tcu::getTextureFormatBitDepth(format).cast<deUint32>()); in verify() local
1246 … const UVec4 renderValue (tcu::select((UVec4(1u) << tcu::min(UVec4(8u), bitDepth)) - UVec4(1u), in verify()
1345 const IVec4 bitDepth (tcu::getTextureFormatBitDepth(format)); in verify() local
1346 …const IVec4 renderValue (tcu::select((IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))) -… in verify()
1349 const IVec4 clearValue (tcu::select(-(IVec4(1) << (tcu::min(IVec4(8), bitDepth) - IVec4(1))), in verify()

12