/external/libhevc/common/ |
ihevc_chroma_iquant_recon.c | 131 WORD32 log2_trans_size, bit_depth; local 134 bit_depth = 8 + 0; 135 shift_iq = bit_depth + log2_trans_size - 5; 243 WORD32 log2_trans_size, bit_depth; local 246 bit_depth = 8 + 0; 247 shift_iq = bit_depth + log2_trans_size - 5; 356 WORD32 log2_trans_size, bit_depth; local 359 bit_depth = 8 + 0; 360 shift_iq = bit_depth + log2_trans_size - 5;
|
ihevc_chroma_iquant_itrans_recon.c | 142 WORD32 log2_trans_size, bit_depth; local 145 bit_depth = 8 + 0; 146 shift_iq = bit_depth + log2_trans_size - 5;
|
ihevc_iquant_recon.c | 125 WORD32 log2_trans_size, bit_depth; local 128 bit_depth = 8 + 0; 129 shift_iq = bit_depth + log2_trans_size - 5; 237 WORD32 log2_trans_size, bit_depth; local 240 bit_depth = 8 + 0; 241 shift_iq = bit_depth + log2_trans_size - 5; 348 WORD32 log2_trans_size, bit_depth; local 351 bit_depth = 8 + 0; 352 shift_iq = bit_depth + log2_trans_size - 5; 460 WORD32 log2_trans_size, bit_depth; local 571 WORD32 log2_trans_size, bit_depth; local [all...] |
ihevc_iquant_itrans_recon.c | 133 WORD32 log2_trans_size, bit_depth; local 136 bit_depth = 8 + 0; 137 shift_iq = bit_depth + log2_trans_size - 5; 342 WORD32 log2_trans_size, bit_depth; local 345 bit_depth = 8 + 0; 346 shift_iq = bit_depth + log2_trans_size - 5;
|
ihevc_sao.c | 202 WORD32 bit_depth; local 205 bit_depth = BIT_DEPTH_LUMA; 248 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); 286 WORD32 bit_depth; local 289 bit_depth = BIT_DEPTH_CHROMA; 347 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); 382 WORD32 bit_depth; local 386 bit_depth = BIT_DEPTH_LUMA; 440 pu1_src[col] = CLIP3(pu1_src[col] + pi1_sao_offset[edge_idx], 0, (1 << bit_depth) - 1); 476 WORD32 bit_depth; local 579 WORD32 bit_depth; local 768 WORD32 bit_depth; local 1001 WORD32 bit_depth; local 1177 WORD32 bit_depth; local [all...] |
/external/libpng/contrib/gregbook/ |
readppm.c | 68 int bit_depth, color_type, channels; variable 119 bit_depth = 8;
|
readpng.c | 73 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, 182 if (bit_depth == 16) { 186 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { 187 if (bit_depth == 1) 189 else if (bit_depth == 2) 191 else /* bit_depth == 4 */ 233 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 238 if (bit_depth == 16 [all...] |
readpng2.c | 214 int color_type, bit_depth; local 255 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 276 if (bit_depth == 16) { 280 } else if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) { 281 if (bit_depth == 1) 284 else if (bit_depth == 2) 287 else /* bit_depth == 4 */ 305 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 310 if (bit_depth == 16)
|
/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;
|
/bootable/recovery/minui/ |
resources.c | 93 int color_type, bit_depth; local 94 png_get_IHDR(*png_ptr, *info_ptr, width, height, &bit_depth, 99 if (bit_depth == 8 && *channels == 3 && color_type == PNG_COLOR_TYPE_RGB) { 101 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_GRAY) { 104 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_PALETTE) { 113 bit_depth, *channels, color_type);
|
/external/libpng/contrib/examples/ |
pngpixel.c | 33 unsigned int bit_depth, unsigned int channels) 40 png_uint_32 bit_offset_hi = bit_depth * ((x >> 6) * channels); 41 png_uint_32 bit_offset_lo = bit_depth * ((x & 0x3f) * channels + c); 51 switch (bit_depth) 62 fprintf(stderr, "pngpixel: invalid bit depth %u\n", bit_depth); 74 PNG_CONST unsigned int bit_depth = png_get_bit_depth(png_ptr, info_ptr); local 79 printf("GRAY %u\n", component(row, x, 0, bit_depth, 1)); 88 PNG_CONST unsigned int index = component(row, x, 0, bit_depth, 1); 117 printf("RGB %u %u %u\n", component(row, x, 0, bit_depth, 3), 118 component(row, x, 1, bit_depth, 3) 181 int bit_depth, color_type, interlace_method, local [all...] |
/external/libpng/contrib/pngminus/ |
png2pnm.c | 201 int bit_depth; local 248 &width, &height, &bit_depth, &color_type, 257 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) 265 if (bit_depth == 16) 282 png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 286 if (bit_depth == 16) 351 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 358 fprintf (pnm_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 369 fprintf (alpha_file, "%ld\n", ((1L << (int) bit_depth) - 1L)); 384 if (bit_depth == 16) [all...] |
pnm2png.c | 207 int bit_depth = 0; local 237 bit_depth = 1; 259 bit_depth = 1; 261 bit_depth = 2; 263 bit_depth = 4; 265 bit_depth = 8; 267 bit_depth = 16; 283 bit_depth = 1; 285 bit_depth = 2; 287 bit_depth = 4 [all...] |
/development/tools/etc1tool/ |
etc1tool.cpp | 195 int bit_depth, color_type; local 196 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth,
|
/external/libpng/ |
pnginfo.h | 66 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */ member in struct:png_info_def 135 * in the pixel data. Values are in the range [1, bit_depth], and are 202 * The integer range [0, 2^bit_depth - 1] maps to the floating-point
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
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
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
ttsbit0.c | 168 FT_Byte bit_depth; member in struct:TT_SBitDecoderRec_ 229 decoder->bit_depth = *p; 270 switch ( decoder->bit_depth )
|
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/chromium_org/tools/imagediff/ |
image_diff_png.cc | 149 int bit_depth, color_type, interlace_type, compression_type; local 152 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, 169 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)) 177 if (bit_depth == 16)
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_onyxc_int.h | 184 BIT_DEPTH bit_depth; member in struct:VP9Common
|
/external/chromium_org/ui/gfx/codec/ |
png_codec.cc | 167 int bit_depth, color_type, interlace_type, compression_type; local 170 png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, 192 (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)) 205 if (bit_depth == 16)
|
/external/freetype/src/sfnt/ |
ttsbit.c | 319 FT_Byte bit_depth; member in struct:TT_SBitDecoderRec_ 382 decoder->bit_depth = *p; 423 switch ( decoder->bit_depth ) 556 line_bits = width * decoder->bit_depth; 695 line_bits = width * decoder->bit_depth; 890 decoder->bit_depth, [all...] |
/external/libhevc/common/x86/ |
ihevc_sao_ssse3_intr.c | 2501 WORD32 bit_depth; local 3262 WORD32 bit_depth; local 4091 WORD32 bit_depth; local 4866 WORD32 bit_depth; local [all...] |
/external/libpng/contrib/libtests/ |
makepng.c | 132 pixel_depth_of_type(int color_type, int bit_depth) 134 return channels_of_type(color_type) * bit_depth; 138 image_size_of_type(int color_type, int bit_depth, unsigned int *colors) 145 int pixel_depth = pixel_depth_of_type(color_type, bit_depth); 170 generate_palette(png_colorp palette, png_bytep trans, int bit_depth, 210 if (bit_depth == 1) 219 unsigned int size = 1U << (bit_depth/2); /* 2, 4 or 16 */ 249 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, 252 unsigned int mask = (1U << bit_depth)-1; 254 x *= bit_depth; /* Maximum x is 4*1024, maximum bit_depth is 16 * 1282 int bit_depth = 32; \/* invalid *\/ local [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_onyxc_int.h | 185 BIT_DEPTH bit_depth; member in struct:VP9Common
|