HomeSort by relevance Sort by last modified time
    Searched refs:color_type (Results 26 - 50 of 58) sorted by null

12 3

  /external/libpng/
pngrutil.c 461 int bit_depth, color_type, compression_type, filter_type; local
481 color_type = buf[9];
491 png_ptr->color_type = (png_byte)color_type;
498 switch (png_ptr->color_type)
526 color_type, interlace_type, compression_type, filter_type);
556 if (!(png_ptr->color_type&PNG_COLOR_MASK_COLOR))
564 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
573 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
617 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE
    [all...]
pngwutil.c 393 int bit_depth, int color_type, int compression_type, int filter_type,
406 switch (color_type)
462 * 5. The color_type is RGB or RGBA
468 (color_type == PNG_COLOR_TYPE_RGB ||
469 color_type == PNG_COLOR_TYPE_RGB_ALPHA) &&
491 png_ptr->color_type = (png_byte)color_type;
511 buf[9] = (png_byte)color_type;
525 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE ||
590 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE
    [all...]
pngset.c 229 int color_type, int interlace_type, int compression_type,
240 info_ptr->color_type = (png_byte)color_type;
246 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type,
249 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
251 else if (info_ptr->color_type & PNG_COLOR_MASK_COLOR)
255 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA)
456 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
874 if ((info_ptr->color_type == PNG_COLOR_TYPE_GRAY &&
876 (info_ptr->color_type == PNG_COLOR_TYPE_RGB &
    [all...]
pngtest.c 212 * png_byte color_type color type of pixels
218 /* Counts the number of zero samples (or zero pixels if color_type is 3 */
220 if (row_info->color_type == 0 || row_info->color_type == 3)
272 if (row_info->color_type > 3)color_channels--;
288 if (row_info->color_type > 3)
706 int bit_depth, color_type; local
910 &color_type, &interlace_type, &compression_type, &filter_type))
914 color_type, interlace_type, compression_type, filter_type);
916 color_type, PNG_INTERLACE_NONE, compression_type, filter_type)
    [all...]
pngget.c 85 return info_ptr->color_type;
579 int *color_type, int *interlace_type, int *compression_type,
586 height == NULL || bit_depth == NULL || color_type == NULL)
592 *color_type = info_ptr->color_type;
609 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type,
813 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
824 else /* if (info_ptr->color_type != PNG_COLOR_TYPE_PALETTE) */
pngwrite.c 50 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type,
83 png_write_sBIT(png_ptr, &(info_ptr->sig_bit), info_ptr->color_type);
151 else if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
160 info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
168 info_ptr->num_trans, info_ptr->color_type);
173 png_write_bKGD(png_ptr, &(info_ptr->background), info_ptr->color_type);
904 png_ptr->row_info.color_type = png_ptr->color_type;
914 png_debug1(3, "row_info->color_type = %d", png_ptr->row_info.color_type);
    [all...]
pngread.c 471 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
484 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
793 png_ptr->row_info.color_type = png_ptr->color_type;
    [all...]
  /external/chromium_org/third_party/libpng/
png.c 962 int color_type, int interlace_type, int compression_type,
1028 if (color_type < 0 || color_type == 1 ||
1029 color_type == 5 || color_type > 6)
1035 if (((color_type == PNG_COLOR_TYPE_PALETTE) && bit_depth > 8) ||
1036 ((color_type == PNG_COLOR_TYPE_RGB ||
1037 color_type == PNG_COLOR_TYPE_GRAY_ALPHA ||
1038 color_type == PNG_COLOR_TYPE_RGB_ALPHA) && bit_depth < 8))
1064 * 5. The color_type is RGB or RGB
    [all...]
