/external/libpng/contrib/gregbook/ |
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)
|
readppm.c | 68 int bit_depth, color_type, channels; variable 119 bit_depth = 8;
|
/external/libhevc/common/ |
ihevc_iquant_itrans_recon.h | 64 UWORD8 bit_depth); 91 UWORD8 bit_depth); 118 UWORD8 bit_depth); 145 UWORD8 bit_depth); 172 UWORD8 bit_depth);
|
ihevc_iquant_recon.h | 57 UWORD8 bit_depth); 78 UWORD8 bit_depth); 99 UWORD8 bit_depth); 120 UWORD8 bit_depth); 141 UWORD8 bit_depth);
|
ihevc_itrans_recon.h | 55 UWORD8 bit_depth); 74 UWORD8 bit_depth); 93 UWORD8 bit_depth); 112 UWORD8 bit_depth); 131 UWORD8 bit_depth);
|
ihevc_inter_pred.h | 41 #define SHIFT_14_MINUS_BIT_DEPTH (14 - BIT_DEPTH) 97 UWORD8 bit_depth); 108 UWORD8 bit_depth); 119 UWORD8 bit_depth); 130 UWORD8 bit_depth); 143 UWORD8 bit_depth); 162 UWORD8 bit_depth); 176 UWORD8 bit_depth); 189 UWORD8 bit_depth); 210 UWORD8 bit_depth); [all...] |
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...] |
ihevc_sao.h | 96 UWORD32 bit_depth); 121 UWORD32 bit_depth); 148 UWORD32 bit_depth); 173 UWORD32 bit_depth); 200 UWORD32 bit_depth); 225 UWORD32 bit_depth); 252 UWORD32 bit_depth); 277 UWORD32 bit_depth); 303 UWORD32 bit_depth);
|
ihevc_chroma_iquant_itrans_recon.h | 65 UWORD8 bit_depth); 92 UWORD8 bit_depth); 119 UWORD8 bit_depth);
|
ihevc_deblk_edge_filter.c | 348 UWORD8 bit_depth) 372 beta = gai4_ihevc_beta_table[beta_indx] * (1 << (bit_depth - 8)); 373 tc = gai4_ihevc_tc_table[tc_indx] * (1 << (bit_depth - 8)); 486 tmp_p0 = CLIP3(pu2_src[-1] + delta, 0, ((1 << bit_depth) - 1)); 487 tmp_q0 = CLIP3(pu2_src[0] - delta, 0, ((1 << bit_depth) - 1)); 494 tmp_p1 = CLIP3(pu2_src[-2] + delta_p, 0, ((1 << bit_depth) - 1)); 503 tmp_q1 = CLIP3(pu2_src[1] + delta_q, 0, ((1 << bit_depth) - 1)); 847 UWORD8 bit_depth) 871 beta = gai4_ihevc_beta_table[beta_indx] * (1 << (bit_depth - 8)); 872 tc = gai4_ihevc_tc_table[tc_indx] * (1 << (bit_depth - 8)) [all...] |
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_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;
|
/external/chromium_org/third_party/libvpx/source/libvpx/ |
y4minput.h | 62 unsigned int bit_depth; member in struct:y4m_input
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pngrtran.c | 2491 int bit_depth = row_info->bit_depth; local [all...] |
/external/libpng/ |
pngrtran.c | 2246 int bit_depth = row_info->bit_depth; local [all...] |
pngtrans.c | 42 if (png_ptr->bit_depth == 16) 57 if (png_ptr->bit_depth < 8) 77 if (png_ptr->bit_depth < 8) 162 if (png_ptr->bit_depth >= 8) 266 * if (row_info->bit_depth == 1 && 282 row_info->bit_depth == 8) 297 row_info->bit_depth == 16) 322 if (row_info->bit_depth == 16) 451 if (row_info->bit_depth < 8) 458 if (row_info->bit_depth == 1 [all...] |
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
|
/external/chromium_org/third_party/libpng/ |
pngrtran.c | 829 switch (png_ptr->bit_depth) [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...] |
/external/qemu/distrib/libpng-1.2.46/ |
pngrtran.c | 829 switch (png_ptr->bit_depth) [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...] |
/external/libpng/contrib/libtests/ |
pngvalid.c | 297 int bit_depth, unsigned int npalette, int interlace_type, 308 pos = safecatn(buffer, bufsize, pos, bit_depth); 359 #define PALETTE_COUNT(bit_depth) ((bit_depth) > 4 ? 1U : 16U) 362 next_format(png_bytep colour_type, png_bytep bit_depth, 365 if (*bit_depth == 0) 369 *bit_depth = 8; 371 *bit_depth = 1; 379 if (++*palette_number < PALETTE_COUNT(*bit_depth)) 385 *bit_depth = (png_byte)(*bit_depth << 1) 1850 png_byte bit_depth; \/* From IHDR *\/ member in struct:png_modifier 3574 png_byte bit_depth = 0; local 3951 png_byte bit_depth; local 4244 png_byte bit_depth; member in struct:standard_display 5278 png_byte bit_depth; \/* Defines bit size in row *\/ member in struct:image_pixel 7263 png_byte colour_type, bit_depth; local 7642 png_byte bit_depth = 0; local 9022 png_byte bit_depth = 0; local 9087 png_byte bit_depth = 0; local 9117 png_byte colour_type = 0, bit_depth = 0; local 9356 png_byte bit_depth = 0; local [all...] |
pngimage.c | 519 int bit_depth; member in struct:display 867 &dp->width, &dp->height, &dp->bit_depth, &dp->color_type, 879 int bd = dp->bit_depth; 919 int bit_depth, color_type; local 923 png_get_IHDR(dp->read_pp, dp->read_ip, &width, &height, &bit_depth, 933 C(bit_depth); 972 if (bit_depth < 8) 978 mask = 0xff & (0xff00 >> ((bit_depth * width) & 7)); 1031 bpp = bit_depth; 1037 bpp = 2 * bit_depth; [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_scale/ |
yv12config.h | 54 unsigned int bit_depth; member in struct:yv12_buffer_config
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_rd.c | 107 vpx_bit_depth_t bit_depth) { 113 const double q = vp9_convert_qindex_to_q(i, bit_depth); 139 const int q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth); 142 switch (cpi->common.bit_depth) { 153 assert(0 && "bit_depth should be VPX_BITS_8, VPX_BITS_10 or VPX_BITS_12"); 170 static int compute_rd_thresh_factor(int qindex, vpx_bit_depth_t bit_depth) { 173 switch (bit_depth) { 184 assert(0 && "bit_depth should be VPX_BITS_8, VPX_BITS_10 or VPX_BITS_12"); 188 (void) bit_depth; 197 switch (cpi->common.bit_depth) { [all...] |