/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_D_T_.py | 134 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/skia/src/images/ |
D | SkImageDecoder_libpng.cpp | 103 bool decodePalette(png_structp png_ptr, png_infop info_ptr, int bitDepth, 285 int bitDepth, colorType; in onDecodeInit() local 286 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, in onDecodeInit() 290 if (bitDepth == 16) { in onDecodeInit() 296 if (bitDepth < 8) { in onDecodeInit() 301 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { in onDecodeInit() 324 int bitDepth, pngColorType, interlaceType; in onDecode() local 325 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, in onDecode() 356 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecode() 507 int bitDepth, colorType; in getBitmapColorType() local [all …]
|
/external/skia/src/codec/ |
D | SkCodec_libpng.cpp | 122 bool SkPngCodec::decodePalette(bool premultiply, int bitDepth, int* ctableCount) { in decodePalette() argument 179 int colorCount = SkTMax(numPalette, 1 << SkTMin(bitDepth, 8)); in decodePalette() 251 int bitDepth, colorType; in read_header() local 252 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, in read_header() 265 if (bitDepth == 16) { in read_header() 271 if (bitDepth < 8) { in read_header() 276 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { in read_header() 441 int bitDepth, pngColorType, interlaceType; in initializeSwizzler() local 442 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in initializeSwizzler() 452 if (!this->decodePalette(kPremul_SkAlphaType == requestedInfo.alphaType(), bitDepth, in initializeSwizzler()
|
D | SkCodec_libpng.h | 56 bool decodePalette(bool premultiply, int bitDepth, int* ctableCount);
|
/external/deqp/framework/platform/win32/ |
D | tcuWin32EGLNativeDisplayFactory.cpp | 94 NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth); 146 NativePixmap::NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth) in NativePixmap() argument 155 if (bitDepth != 24 && bitDepth != 32) in NativePixmap() 162 bitmapInfo.bmiHeader.biBitCount = bitDepth; in NativePixmap()
|
/external/deqp/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()
|
/external/deqp/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)(((1u << bitDepth.x()) - 1u) * color.x()), in validate() 262 (deUint32)(((1u << bitDepth.y()) - 1u) * color.y()), in validate() 263 (deUint32)(((1u << bitDepth.z()) - 1u) * color.z()), in validate() 264 (deUint32)(((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()
|
D | teglImageFormatTests.cpp | 696 const tcu::IVec4 bitDepth = tcu::getTextureFormatMantissaBitDepth(reference.getFormat()); in invokeGLES2() local 697 const tcu::IVec4 threshold (2 * (tcu::IVec4(1) << (tcu::IVec4(8) - bitDepth))); in invokeGLES2()
|
/external/skia/src/sfnt/ |
D | SkOTTable_EBLC.h | 65 } bitDepth; //the Microsoft rasterizer v.1.7 or greater supports member
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_mdls.h | 273 EAS_INT bitDepth; member
|
D | eas_mdls.c | 390 static const EAS_INT bitDepth = 8; variable 392 static const EAS_INT bitDepth = 16; variable 1006 if (bitDepth == 8) in Parse_wave()
|
/external/deqp/modules/gles3/functional/ |
D | es3fRasterizationTests.cpp | 90 …const tcu::IVec4 bitDepth = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(internalFormat)… in getInternalFormatPixelFormat() local 91 return tcu::PixelFormat(bitDepth.x(), bitDepth.y(), bitDepth.z(), bitDepth.w()); in getInternalFormatPixelFormat()
|
D | es3fFragmentOutputTests.cpp | 526 const IVec4 bitDepth = tcu::getTextureFormatBitDepth(access.getFormat()); in clearUndefined() local 528 IVec4 dstPixel (0, 0, 0, (0x1u << (deUint64)bitDepth.w()) - 1); in clearUndefined()
|