pngset.c 229 int color_type, int interlace_type, int compression_type,
240 info_ptr->color_type = (png_byte)color_type;
246 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type,
249 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
251 else if (info_ptr->color_type & PNG_COLOR_MASK_COLOR)
255 if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA)
456 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
864 if ((info_ptr->color_type == PNG_COLOR_TYPE_GRAY &&
866 (info_ptr->color_type == PNG_COLOR_TYPE_RGB &
    [all...]
pngwutil.c 393 int bit_depth, int color_type, int compression_type, int filter_type,
406 switch (color_type)
462 * 5. The color_type is RGB or RGBA
468 (color_type == PNG_COLOR_TYPE_RGB ||
469 color_type == PNG_COLOR_TYPE_RGB_ALPHA) &&
491 png_ptr->color_type = (png_byte)color_type;
511 buf[9] = (png_byte)color_type;
525 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE ||
590 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE
    [all...]
pngget.c 85 return info_ptr->color_type;
579 int *color_type, int *interlace_type, int *compression_type,
586 height == NULL || bit_depth == NULL || color_type == NULL)
592 *color_type = info_ptr->color_type;
609 info_ptr->bit_depth, info_ptr->color_type, info_ptr->interlace_type,
813 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
824 else /* if (info_ptr->color_type != PNG_COLOR_TYPE_PALETTE) */
pngwrite.c 50 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type,
83 png_write_sBIT(png_ptr, &(info_ptr->sig_bit), info_ptr->color_type);
151 else if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
160 info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
168 info_ptr->num_trans, info_ptr->color_type);
173 png_write_bKGD(png_ptr, &(info_ptr->background), info_ptr->color_type);
904 png_ptr->row_info.color_type = png_ptr->color_type;
914 png_debug1(3, "row_info->color_type = %d", png_ptr->row_info.color_type);
    [all...]
pngread.c 467 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
480 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
769 png_ptr->row_info.color_type = png_ptr->color_type;
    [all...]
  /external/chromium_org/ui/gfx/codec/
png_codec.cc 167 int bit_depth, color_type, interlace_type, compression_type; local
170 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type,
191 if (color_type == PNG_COLOR_TYPE_PALETTE ||
192 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8))
196 bool input_has_alpha = ((color_type & PNG_COLOR_MASK_ALPHA) != 0);
248 if (color_type == PNG_COLOR_TYPE_GRAY ||
249 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
  /external/chromium_org/tools/imagediff/
image_diff_png.cc 156 int bit_depth, color_type, interlace_type, compression_type; local
159 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type,
175 if (color_type == PNG_COLOR_TYPE_PALETTE ||
176 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8))
188 if (color_type == PNG_COLOR_TYPE_GRAY ||
189 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
  /external/qemu/distrib/libpng-1.2.19/
pngwutil.c 377 int bit_depth, int color_type, int compression_type, int filter_type,
387 switch (color_type)
442 * 5. The color_type is RGB or RGBA
448 (color_type == PNG_COLOR_TYPE_RGB ||
449 color_type == PNG_COLOR_TYPE_RGB_ALPHA) &&
471 png_ptr->color_type = (png_byte)color_type;
491 buf[9] = (png_byte)color_type;
505 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE ||
560 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE
    [all...]
pngrutil.c 352 int bit_depth, color_type, compression_type, filter_type; local
372 color_type = buf[9];
382 png_ptr->color_type = (png_byte)color_type;
389 switch (png_ptr->color_type)
414 color_type, interlace_type, compression_type, filter_type);
442 if (!(png_ptr->color_type&PNG_COLOR_MASK_COLOR))
450 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
459 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
501 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE
    [all...]
pngget.c 82 return info_ptr->color_type;
541 int *color_type, int *interlace_type, int *compression_type,
546 bit_depth != NULL && color_type != NULL)
554 *color_type = info_ptr->color_type;
555 if (info_ptr->color_type > 6)
770 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
780 else /* if (info_ptr->color_type != PNG_COLOR_TYPE_PALETTE) */
pngwrite.c 43 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type,
75 png_write_sBIT(png_ptr, &(info_ptr->sig_bit), info_ptr->color_type);
141 else if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
150 info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
158 info_ptr->num_trans, info_ptr->color_type);
163 png_write_bKGD(png_ptr, &(info_ptr->background), info_ptr->color_type);
866 png_ptr->row_info.color_type = png_ptr->color_type;
876 png_debug1(3, "row_info->color_type = %d\n", png_ptr->row_info.color_type);
    [all...]
pngread.c 444 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
457 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
742 png_ptr->row_info.color_type = png_ptr->color_type;
    [all...]
png.h 707 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */ member in struct:png_info_struct
1042 png_byte color_type; \/* color type of row *\/ member in struct:png_row_info_struct
1189 png_byte color_type; \/* color type of file *\/ member in struct:png_struct_def
    [all...]
  /development/tools/etc1tool/
etc1tool.cpp 195 int bit_depth, color_type; local
197 &color_type, NULL, NULL, NULL);
  /ndk/tests/build/issue20862-libpng-O0/jni/
pngstruct.h 136 png_byte color_type; /* color type of file */ member in struct:png_struct_def
pngpriv.h 811 int bit_depth, int color_type, int compression_method, int filter_method,
834 png_const_color_8p sbit, int color_type));
    [all...]
  /external/chromium_org/tools/telemetry/third_party/png/
png.py 599 self.color_type = 4*self.alpha + 2*(not greyscale) + 1*self.colormap
600 assert self.color_type in (0,2,3,4,6)
677 self.bitdepth, self.color_type,
    [all...]

Completed in 792 milliseconds

12 3