Lines Matching refs:bit_depth
42 if (png_ptr->bit_depth == 16) in png_set_swap()
57 if (png_ptr->bit_depth < 8) in png_set_packing()
77 if (png_ptr->bit_depth < 8) in png_set_packswap()
162 if (png_ptr->bit_depth >= 8) in png_set_filler()
282 row_info->bit_depth == 8) in png_do_invert()
297 row_info->bit_depth == 16) in png_do_invert()
322 if (row_info->bit_depth == 16) in png_do_swap()
458 if (row_info->bit_depth < 8) in png_do_packswap()
465 if (row_info->bit_depth == 1) in png_do_packswap()
468 else if (row_info->bit_depth == 2) in png_do_packswap()
471 else if (row_info->bit_depth == 4) in png_do_packswap()
511 if (row_info->bit_depth == 8) in png_do_strip_channel()
525 else if (row_info->bit_depth == 16) in png_do_strip_channel()
551 if (row_info->bit_depth == 8) in png_do_strip_channel()
565 else if (row_info->bit_depth == 16) in png_do_strip_channel()
611 if (row_info->bit_depth == 8) in png_do_bgr()
641 else if (row_info->bit_depth == 16) in png_do_bgr()
686 if (png_ptr->num_palette < (1 << row_info->bit_depth) && in png_do_check_palette_indexes()
698 switch (row_info->bit_depth) in png_do_check_palette_indexes()