/external/autotest/client/deps/glbench/src/ |
png_helper.cc | 33 png_byte color_type = 6; // RGBA local 68 bit_depth, color_type, PNG_INTERLACE_NONE,
|
/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;
|
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,
|
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)
|
/external/tensorflow/tensorflow/core/lib/png/ |
png_io.h | 52 int color_type; member in struct:tensorflow::png::DecodeContext
|
png_io.cc | 152 switch (context.color_type) { 223 &context->height, &context->bit_depth, &context->color_type, 240 const bool has_alpha = (context->color_type & PNG_COLOR_MASK_ALPHA) != 0; 270 if (context->color_type == PNG_COLOR_TYPE_PALETTE) 275 const bool is_gray = !(context->color_type & PNG_COLOR_MASK_COLOR); 354 int color_type = -1; local 357 color_type = PNG_COLOR_TYPE_GRAY; 360 color_type = PNG_COLOR_TYPE_GRAY_ALPHA; 363 color_type = PNG_COLOR_TYPE_RGB; 366 color_type = PNG_COLOR_TYPE_RGB_ALPHA [all...] |
/external/libpng/contrib/oss-fuzz/ |
libpng_read_fuzzer.cc | 150 int bit_depth, color_type, interlace_type, compression_type; local 154 &height, &bit_depth, &color_type, &interlace_type,
|
/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;
|
/external/pdfium/third_party/agg23/ |
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,
|
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...] |
/bootable/recovery/tests/manual/ |
recovery_test.cpp | 162 int color_type, bit_depth; variable 163 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, nullptr, nullptr, 165 ASSERT_EQ(PNG_COLOR_TYPE_GRAY, color_type) << "Recovery expects grayscale PNG file.";
|
/external/honggfuzz/examples/libpng/ |
persistent-png.c | 119 int bit_depth, color_type, interlace_method, compression_method, filter_method, unit_type, num_palette, num_text; local 123 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_method,
|
/external/libpng/contrib/examples/ |
pngpixel.c | 183 int bit_depth, color_type, interlace_method, local 218 &bit_depth, &color_type, &interlace_method,
|
/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/libvpx/libvpx/ |
vpxenc.h | 42 ColorInputType color_type; member in struct:VpxEncoderConfig
|
/bootable/recovery/minui/ |
resources.cpp | 141 int color_type; local 143 png_get_IHDR(png_ptr_, info_ptr_, &width_, &height_, &bit_depth, &color_type, nullptr, nullptr, 148 if (bit_depth == 8 && channels_ == 3 && color_type == PNG_COLOR_TYPE_RGB) { 150 } else if (bit_depth <= 8 && channels_ == 1 && color_type == PNG_COLOR_TYPE_GRAY) { 153 } else if (bit_depth <= 8 && channels_ == 1 && color_type == PNG_COLOR_TYPE_PALETTE) { 161 fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", bit_depth, 162 channels_, color_type);
|
/development/tools/etc1tool/ |
etc1tool.cpp | 195 int bit_depth, color_type; local 197 &color_type, NULL, NULL, NULL);
|
/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/ |
pnginfo.h | 66 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */ member in struct:png_info_def
|
/external/pdfium/core/fxcodec/codec/ |
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/pdfium/third_party/libpng16/ |
pnginfo.h | 66 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */ member in struct:png_info_def
|
/external/mesa3d/src/amd/vulkan/ |
radv_meta_clear.c | 63 const struct glsl_type *color_type = glsl_vec4_type(); local 76 nir_variable_create(vs_b.shader, nir_var_shader_in, color_type, 81 nir_variable_create(vs_b.shader, nir_var_shader_out, color_type, 87 nir_variable_create(fs_b.shader, nir_var_shader_in, color_type, 93 nir_variable_create(fs_b.shader, nir_var_shader_out, color_type, [all...] |
/external/pdfium/testing/image_diff/ |
image_diff_png.cpp | 184 int bit_depth, color_type, interlace_type, compression_type; local 187 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, 203 if (color_type == PNG_COLOR_TYPE_PALETTE || 204 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)) 216 if (color_type == PNG_COLOR_TYPE_GRAY || 217 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
|