/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/pngminus/ |
png2pnm.c | 221 int color_type; local 266 &width, &height, &bit_depth, &color_type, 272 if (color_type == PNG_COLOR_TYPE_PALETTE) 275 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 286 if (color_type == PNG_COLOR_TYPE_GRAY || 287 color_type == PNG_COLOR_TYPE_GRAY_ALPHA) 300 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 313 if (color_type == PNG_COLOR_TYPE_GRAY) 315 else if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA) 317 else if (color_type == PNG_COLOR_TYPE_RGB [all...] |
pnm2png.c | 217 volatile int color_type=1; local 247 color_type = PNG_COLOR_TYPE_GRAY; 264 color_type = PNG_COLOR_TYPE_GRAY; 289 color_type = PNG_COLOR_TYPE_RGB; 319 if (color_type == PNG_COLOR_TYPE_GRAY) 320 color_type = PNG_COLOR_TYPE_GRAY_ALPHA; 321 if (color_type == PNG_COLOR_TYPE_RGB) 322 color_type = PNG_COLOR_TYPE_RGB_ALPHA; 365 if (color_type == PNG_COLOR_TYPE_GRAY) 367 else if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA [all...] |
/external/libaom/libaom/apps/ |
aomenc.h | 41 ColorInputType color_type; member in struct:AvxEncoderConfig
|
/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 | 220 int color_type, bit_depth; local 261 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 276 * green and blue values, regardless of color_type: */ 287 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { 311 if (color_type == PNG_COLOR_TYPE_PALETTE) 313 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 325 if (color_type == PNG_COLOR_TYPE_GRAY || 326 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/libvpx/libvpx/ |
vpxenc.h | 42 ColorInputType color_type; member in struct:VpxEncoderConfig
|
/external/pdfium/core/fxcodec/codec/ |
ccodec_pngmodule.h | 29 int* color_type,
|
ccodec_pngmodule.cpp | 118 int color_type = 0; local 119 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bpc, &color_type, nullptr, 121 int color_type1 = color_type; 128 if (color_type == PNG_COLOR_TYPE_PALETTE) 134 &color_type, &gamma)) { 147 switch (color_type) { 166 if (!(color_type & PNG_COLOR_MASK_ALPHA)) 169 if (color_type & PNG_COLOR_MASK_ALPHA &&
|
/external/skia/tools/gdb/ |
bitmap.py | 62 color_type = info['fColorType'] 70 if color_type == ColorType.bgra_8888.value: 84 str(ColorType(int(color_type))),
|
/external/skqp/tools/gdb/ |
bitmap.py | 62 color_type = info['fColorType'] 70 if color_type == ColorType.bgra_8888.value: 84 str(ColorType(int(color_type))),
|
/external/freetype/src/sfnt/ |
pngshim.c | 266 int bitdepth, color_type, interlace; local 319 &bitdepth, &color_type, &interlace, 348 if ( color_type == PNG_COLOR_TYPE_PALETTE ) 352 if ( color_type == PNG_COLOR_TYPE_GRAY ) 372 if ( color_type == PNG_COLOR_TYPE_GRAY || 373 color_type == PNG_COLOR_TYPE_GRAY_ALPHA ) 385 &bitdepth, &color_type, &interlace, 389 !( color_type == PNG_COLOR_TYPE_RGB || 390 color_type == PNG_COLOR_TYPE_RGB_ALPHA ) ) 399 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/tensorflow/tensorflow/core/lib/png/ |
png_io.cc | 158 switch (context.color_type) { 229 &context->height, &context->bit_depth, &context->color_type, 244 if (context->color_type == PNG_COLOR_TYPE_PALETTE) { 254 const bool has_alpha = (context->color_type & PNG_COLOR_MASK_ALPHA) != 0; 284 if (context->color_type == PNG_COLOR_TYPE_PALETTE) 289 const bool is_gray = !(context->color_type & PNG_COLOR_MASK_COLOR); 368 int color_type = -1; local 371 color_type = PNG_COLOR_TYPE_GRAY; 374 color_type = PNG_COLOR_TYPE_GRAY_ALPHA; 377 color_type = PNG_COLOR_TYPE_RGB [all...] |
png_io.h | 54 int color_type; member in struct:tensorflow::png::DecodeContext
|
/bootable/recovery/minui/include/private/ |
resources.h | 51 int color_type() const { function in class:PngHandler
|
/external/autotest/client/deps/glbench/src/ |
png_helper.cc | 34 png_byte color_type = 6; // RGBA local 69 png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, color_type,
|
/external/libpng/ |
pngrtran.c | 964 /* Need the IHDR here because of the check on color_type below. */ 987 if (png_ptr->color_type == PNG_COLOR_TYPE_PALETTE) 2242 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
|
pngwtran.c | 177 if (row_info->color_type != PNG_COLOR_TYPE_PALETTE) 182 if ((row_info->color_type & PNG_COLOR_MASK_COLOR) != 0) 204 if ((row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0) 316 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) 361 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) 410 if (row_info->color_type == PNG_COLOR_TYPE_RGB_ALPHA) 457 else if (row_info->color_type == PNG_COLOR_TYPE_GRAY_ALPHA) 518 /* png_byte color_type; color type of pixels */
|
/external/pdfium/third_party/libpng16/ |
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
|