Searched defs:color_type (Results 1 - 25 of 58) sorted by relevance

123

/external/libpng/contrib/gregbook/
H A Dwritepng.c88 int color_type, interlace_type; local
143 color_type = PNG_COLOR_TYPE_GRAY;
145 color_type = PNG_COLOR_TYPE_RGB;
147 color_type = PNG_COLOR_TYPE_RGB_ALPHA;
157 mainprog_ptr->sample_depth, color_type, interlace_type,
H A Dreadpng2.c214 int color_type, bit_depth; local
255 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
271 * green and blue values, regardless of color_type: */
280 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
303 if (color_type == PNG_COLOR_TYPE_PALETTE)
305 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
317 if (color_type == PNG_COLOR_TYPE_GRAY ||
318 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
H A Dreadppm.c68 int bit_depth, color_type, channels; variable
96 color_type = 2;
99 color_type = 6;
102 color_type = 0;
H A Dreadpng.c73 int bit_depth, color_type; variable
135 * etc., but want bit_depth and color_type for later [don't care about
138 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
174 * and blue values, regardless of color_type: */
186 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
231 if (color_type == PNG_COLOR_TYPE_PALETTE)
233 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
245 if (color_type == PNG_COLOR_TYPE_GRAY ||
246 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
/external/chromium_org/content/browser/android/
H A Dcontent_readback_handler.cc57 jobject color_type,
72 SkColorType sk_color_type = gfx::ConvertToSkiaColorType(color_type);
53 GetContentBitmap(JNIEnv* env, jobject obj, jint readback_id, jfloat scale, jobject color_type, jfloat x, jfloat y, jfloat width, jfloat height, jobject content_view_core) argument
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper_readback_support.cc128 GLHelperReadbackSupport::GetReadbackConfig(SkColorType color_type, argument
137 switch (color_type) {
139 if (format_support_table_[color_type] ==
163 if (format_support_table_[color_type] ==
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dpngshim.c194 int bitdepth, color_type, interlace; local
238 &bitdepth, &color_type, &interlace,
247 if ( color_type == PNG_COLOR_TYPE_PALETTE )
251 if ( color_type == PNG_COLOR_TYPE_GRAY )
271 if ( color_type == PNG_COLOR_TYPE_GRAY ||
272 color_type == PNG_COLOR_TYPE_GRAY_ALPHA )
284 &bitdepth, &color_type, &interlace,
288 !( color_type == PNG_COLOR_TYPE_RGB ||
289 color_type == PNG_COLOR_TYPE_RGB_ALPHA ) )
295 switch ( color_type )
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dvpxenc.h41 ColorInputType color_type; member in struct:VpxEncoderConfig
/external/chromium_org/ui/gfx/android/
H A Djava_bitmap.cc45 static int SkColorTypeToBitmapFormat(SkColorType color_type) { argument
46 switch (color_type) {
64 SkColorType color_type) {
67 int java_bitmap_config = SkColorTypeToBitmapFormat(color_type);
75 SkColorType color_type = skbitmap->colorType(); local
76 DCHECK((color_type == kRGB_565_SkColorType) ||
77 (color_type == kN32_SkColorType));
79 skbitmap->width(), skbitmap->height(), color_type);
62 CreateJavaBitmap(int width, int height, SkColorType color_type) argument
/external/freetype/src/sfnt/
H A Dpngshim.c196 int bitdepth, color_type, interlace; local
249 &bitdepth, &color_type, &interlace,
280 if ( color_type == PNG_COLOR_TYPE_PALETTE )
284 if ( color_type == PNG_COLOR_TYPE_GRAY )
304 if ( color_type == PNG_COLOR_TYPE_GRAY ||
305 color_type == PNG_COLOR_TYPE_GRAY_ALPHA )
317 &bitdepth, &color_type, &interlace,
321 !( color_type == PNG_COLOR_TYPE_RGB ||
322 color_type == PNG_COLOR_TYPE_RGB_ALPHA ) )
328 switch ( color_type )
[all...]
/external/libpng/contrib/examples/
H A Dpngpixel.c181 int bit_depth, color_type, interlace_method, local
216 &bit_depth, &color_type, &interlace_method,
/external/libpng/contrib/pngminus/
H A Dpng2pnm.c203 int color_type; local
248 &width, &height, &bit_depth, &color_type,
254 if (color_type == PNG_COLOR_TYPE_PALETTE)
257 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
268 if (color_type == PNG_COLOR_TYPE_GRAY ||
269 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
282 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
295 if (color_type == PNG_COLOR_TYPE_GRAY)
297 else if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
299 else if (color_type
[all...]
H A Dpnm2png.c200 int color_type; local
230 color_type = PNG_COLOR_TYPE_GRAY;
247 color_type = PNG_COLOR_TYPE_GRAY;
272 color_type = PNG_COLOR_TYPE_RGB;
302 if (color_type == PNG_COLOR_TYPE_GRAY)
303 color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
304 if (color_type == PNG_COLOR_TYPE_RGB)
305 color_type = PNG_COLOR_TYPE_RGB_ALPHA;
348 if (color_type == PNG_COLOR_TYPE_GRAY)
350 else if (color_type
[all...]
/external/opencv/otherlibs/highgui/
H A Dgrfmt_png.cpp152 int bit_depth, color_type; local
158 &bit_depth, &color_type, 0, 0, 0 );
160 m_iscolor = color_type == PNG_COLOR_TYPE_RGB ||
161 color_type == PNG_COLOR_TYPE_RGB_ALPHA ||
162 color_type == PNG_COLOR_TYPE_PALETTE;
166 m_color_type = color_type;
/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_renderer_base.h30 typedef typename pixfmt_type::color_type color_type; typedef in class:agg::renderer_base
105 const color_type& c, cover_type cover)
133 const color_type& c,
H A Dagg_pixfmt_gray.h32 typedef ColorT color_type; typedef in struct:agg::blender_gray
33 typedef typename color_type::value_type value_type;
34 typedef typename color_type::calc_type calc_type;
35 enum base_scale_e { base_shift = color_type::base_shift };
48 typedef typename Blender::color_type color_type; typedef in class:agg::pixel_formats_gray
49 typedef typename color_type::value_type value_type;
50 typedef typename color_type::calc_type calc_type;
52 base_shift = color_type::base_shift,
53 base_size = color_type
[all...]
H A Dfx_agg_driver.cpp78 typedef typename base_ren_type::color_type color_type; typedef in class:agg::renderer_scanline_aa_offset
82 void color(const color_type& c)
86 const color_type& color() const
115 color_type m_color;
/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,
247 if ( color_type == PNG_COLOR_TYPE_PALETTE )
251 if ( color_type == PNG_COLOR_TYPE_GRAY )
271 if ( color_type == PNG_COLOR_TYPE_GRAY ||
272 color_type == PNG_COLOR_TYPE_GRAY_ALPHA )
284 &bitdepth, &color_type, &interlace,
288 !( color_type == PNG_COLOR_TYPE_RGB ||
289 color_type == PNG_COLOR_TYPE_RGB_ALPHA ) )
295 switch ( color_type )
[all...]
/external/chromium_org/chrome/browser/ui/app_list/
H A Dfast_show_pickler.cc122 SkColorType color_type = kUnknown_SkColorType; local
123 if (!FormatToColorType(format, &color_type))
136 width, height, color_type, kPremul_SkAlphaType)))
/external/libpng/
H A Dpnginfo.h67 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */ member in struct:png_info_def
/external/chromium_org/third_party/libpng/
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 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
/external/chromium_org/tools/imagediff/
H A Dimage_diff_png.cc149 int bit_depth, color_type, interlace_type, compression_type; local
152 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type,
168 if (color_type == PNG_COLOR_TYPE_PALETTE ||
169 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8))
181 if (color_type == PNG_COLOR_TYPE_GRAY ||
182 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
/external/qemu/distrib/libpng-1.2.46/
H A Dpng.c932 int color_type, int interlace_type, int compression_type,
998 if (color_type < 0 || color_type == 1 ||
999 color_type == 5 || color_type > 6)
1005 if (((color_type == PNG_COLOR_TYPE_PALETTE) && bit_depth > 8) ||
1006 ((color_type == PNG_COLOR_TYPE_RGB ||
1007 color_type == PNG_COLOR_TYPE_GRAY_ALPHA ||
1008 color_type == PNG_COLOR_TYPE_RGB_ALPHA) && bit_depth < 8))
1034 * 5. The color_type i
930 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 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

Completed in 851 milliseconds

123