HomeSort by relevance Sort by last modified time
    Searched refs:color_type (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/pdfium/third_party/agg23/
agg_pixfmt_gray.h 32 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::base_size
    [all...]
agg_renderer_base.h 30 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,
  /external/libpng/contrib/gregbook/
readppm.c 68 int bit_depth, color_type, channels; variable
96 color_type = 2;
99 color_type = 6;
102 color_type = 0;
readpng.c 73 int bit_depth, color_type; variable
136 * etc., but want bit_depth and color_type for later [don't care about
139 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
175 * and blue values, regardless of color_type: */
187 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
232 if (color_type == PNG_COLOR_TYPE_PALETTE)
234 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
246 if (color_type == PNG_COLOR_TYPE_GRAY ||
247 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
readpng2.c 219 int color_type, bit_depth; local
260 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
275 * green and blue values, regardless of color_type: */
286 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
310 if (color_type == PNG_COLOR_TYPE_PALETTE)
312 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
324 if (color_type == PNG_COLOR_TYPE_GRAY ||
325 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
writepng.c 88 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,
  /external/libpng/contrib/pngminus/
png2pnm.c 208 int color_type; local
253 &width, &height, &bit_depth, &color_type,
259 if (color_type == PNG_COLOR_TYPE_PALETTE)
262 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
273 if (color_type == PNG_COLOR_TYPE_GRAY ||
274 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
287 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
300 if (color_type == PNG_COLOR_TYPE_GRAY)
302 else if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
304 else if (color_type == PNG_COLOR_TYPE_RGB
    [all...]
pnm2png.c 204 volatile int color_type=1; local
234 color_type = PNG_COLOR_TYPE_GRAY;
251 color_type = PNG_COLOR_TYPE_GRAY;
276 color_type = PNG_COLOR_TYPE_RGB;
306 if (color_type == PNG_COLOR_TYPE_GRAY)
307 color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
308 if (color_type == PNG_COLOR_TYPE_RGB)
309 color_type = PNG_COLOR_TYPE_RGB_ALPHA;
352 if (color_type == PNG_COLOR_TYPE_GRAY)
354 else if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA
    [all...]
  /external/libvpx/libvpx/
vpxenc.h 42 ColorInputType color_type; member in struct:VpxEncoderConfig
  /external/freetype/src/sfnt/
pngshim.c 197 int bitdepth, color_type, interlace; local
250 &bitdepth, &color_type, &interlace,
289 if ( color_type == PNG_COLOR_TYPE_PALETTE )
293 if ( color_type == PNG_COLOR_TYPE_GRAY )
313 if ( color_type == PNG_COLOR_TYPE_GRAY ||
314 color_type == PNG_COLOR_TYPE_GRAY_ALPHA )
326 &bitdepth, &color_type, &interlace,
330 !( color_type == PNG_COLOR_TYPE_RGB ||
331 color_type == PNG_COLOR_TYPE_RGB_ALPHA ) )
337 switch ( color_type )
    [all...]
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/sfnt/
pngshim.c 197 int bitdepth, color_type, interlace; local
250 &bitdepth, &color_type, &interlace,
289 if ( color_type == PNG_COLOR_TYPE_PALETTE )
293 if ( color_type == PNG_COLOR_TYPE_GRAY )
313 if ( color_type == PNG_COLOR_TYPE_GRAY ||
314 color_type == PNG_COLOR_TYPE_GRAY_ALPHA )
326 &bitdepth, &color_type, &interlace,
330 !( color_type == PNG_COLOR_TYPE_RGB ||
331 color_type == PNG_COLOR_TYPE_RGB_ALPHA ) )
337 switch ( color_type )
    [all...]
  /external/pdfium/third_party/freetype/src/sfnt/
pngshim.c 197 int bitdepth, color_type, interlace; local
250 &bitdepth, &color_type, &interlace,
289 if ( color_type == PNG_COLOR_TYPE_PALETTE )
293 if ( color_type == PNG_COLOR_TYPE_GRAY )
313 if ( color_type == PNG_COLOR_TYPE_GRAY ||
314 color_type == PNG_COLOR_TYPE_GRAY_ALPHA )
326 &bitdepth, &color_type, &interlace,
330 !( color_type == PNG_COLOR_TYPE_RGB ||
331 color_type == PNG_COLOR_TYPE_RGB_ALPHA ) )
337 switch ( color_type )
    [all...]
  /external/libpng/contrib/libtests/
makepng.c 180 channels_of_type(int color_type)
182 if (color_type & PNG_COLOR_MASK_PALETTE)
189 if (color_type & PNG_COLOR_MASK_COLOR)
192 if (color_type & PNG_COLOR_MASK_ALPHA)
201 pixel_depth_of_type(int color_type, int bit_depth)
203 return channels_of_type(color_type) * bit_depth;
207 image_size_of_type(int color_type, int bit_depth, unsigned int *colors,
215 int pixel_depth = pixel_depth_of_type(color_type, bit_depth);
390 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type,
396 image_size_of_type(color_type, bit_depth, colors, small)-1
1682 int color_type = 8; \/* invalid *\/ local
    [all...]
  /external/opencv3/3rdparty/libpng/
pngwtran.c 39 /* png_byte color_type; color type of pixels */
251 if (row_info->color_type != PNG_COLOR_TYPE_PALETTE)
256 if (row_info->color_type & PNG_COLOR_MASK_COLOR)
278 if (row_info->color_type & PNG_COLOR_MASK_ALPHA)
386 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
431 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
480 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
527 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
576 if ((row_info->color_type & PNG_COLOR_MASK_COLOR))
585 if (row_info->color_type == PNG_COLOR_TYPE_RGB
    [all...]
pngrtran.c 955 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
2480 int color_type; local
    [all...]
  /external/pdfium/third_party/lpng_v163/
pngwtran.c 38 /* png_byte color_type; color type of pixels */
250 if (row_info->color_type != PNG_COLOR_TYPE_PALETTE)
255 if (row_info->color_type & PNG_COLOR_MASK_COLOR)
277 if (row_info->color_type & PNG_COLOR_MASK_ALPHA)
389 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
434 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
483 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA)
530 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
579 if ((row_info->color_type & PNG_COLOR_MASK_COLOR))
588 if (row_info->color_type == PNG_COLOR_TYPE_RGB)
    [all...]
pngrtran.c 956 /* Need the IHDR here because of the check on color_type below. */
2521 int color_type; local
    [all...]
pnginfo.h 67 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */ member in struct:png_info_def
  /external/autotest/client/deps/glbench/src/
png_helper.cc 34 png_byte color_type = 6; // RGBA local
69 bit_depth, color_type, PNG_INTERLACE_NONE,
  /external/pdfium/core/src/fxcodec/codec/
fx_codec_png.cpp 123 int bpc = 0, color_type = 0, color_type1 = 0, pass = 0; local
125 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bpc, &color_type, NULL,
127 color_type1 = color_type;
134 if (color_type == PNG_COLOR_TYPE_PALETTE) {
139 &color_type, &gamma)) {
153 switch (color_type) {
172 if (!(color_type & PNG_COLOR_MASK_ALPHA)) {
175 if (color_type & PNG_COLOR_MASK_ALPHA &&
  /external/opencv/otherlibs/highgui/
grfmt_png.cpp 152 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;
  /frameworks/base/tools/aapt/
Images.cpp 103 int color_type; local
112 &outImageInfo->height, &bit_depth, &color_type,
116 //printf("color_type=%d, bit_depth=%d, interlace_type=%d, compression_type=%d\n",
117 // color_type, bit_depth, interlace_type, compression_type);
119 if (color_type == PNG_COLOR_TYPE_PALETTE)
122 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
133 if ((color_type&PNG_COLOR_MASK_ALPHA) == 0)
136 if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
164 bit_depth, color_type,
1142 int color_type; local
    [all...]
  /ndk/tests/build/issue20862-libpng-O0/jni/
pngrtran.c 955 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
2480 int color_type; local
    [all...]
  /external/libpng/
pngrtran.c 961 /* Need the IHDR here because of the check on color_type below. */
984 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
2239 int color_type; local
    [all...]
pnginfo.h 66 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */ member in struct:png_info_def

Completed in 658 milliseconds

1 2 3 4