HomeSort by relevance Sort by last modified time
    Searched full:bit_depth (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/chromium_org/third_party/libpng/
pngwtran.c 40 /* png_byte bit_depth; bit depth of samples */
57 (png_uint_32)png_ptr->bit_depth);
87 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The
92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
96 if (row_info->bit_depth == 8 &&
102 switch ((int)bit_depth)
202 row_info->bit_depth = (png_byte)bit_depth;
203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
212 * true number of bits in bit_depth. The row should be packe
    [all...]
pngtrans.c 41 if (png_ptr->bit_depth == 16)
55 if (png_ptr->bit_depth < 8)
72 if (png_ptr->bit_depth < 8)
144 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8)
210 * if (row_info->bit_depth == 1 &&
229 row_info->bit_depth == 8)
242 row_info->bit_depth == 16)
269 row_info->bit_depth == 16)
401 row_info->bit_depth < 8)
407 if (row_info->bit_depth == 1
    [all...]
pngrtran.c 829 switch (png_ptr->bit_depth)
    [all...]
  /external/libpng/
pngwtran.c 40 /* png_byte bit_depth; bit depth of samples */
57 (png_uint_32)png_ptr->bit_depth);
87 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The
92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
96 if (row_info->bit_depth == 8 &&
102 switch ((int)bit_depth)
202 row_info->bit_depth = (png_byte)bit_depth;
203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
212 * true number of bits in bit_depth. The row should be packe
    [all...]
pngtrans.c 41 if (png_ptr->bit_depth == 16)
55 if (png_ptr->bit_depth < 8)
72 if (png_ptr->bit_depth < 8)
144 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8)
210 * if (row_info->bit_depth == 1 &&
229 row_info->bit_depth == 8)
242 row_info->bit_depth == 16)
269 row_info->bit_depth == 16)
401 row_info->bit_depth < 8)
407 if (row_info->bit_depth == 1
    [all...]
pngrtran.c 829 switch (png_ptr->bit_depth)
    [all...]
TODO 20 Should we always malloc 2^bit_depth PLTE/tRNS/hIST entries for safety?
png.c 931 png_uint_32 width, png_uint_32 height, int bit_depth,
991 if (bit_depth != 1 && bit_depth != 2 && bit_depth != 4 &&
992 bit_depth != 8 && bit_depth != 16)
1005 if (((color_type == PNG_COLOR_TYPE_PALETTE) && bit_depth > 8) ||
1008 color_type == PNG_COLOR_TYPE_RGB_ALPHA) && bit_depth < 8))
libpngpf.3 
pngtest.c 213 * png_byte bit_depth bit depth of samples
226 if (row_info->bit_depth == 1)
236 if (row_info->bit_depth == 2)
246 if (row_info->bit_depth == 4)
256 if (row_info->bit_depth == 8)
259 if (row_info->bit_depth == 16)
278 if (row_info->bit_depth == 8)
281 if (row_info->bit_depth == 16)
291 if (row_info->bit_depth == 16)
706 int bit_depth, color_type local
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngwtran.c 35 /* png_byte bit_depth; bit depth of samples */
52 (png_uint_32)png_ptr->bit_depth);
82 /* Pack pixels into bytes. Pass the true bit depth in bit_depth. The
87 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
90 if (row_info->bit_depth == 8 &&
96 switch ((int)bit_depth)
196 row_info->bit_depth = (png_byte)bit_depth;
197 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
206 * true number of bits in bit_depth. The row should be packe
    [all...]
pngtrans.c 33 if (png_ptr->bit_depth == 16)
45 if (png_ptr->bit_depth < 8)
60 if (png_ptr->bit_depth < 8)
123 if (png_ptr->color_type == PNG_COLOR_TYPE_GRAY && png_ptr->bit_depth >= 8)
180 * if (row_info->bit_depth == 1 &&
199 row_info->bit_depth == 8)
212 row_info->bit_depth == 16)
238 row_info->bit_depth == 16)
369 row_info->bit_depth < 8)
375 if (row_info->bit_depth == 1
    [all...]
pngrtran.c 771 switch (png_ptr->bit_depth)
    [all...]
pngset.c 261 png_uint_32 width, png_uint_32 height, int bit_depth,
290 if (bit_depth != 1 && bit_depth != 2 && bit_depth != 4 &&
291 bit_depth != 8 && bit_depth != 16)
298 if (((color_type == PNG_COLOR_TYPE_PALETTE) && bit_depth > 8) ||
301 color_type == PNG_COLOR_TYPE_RGB_ALPHA) && bit_depth < 8))
340 info_ptr->bit_depth = (png_byte)bit_depth;
    [all...]
pngget.c 72 return info_ptr->bit_depth;
540 png_uint_32 *width, png_uint_32 *height, int *bit_depth,
546 bit_depth != NULL && color_type != NULL)
551 *bit_depth = info_ptr->bit_depth;
552 if (info_ptr->bit_depth < 1 || info_ptr->bit_depth > 16)
  /external/libpng/contrib/pngminus/
pnm2png.c 203 int bit_depth = 0; local
223 bit_depth = 1;
236 bit_depth = 1;
238 bit_depth = 2;
240 bit_depth = 4;
242 bit_depth = 8;
244 bit_depth = 16;
257 bit_depth = 1;
259 bit_depth = 2;
261 bit_depth = 4
    [all...]
png2pnm.c 200 int bit_depth; local
247 &width, &height, &bit_depth, &color_type,
256 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
264 if (bit_depth == 16)
281 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
285 if (bit_depth == 16)
350 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
357 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
368 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L));
383 if (bit_depth == 16)
    [all...]
  /external/libpng/contrib/gregbook/
readpng.c 72 int bit_depth, color_type; variable
134 * etc., but want bit_depth and color_type for later [don't care about
137 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
181 if (bit_depth == 16) {
185 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
186 if (bit_depth == 1)
188 else if (bit_depth == 2)
190 else /* bit_depth == 4 */
228 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
232 if (bit_depth == 16
    [all...]
readpng2.c 381 int color_type, bit_depth; local
418 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
439 if (bit_depth == 16) {
443 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
444 if (bit_depth == 1)
447 else if (bit_depth == 2)
450 else /* bit_depth == 4 */
468 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
472 if (bit_depth == 16)
  /ndk/tests/build/issue20862-libpng-O0/jni/
pngrtran.c 2491 int bit_depth = row_info->bit_depth; local
    [all...]
pnginfo.h 66 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */ member in struct:png_info_def
122 * in the pixel data. Values are in the range [1, bit_depth], and are
206 * The integer range [0, 2^bit_depth - 1] maps to the floating-point
  /bootable/recovery/minui/
resources.c 97 int bit_depth = info_ptr->bit_depth; local
99 if (!(bit_depth == 8 &&
254 int bit_depth = info_ptr->bit_depth; local
257 if (!(bit_depth == 8 &&
  /external/opencv/otherlibs/highgui/
grfmt_png.cpp 152 int bit_depth, color_type; local
158 &bit_depth, &color_type, 0, 0, 0 );
167 m_bit_depth = bit_depth;
  /external/chromium_org/third_party/freetype/src/sfnt/
ttsbit.c 172 FT_Byte bit_depth; member in struct:TT_SBitDecoderRec_
235 decoder->bit_depth = *p;
277 switch ( decoder->bit_depth )
424 line_bits = width * decoder->bit_depth;
566 line_bits = width * decoder->bit_depth;
765 decoder->bit_depth,
882 if ( decoder->bit_depth == 32 &&
    [all...]
  /external/freetype/src/sfnt/
ttsbit.c 172 FT_Byte bit_depth; member in struct:TT_SBitDecoderRec_
235 decoder->bit_depth = *p;
277 switch ( decoder->bit_depth )
424 line_bits = width * decoder->bit_depth;
566 line_bits = width * decoder->bit_depth;
765 decoder->bit_depth,
882 if ( decoder->bit_depth == 32 &&
    [all...]

Completed in 598 milliseconds

1 2 3