Searched refs:color_type (Results 26 - 46 of 46) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpng/libpng-1.2.50/
H A Dpngrutil.c433 int bit_depth, color_type, compression_type, filter_type; local
453 color_type = buf[9];
463 png_ptr->color_type = (png_byte)color_type;
470 switch (png_ptr->color_type)
498 color_type, interlace_type, compression_type, filter_type);
528 if (!(png_ptr->color_type&PNG_COLOR_MASK_COLOR))
536 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
545 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
589 if (png_ptr->color_type
[all...]
H A Dpng.c962 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 i
960 png_check_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
[all...]
H A Dpngwutil.c393 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
392 png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_type, int filter_type, int interlace_type) argument
931 png_write_sBIT(png_structp png_ptr, png_color_8p sbit, int color_type) argument
1076 png_write_tRNS(png_structp png_ptr, png_bytep trans, png_color_16p tran, int num_trans, int color_type) argument
1133 png_write_bKGD(png_structp png_ptr, png_color_16p back, int color_type) argument
[all...]
H A Dpngset.c229 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
227 png_set_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) argument
[all...]
H A Dpngtest.c212 * 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_NON
[all...]
H A Dpngget.c85 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) */
577 png_get_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument
H A Dpngwrite.c50 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...]
H A Dpngpread.c265 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
292 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
911 png_ptr->row_info.color_type = png_ptr->color_type;
H A Dpngread.c460 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
473 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
762 png_ptr->row_info.color_type = png_ptr->color_type;
1407 (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ||
H A Dpng.h840 png_byte color_type PNG_DEPSTRUCT; /* see PNG_COLOR_TYPE_ below (from IHDR) */
1080 /* These describe the color_type field in png_info. */
1176 png_byte color_type; /* color type of row */ member in struct:png_row_info_struct
1339 png_byte color_type PNG_DEPSTRUCT; /* color type of file */
2300 /* Returns image color_type. */
2417 int *bit_depth, int *color_type, int *interlace_method,
2422 int color_type, int interlace_method, int compression_method,
3254 int bit_depth, int color_type, int compression_method, int filter_method,
3278 int color_type)) PNG_PRIVATE;
3316 png_color_16p values, int number, int color_type)) PNG_PRIVAT
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/png/
H A Dpngrutil.c340 int bit_depth, color_type, compression_type, filter_type; local
360 color_type = buf[9];
370 png_ptr->color_type = (png_byte)color_type;
377 switch (png_ptr->color_type)
402 color_type, interlace_type, compression_type, filter_type);
430 if (!(png_ptr->color_type&PNG_COLOR_MASK_COLOR))
438 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
447 if (png_ptr->color_type != PNG_COLOR_TYPE_PALETTE)
489 if (png_ptr->color_type
[all...]
H A Dpngwutil.c372 int bit_depth, int color_type, int compression_type, int filter_type,
382 switch (color_type)
437 * 5. The color_type is RGB or RGBA
443 (color_type == PNG_COLOR_TYPE_RGB ||
444 color_type == PNG_COLOR_TYPE_RGB_ALPHA) &&
466 png_ptr->color_type = (png_byte)color_type;
486 buf[9] = (png_byte)color_type;
500 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE ||
551 if (png_ptr->color_type
371 png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_type, int filter_type, int interlace_type) argument
847 png_write_sBIT(png_structp png_ptr, png_color_8p sbit, int color_type) argument
1023 png_write_tRNS(png_structp png_ptr, png_bytep trans, png_color_16p tran, int num_trans, int color_type) argument
1078 png_write_bKGD(png_structp png_ptr, png_color_16p back, int color_type) argument
[all...]
H A Dpngget.c80 return info_ptr->color_type;
536 int *color_type, int *interlace_type, int *compression_type,
541 bit_depth != NULL && color_type != NULL)
549 *color_type = info_ptr->color_type;
550 if (info_ptr->color_type > 6)
765 if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
775 else /* if (info_ptr->color_type != PNG_COLOR_TYPE_PALETTE) */
534 png_get_IHDR(png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type) argument
H A Dpngwrite.c41 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type,
73 png_write_sBIT(png_ptr, &(info_ptr->sig_bit), info_ptr->color_type);
136 else if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
145 info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
153 info_ptr->num_trans, info_ptr->color_type);
158 png_write_bKGD(png_ptr, &(info_ptr->background), info_ptr->color_type);
837 png_ptr->row_info.color_type = png_ptr->color_type;
847 png_debug1(3, "row_info->color_type = %d\n", png_ptr->row_info.color_type);
[all...]
H A Dpngtest.c206 * png_byte color_type color type of pixels
213 /* counts the number of zero samples (or zero pixels if color_type is 3 */
215 if(row_info->color_type == 0 || row_info->color_type == 3)
262 if(row_info->color_type > 3)color_channels--;
276 if(row_info->color_type > 3)
618 int bit_depth, color_type; local
806 &color_type, &interlace_type, &compression_type, &filter_type))
810 color_type, interlace_type, compression_type, filter_type);
812 color_type, PNG_INTERLACE_NON
[all...]
H A Dpngread.c428 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
441 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
722 png_ptr->row_info.color_type = png_ptr->color_type;
1364 (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE) ||
H A Dpng.h622 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */ member in struct:png_info_struct
859 /* These describe the color_type field in png_info. */
955 png_byte color_type; /* color type of row */ member in struct:png_row_info_struct
1102 png_byte color_type; /* color type of file */ member in struct:png_struct_def
2018 /* Returns image color_type. */
2135 int *bit_depth, int *color_type, int *interlace_method,
2140 int color_type, int interlace_method, int compression_method,
2881 int bit_depth, int color_type, int compression_method, int filter_method,
2904 int color_type));
2942 png_color_16p values, int number, int color_type));
[all...]
H A Dpngpread.c255 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
278 else if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE &&
802 png_ptr->row_info.color_type = png_ptr->color_type;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dimagpng.cpp327 int color_type)
341 if ( !(color_type & PNG_COLOR_MASK_COLOR) )
522 int bit_depth, color_type, interlace_type; local
551 png_get_IHDR( png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, (int*) NULL, (int*) NULL );
553 if (color_type == PNG_COLOR_TYPE_PALETTE)
587 if (color_type == PNG_COLOR_TYPE_PALETTE)
614 CopyDataFromPNG(image, lines, width, height, color_type);
323 CopyDataFromPNG(wxImage *image, unsigned char **lines, png_uint_32 width, png_uint_32 height, int color_type) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dtarga.c33 int color_type; member in struct:TargaContext
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/classic/
H A Dpnghand.cpp490 info_ptr->color_type);
499 // printf("CT = %d TRS = %d BD= %d ", info_ptr->color_type, info_ptr->valid & PNG_INFO_tRNS,info_ptr->bit_depth);
701 info_ptr->color_type = GetColorType();

Completed in 271 milliseconds

12