Home
last modified time | relevance | path

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

/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/skia/src/codec/
DSkPngCodec.cpp229 int bitDepth, encodedColorType; in read_header() local
230 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, in read_header()
234 *bitDepthPtr = bitDepth; in read_header()
240 if (bitDepth == 16) { in read_header()
254 if (bitDepth < 8) { in read_header()
276 if (bitDepth < 8) { in read_header()
333 png_structp png_ptr, png_infop info_ptr, int bitDepth, int numberPasses) in SkPngCodec() argument
340 , fBitDepth(bitDepth) in SkPngCodec()
544 SkPngChunkReader* chunkReader, png_structp png_ptr, png_infop info_ptr, int bitDepth) in SkPngScanlineDecoder() argument
545 : INHERITED(srcInfo, stream, chunkReader, png_ptr, info_ptr, bitDepth, 1) in SkPngScanlineDecoder()
[all …]
/external/skia/src/images/
DSkImageDecoder_libpng.cpp87 bool decodePalette(png_structp png_ptr, png_infop info_ptr, int bitDepth,
257 int bitDepth, colorType; in onDecodeInit() local
258 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, in onDecodeInit()
262 if (bitDepth == 16) { in onDecodeInit()
268 if (bitDepth < 8) { in onDecodeInit()
273 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { in onDecodeInit()
296 int bitDepth, pngColorType, interlaceType; in onDecode() local
297 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, in onDecode()
328 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecode()
479 int bitDepth, colorType; in getBitmapColorType() local
[all …]
/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);
Ddng_utils.h1257 uint32 bitDepth,
Ddng_negative.cpp4940 uint32 bitDepth) in SetTransparencyMask() argument
4945 fRawTransparencyMaskBitDepth = bitDepth; in SetTransparencyMask()
/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()
DteglImageFormatTests.cpp697 const tcu::IVec4 bitDepth = tcu::getTextureFormatMantissaBitDepth(reference.getFormat()); in invokeGLES2() local
698 const tcu::IVec4 threshold (2 * (tcu::IVec4(1) << (tcu::IVec4(8) - bitDepth))); in invokeGLES2()
/external/skia/src/sfnt/
DSkOTTable_EBLC.h65 } 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
Deas_mdls.c390 static const EAS_INT bitDepth = 8; variable
392 static const EAS_INT bitDepth = 16; variable
1006 if (bitDepth == 8) in Parse_wave()
/external/deqp/external/vulkancts/modules/vulkan/
DvktRenderPassTests.cpp2544 const int bitDepth = tcu::getTextureFormatBitDepth(format).x(); in comparePixelToDepthClearValue() local
2546 const float threshold = 2.0f / (float)((1 << bitDepth) - 1); in comparePixelToDepthClearValue()
2592 const IVec4 bitDepth (tcu::getTextureFormatBitDepth(format)); in comparePixelToColorClearValue() local
2598 const Vec4 threshold (bitDepth[0] > 0 ? 20.0f / (float)((1 << bitDepth[0]) - 1) : 1.0f, in comparePixelToColorClearValue()
2599 bitDepth[1] > 0 ? 20.0f / (float)((1 << bitDepth[1]) - 1) : 1.0f, in comparePixelToColorClearValue()
2600 bitDepth[2] > 0 ? 20.0f / (float)((1 << bitDepth[2]) - 1) : 1.0f, in comparePixelToColorClearValue()
2601 bitDepth[3] > 0 ? 20.0f / (float)((1 << bitDepth[3]) - 1) : 1.0f); in comparePixelToColorClearValue()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp90 …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()
Des3fFragmentOutputTests.cpp526 const IVec4 bitDepth = tcu::getTextureFormatBitDepth(access.getFormat()); in clearUndefined() local
528 IVec4 dstPixel (0, 0, 0, (0x1u << (deUint64)bitDepth.w()) - 1); in clearUndefined()