Searched defs:bitdepth (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/freetype/src/sfnt/
H A Dpngshim.c194 int bitdepth, color_type, interlace; local
238 &bitdepth, &color_type, &interlace,
264 if ( bitdepth == 16 )
267 if ( bitdepth < 8 )
284 &bitdepth, &color_type, &interlace,
287 if ( bitdepth != 8 ||
/external/freetype/src/sfnt/
H A Dpngshim.c196 int bitdepth, color_type, interlace; local
249 &bitdepth, &color_type, &interlace,
297 if ( bitdepth == 16 )
300 if ( bitdepth < 8 )
317 &bitdepth, &color_type, &interlace,
320 if ( bitdepth != 8 ||
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dpngshim.c194 int bitdepth, color_type, interlace; local
238 &bitdepth, &color_type, &interlace,
264 if ( bitdepth == 16 )
267 if ( bitdepth < 8 )
284 &bitdepth, &color_type, &interlace,
287 if ( bitdepth != 8 ||
/external/qemu/android/
H A Dloadpng.c22 int bitdepth, colortype, imethod, cmethod, fmethod, i; local
67 png_get_IHDR(p, pi, &width, &height, &bitdepth, &colortype,
70 // width, height, bitdepth, colortype);
89 if(bitdepth < 8) {
98 if(bitdepth == 16) {
160 int bitdepth, colortype, imethod, cmethod, fmethod, i; local
199 png_get_IHDR(p, pi, &width, &height, &bitdepth, &colortype,
202 // width, height, bitdepth, colortype);
221 if(bitdepth < 8) {
230 if(bitdepth
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.h101 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...]
H A Dlodepng.cpp2489 static unsigned checkColorValidity(LodePNGColorType colortype, unsigned bd) /*bd = bitdepth*/
2516 static unsigned lodepng_get_bpp_lct(LodePNGColorType colortype, unsigned bitdepth) argument
2519 return getNumColorChannels(colortype) * bitdepth;
2529 info->bitdepth = 8;
2557 if(a->bitdepth != b->bitdepth) return 0;
2603 /*calculate bits per pixel out of colortype and bitdepth*/
2604 return lodepng_get_bpp_lct(info->colortype, info->bitdepth);
2649 size_t lodepng_get_raw_size_lct(unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument
2651 return (w * h * lodepng_get_bpp_lct(colortype, bitdepth)
3746 setColorKeyFrom16bit(LodePNGColorMode* mode_out, unsigned r, unsigned g, unsigned b, unsigned bitdepth) argument
4781 lodepng_decode_memory(unsigned char** out, unsigned* w, unsigned* h, const unsigned char* in, size_t insize, LodePNGColorType colortype, unsigned bitdepth) argument
4805 lodepng_decode_file(unsigned char** out, unsigned* w, unsigned* h, const char* filename, LodePNGColorType colortype, unsigned bitdepth) argument
4902 addChunk_IHDR(ucvector* out, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth, unsigned interlace_method) argument
5855 lodepng_encode_memory(unsigned char** out, size_t* outsize, const unsigned char* image, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument
5882 lodepng_encode_file(const char* filename, const unsigned char* image, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument
6136 decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h, const unsigned char* in, size_t insize, LodePNGColorType colortype, unsigned bitdepth) argument
6153 decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h, const std::vector<unsigned char>& in, LodePNGColorType colortype, unsigned bitdepth) argument
6182 decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h, const std::string& filename, LodePNGColorType colortype, unsigned bitdepth) argument
6193 encode(std::vector<unsigned char>& out, const unsigned char* in, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument
6207 encode(std::vector<unsigned char>& out, const std::vector<unsigned char>& in, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument
6239 encode(const std::string& filename, const unsigned char* in, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument
6249 encode(const std::string& filename, const std::vector<unsigned char>& in, unsigned w, unsigned h, LodePNGColorType colortype, unsigned bitdepth) argument
[all...]

Completed in 910 milliseconds