/prebuilts/go/linux-x86/src/image/png/ |
reader_test.go | 72 var bitdepth int 75 bitdepth = 8 77 bitdepth = 16 84 bitdepth = 1 86 bitdepth = 2 88 bitdepth = 4 90 bitdepth = 8 97 fmt.Fprintf(w, " width: %d; height: %d; bitdepth: %d;\n", bounds.Dx(), bounds.Dy(), bitdepth) 184 b = b<<uint(bitdepth) | int(paletted.ColorIndexAt(x, y) [all...] |
/external/gemmlowp/public/ |
bit_depth.h | 26 struct BitDepth { 112 typedef BitDepth<8> LhsBitDepth; 113 typedef BitDepth<8> RhsBitDepth; 118 typedef BitDepth<7> LhsBitDepth; 119 typedef BitDepth<5> RhsBitDepth;
|
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 87 bool decodePalette(png_structp png_ptr, png_infop info_ptr, int bitDepth, 257 int bitDepth, colorType; 258 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, 262 if (bitDepth == 16) { 268 if (bitDepth < 8) { 273 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { 296 int bitDepth, pngColorType, interlaceType; 297 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, 328 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable); 479 int bitDepth, colorType [all...] |
/external/skia/src/codec/ |
SkPngCodec.cpp | 229 int bitDepth, encodedColorType; 230 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth, 234 *bitDepthPtr = bitDepth; 240 if (bitDepth == 16) { 254 if (bitDepth < 8) { 276 if (bitDepth < 8) { 333 png_structp png_ptr, png_infop info_ptr, int bitDepth, int numberPasses) 340 , fBitDepth(bitDepth) 544 SkPngChunkReader* chunkReader, png_structp png_ptr, png_infop info_ptr, int bitDepth) 545 : INHERITED(srcInfo, stream, chunkReader, png_ptr, info_ptr, bitDepth, 1 [all...] |
/hardware/qcom/msm8996/kernel-headers/linux/ |
msm_audio_alac.h | 27 uint8_t bitDepth;
|
/prebuilts/go/darwin-x86/src/image/png/testdata/pngsuite/ |
README | 19 to a bitdepth of 8 and then running sng on them. basn4a08.sng was generated
|
basn3p04-31i.sng | 3 width: 31; height: 31; bitdepth: 4;
|
basn3p04.sng | 3 width: 32; height: 32; bitdepth: 4;
|
/prebuilts/go/linux-x86/src/image/png/testdata/pngsuite/ |
README | 19 to a bitdepth of 8 and then running sng on them. basn4a08.sng was generated
|
basn3p04-31i.sng | 3 width: 31; height: 31; bitdepth: 4;
|
basn3p04.sng | 3 width: 32; height: 32; bitdepth: 4;
|
/external/skia/src/sfnt/ |
SkOTTable_EBLC.h | 56 struct BitDepth { 65 } bitDepth; //the Microsoft rasterizer v.1.7 or greater supports
|
/external/deqp/framework/platform/win32/ |
tcuWin32EGLNativeDisplayFactory.cpp | 96 NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth); 148 NativePixmap::NativePixmap (NativeDisplay* nativeDisplay, int width, int height, int bitDepth) 157 if (bitDepth != 24 && bitDepth != 32) 164 bitmapInfo.bmiHeader.biBitCount = bitDepth;
|
/external/dng_sdk/source/ |
dng_utils.cpp | 543 uint32 bitDepth, 566 uint32 bitDepth, 571 , fBitDepth (bitDepth) 741 uint32 bitDepth, 750 bitDepth,
|
dng_read_image.cpp | 1212 uint32 bitDepth = ifd.fBitsPerSample [plane]; 1216 if (bitDepth == 8) 1225 else if (bitDepth == 16 && ifd.fSampleFormat [0] == sfFloatingPoint) 1241 else if (bitDepth == 24 && ifd.fSampleFormat [0] == sfFloatingPoint) 1273 else if (bitDepth == 16) 1290 else if (bitDepth == 32) 1307 else if (bitDepth == 12) 1349 else if (bitDepth > 8 && bitDepth < 16) 1356 uint32 bitMask = (1 << bitDepth) - 1 [all...] |
/external/zopfli/src/zopflipng/lodepng/ |
lodepng.cpp | [all...] |
lodepng.h | 101 initially. Bytes per pixel depends on colortype and bitdepth. 109 bitdepth: the desired bit depth for the raw output image. See explanation on PNG color types. 114 LodePNGColorType colortype, unsigned bitdepth); 131 LodePNGColorType colortype, unsigned bitdepth); 146 Converts raw pixel data into a PNG image in memory. The colortype and bitdepth 148 by the colortype, bitdepth and content of the input pixel data. 154 w * h * (bytes per pixel), bytes per pixel depends on colortype and bitdepth. 158 bitdepth: the bit depth of the raw input image. See explanation on PNG color types. 163 LodePNGColorType colortype, unsigned bitdepth); 181 LodePNGColorType colortype, unsigned bitdepth); 316 unsigned bitdepth; \/*bits per sample, see PNG standard or documentation further in this header file*\/ member in struct:LodePNGColorMode [all...] |
/external/gemmlowp/internal/ |
pack.h | 260 // to the range specified by BitDepth, [0..((2^bits)-1)]. 268 static const int kBits = QuantizationParams::BitDepth::kBits; 502 typedef tBitDepth BitDepth; 517 typedef typename BitDepthParams::LhsBitDepth BitDepth; 521 typedef QuantizationParams<BitDepth, 528 typedef QuantizationParams<BitDepth, 548 typedef typename BitDepthParams::RhsBitDepth BitDepth; 552 typedef QuantizationParams<BitDepth, 559 typedef QuantizationParams<BitDepth,
|
pack_SSE.h | 26 // to the range specified by BitDepth, [0..((2^bits)-1)]. 39 static const int kBits = QuantizationParams::BitDepth::kBits;
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
bitmap_size_table.h | 96 int32_t BitDepth(); 140 int32_t BitDepth();
|
/external/deqp/framework/common/ |
tcuImageIO.cpp | 111 const png_byte bitDepth = png_get_bit_depth(png_ptr, info_ptr); 113 if (colorType == PNG_COLOR_TYPE_RGB && bitDepth == 8) 115 else if (colorType == PNG_COLOR_TYPE_RGBA && bitDepth == 8)
|
/external/libvpx/libvpx/vp9/common/ |
vp9_reconintra.c | 176 // TODO(Peter): this value should probably change for high bitdepth 209 // TODO(Peter) this value should probably change for high bitdepth 221 // TODO(Peter): this value should probably change for high bitdepth 227 // TODO(Peter): this value should probably change for high bitdepth
|
/external/deqp/modules/egl/ |
teglNativeColorMappingTests.cpp | 256 const tcu::UVec4 bitDepth(deMinu32(nativeBitDepth.x(), eglBitDepth.x()), 261 const tcu::UVec4 uColor = tcu::UVec4((deUint32)((float)((1u << bitDepth.x()) - 1u) * color.x()), 262 (deUint32)((float)((1u << bitDepth.y()) - 1u) * color.y()), 263 (deUint32)((float)((1u << bitDepth.z()) - 1u) * color.z()), 264 (deUint32)((float)((1u << bitDepth.w()) - 1u) * color.w())); 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);
|
/external/zopfli/src/zopflipng/ |
zopflipng_lib.cc | 196 state.info_raw.bitdepth = 8; 199 state.info_raw.bitdepth = 16; 375 if (inputstate.info_png.color.bitdepth == 16 && !png_options.lossy_8bit) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
bdaiface.h | 235 STDMETHOD_(HRESULT,EnumAudioCapability)(THIS_ DWORD FmtIndex,DWORD *MethodID,DWORD *AlgorithmType,DWORD *SamplingRate,DWORD *BitDepth,DWORD *NumChannels) PURE; 247 #define IBDA_Encoder_EnumAudioCapability(This,FmtIndex,MethodID,AlgorithmType,SamplingRate,BitDepth,NumChannels) (This)->lpVtbl->EnumAudioCapability(This,FmtIndex,MethodID,AlgorithmType,SamplingRate,BitDepth,NumChannels)
|