Searched refs:PNG_COLOR_TYPE_GRAY (Results 1 - 25 of 42) sorted by relevance

12

/external/libpng/contrib/gregbook/
H A Dreadpng.c186 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
233 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
245 if (color_type == PNG_COLOR_TYPE_GRAY ||
H A Dreadpng2.c280 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
305 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
317 if (color_type == PNG_COLOR_TYPE_GRAY ||
H A Dwritepng.c143 color_type = PNG_COLOR_TYPE_GRAY;
/external/libpng/contrib/pngminus/
H A Dpng2pnm.c257 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
268 if (color_type == PNG_COLOR_TYPE_GRAY ||
295 if (color_type == PNG_COLOR_TYPE_GRAY)
346 if ((color_type == PNG_COLOR_TYPE_GRAY) ||
H A Dpnm2png.c230 color_type = PNG_COLOR_TYPE_GRAY;
247 color_type = PNG_COLOR_TYPE_GRAY;
302 if (color_type == PNG_COLOR_TYPE_GRAY)
348 if (color_type == PNG_COLOR_TYPE_GRAY)
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dpngshim.c251 if ( color_type == PNG_COLOR_TYPE_GRAY )
271 if ( color_type == PNG_COLOR_TYPE_GRAY ||
/external/freetype/src/sfnt/
H A Dpngshim.c284 if ( color_type == PNG_COLOR_TYPE_GRAY )
304 if ( color_type == PNG_COLOR_TYPE_GRAY ||
/external/opencv/otherlibs/highgui/
H A Dgrfmt_png.cpp217 if( m_color_type == PNG_COLOR_TYPE_GRAY && m_bit_depth < 8 )
296 channels == 1 ? PNG_COLOR_TYPE_GRAY :
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dpngshim.c251 if ( color_type == PNG_COLOR_TYPE_GRAY )
271 if ( color_type == PNG_COLOR_TYPE_GRAY ||
/external/qemu/android/
H A Dloadpng.c88 case PNG_COLOR_TYPE_GRAY:
220 case PNG_COLOR_TYPE_GRAY:
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libpng.cpp293 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) {
381 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
398 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
576 if (PNG_COLOR_TYPE_GRAY == colorType) {
634 bool convertGrayToRGB = PNG_COLOR_TYPE_GRAY == colorType && *colorTypep != kAlpha_8_SkColorType;
863 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
887 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
1207 * the color_type selected. color_type is one of PNG_COLOR_TYPE_GRAY,
/external/skia/src/images/
H A DSkImageDecoder_libpng.cpp293 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) {
381 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
398 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
576 if (PNG_COLOR_TYPE_GRAY == colorType) {
634 bool convertGrayToRGB = PNG_COLOR_TYPE_GRAY == colorType && *colorTypep != kAlpha_8_SkColorType;
863 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
887 SkASSERT(PNG_COLOR_TYPE_GRAY == pngColorType);
1207 * the color_type selected. color_type is one of PNG_COLOR_TYPE_GRAY,
/external/chromium_org/ui/gfx/codec/
H A Dpng_codec.cc187 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8))
243 if (color_type == PNG_COLOR_TYPE_GRAY ||
684 png_output_color_type = PNG_COLOR_TYPE_GRAY;
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/png/
H A DPNGImageDecoder.cpp334 if (colorType == PNG_COLOR_TYPE_PALETTE || (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8))
347 if (colorType == PNG_COLOR_TYPE_GRAY || colorType == PNG_COLOR_TYPE_GRAY_ALPHA)
/external/chromium_org/tools/imagediff/
H A Dimage_diff_png.cc169 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8))
181 if (color_type == PNG_COLOR_TYPE_GRAY ||
/external/libpng/contrib/examples/
H A Dpngpixel.c78 case PNG_COLOR_TYPE_GRAY:
/external/libpng/contrib/visupng/
H A DPngFile.c194 if (iColorType == PNG_COLOR_TYPE_GRAY ||
/external/chromium_org/third_party/libpng/
H A Dpngtrans.c144 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8)
216 if (row_info->color_type == PNG_COLOR_TYPE_GRAY)
520 else if ((row_info->color_type == PNG_COLOR_TYPE_GRAY ||
H A Dpngrutil.c484 case PNG_COLOR_TYPE_GRAY:
1354 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3254 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3277 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
H A Dpngrtran.c1303 (info_ptr->color_type == PNG_COLOR_TYPE_GRAY)))
2061 row_info->color_type == PNG_COLOR_TYPE_GRAY)
2236 if (row_info->color_type == PNG_COLOR_TYPE_GRAY)
2834 case PNG_COLOR_TYPE_GRAY:
3626 case PNG_COLOR_TYPE_GRAY:
3855 if (row_info->color_type == PNG_COLOR_TYPE_GRAY)
/external/libpng/
H A Dpngtrans.c161 case PNG_COLOR_TYPE_GRAY:
268 if (row_info->color_type == PNG_COLOR_TYPE_GRAY)
538 row_info->color_type = PNG_COLOR_TYPE_GRAY;
H A Dexample.c402 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
838 * the color_type selected. color_type is one of PNG_COLOR_TYPE_GRAY,
H A Dpngrtran.c2086 (info_ptr->color_type == PNG_COLOR_TYPE_GRAY)))
2670 row_info->color_type == PNG_COLOR_TYPE_GRAY)
2853 if (row_info->color_type == PNG_COLOR_TYPE_GRAY)
3206 case PNG_COLOR_TYPE_GRAY:
4052 case PNG_COLOR_TYPE_GRAY:
4354 if (row_info->color_type == PNG_COLOR_TYPE_GRAY)
/external/qemu/distrib/libpng-1.2.46/
H A Dpngtrans.c144 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8)
216 if (row_info->color_type == PNG_COLOR_TYPE_GRAY)
520 else if ((row_info->color_type == PNG_COLOR_TYPE_GRAY ||
H A Dpngrutil.c500 case PNG_COLOR_TYPE_GRAY:
1370 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3296 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)
3319 else if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY)

Completed in 1107 milliseconds

12