HomeSort by relevance Sort by last modified time
    Searched defs:bit_depth (Results 1 - 17 of 17) sorted by null

  /external/libpng/contrib/gregbook/
readppm.c 68 int bit_depth, color_type, channels; variable
119 bit_depth = 8;
readpng.c 72 int bit_depth, color_type; variable
134 * etc., but want bit_depth and color_type for later [don't care about
137 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
181 if (bit_depth == 16) {
185 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
186 if (bit_depth == 1)
188 else if (bit_depth == 2)
190 else /* bit_depth == 4 */
228 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
232 if (bit_depth == 16
    [all...]
readpng2.c 381 int color_type, bit_depth; local
418 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
439 if (bit_depth == 16) {
443 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
444 if (bit_depth == 1)
447 else if (bit_depth == 2)
450 else /* bit_depth == 4 */
468 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
472 if (bit_depth == 16)
  /bootable/recovery/minui/
resources.c 98 int bit_depth = info_ptr->bit_depth; local
100 if (!(bit_depth == 8 &&
  /external/libpng/contrib/pngminus/
png2pnm.c 200 int bit_depth; local
247 &width, &height, &bit_depth, &color_type,
256 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
264 if (bit_depth == 16)
281 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
285 if (bit_depth == 16)
350 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
357 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
368 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
383 if (bit_depth == 16)
    [all...]
pnm2png.c 203 int bit_depth = 0; local
223 bit_depth = 1;
236 bit_depth = 1;
238 bit_depth = 2;
240 bit_depth = 4;
242 bit_depth = 8;
244 bit_depth = 16;
257 bit_depth = 1;
259 bit_depth = 2;
261 bit_depth = 4
    [all...]
  /development/tools/etc1tool/
etc1tool.cpp 195 int bit_depth, color_type; local
196 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth,
  /external/freetype/src/sfnt/
ttsbit0.c 168 FT_Byte bit_depth; member in struct:TT_SBitDecoderRec_
229 decoder->bit_depth = *p;
270 switch ( decoder->bit_depth )
  /frameworks/base/tools/aapt/
Images.cpp 69 int bit_depth, interlace_type, compression_type; local
75 &outImageInfo->height, &bit_depth, &color_type,
79 //printf("color_type=%d, bit_depth=%d, interlace_type=%d, compression_type=%d\n",
80 // color_type, bit_depth, interlace_type, compression_type);
85 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
93 if (bit_depth == 16)
124 bit_depth, color_type,
128 &outImageInfo->height, &bit_depth, &color_type,
845 int bit_depth, interlace_type, compression_type; local
959 &bit_depth, &color_type, &interlace_type
    [all...]
  /external/libpng/
pngtest.c 213 * png_byte bit_depth bit depth of samples
226 if (row_info->bit_depth == 1)
236 if (row_info->bit_depth == 2)
246 if (row_info->bit_depth == 4)
256 if (row_info->bit_depth == 8)
259 if (row_info->bit_depth == 16)
278 if (row_info->bit_depth == 8)
281 if (row_info->bit_depth == 16)
291 if (row_info->bit_depth == 16)
706 int bit_depth, color_type local
    [all...]
pngrutil.c 455 int bit_depth, color_type, compression_type, filter_type; local
474 bit_depth = buf[8];
483 png_ptr->bit_depth = (png_byte)bit_depth;
513 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth *
516 png_debug1(3, "bit_depth = %d", png_ptr->bit_depth);
519 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth,
    [all...]
png.h 1207 png_byte bit_depth; \/* bit depth of row *\/ member in struct:png_row_info_struct
    [all...]
  /external/skia/src/images/
SkImageDecoder_libpng.cpp 235 int bit_depth, color_type, interlace_type; local
236 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
240 if (bit_depth == 16) {
245 if (bit_depth < 8) {
249 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
277 int bit_depth, color_type, interlace_type; local
278 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
433 int bit_depth, color_type, interlace_type; local
435 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth,
451 int bit_depth, color_type, interlace_type local
622 int bit_depth, color_type, interlace_type; local
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngrutil.c 352 int bit_depth, color_type, compression_type, filter_type; local
371 bit_depth = buf[8];
380 png_ptr->bit_depth = (png_byte)bit_depth;
407 png_ptr->pixel_depth = (png_byte)(png_ptr->bit_depth *
410 png_debug1(3,"bit_depth = %d\n", png_ptr->bit_depth);
413 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth,
    [all...]
png.h 706 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */ member in struct:png_info_struct
1043 png_byte bit_depth; \/* bit depth of row *\/ member in struct:png_row_info_struct
1190 png_byte bit_depth; \/* bit depth of file *\/ member in struct:png_struct_def
    [all...]
  /external/freetype/include/freetype/internal/
tttypes.h 670 FT_Byte bit_depth; member in struct:TT_SBit_StrikeRec_
    [all...]
  /external/libvpx/nestegg/src/
nestegg.c 215 struct ebml_type bit_depth; member in struct:audio
390 E_FIELD(ID_BIT_DEPTH, TYPE_UINT, struct audio, bit_depth),
    [all...]

Completed in 264 milliseconds