• Home
  • Raw
  • Download

Lines Matching refs:bitness

914 	int bitness = 8;			// internal precision we will use in the codec.  in load_ktx_uncompressed_image()  local
921 bitness = 8; in load_ktx_uncompressed_image()
954 bitness = 16; in load_ktx_uncompressed_image()
987 bitness = 16; in load_ktx_uncompressed_image()
1020 bitness = 32; in load_ktx_uncompressed_image()
1130 astcenc_image *astc_img = alloc_image(bitness, dim_x, dim_y, dim_z); in load_ktx_uncompressed_image()
1158 is_hdr = bitness == 32; in load_ktx_uncompressed_image()
1349 int bitness = img->data_type == ASTCENC_TYPE_U8 ? 8 : 16; in store_ktx_uncompressed_image() local
1360 hdr.gl_type = (bitness == 16) ? GL_HALF_FLOAT : GL_UNSIGNED_BYTE; in store_ktx_uncompressed_image()
1361 hdr.gl_type_size = bitness / 8; in store_ktx_uncompressed_image()
1376 if (bitness == 8) in store_ktx_uncompressed_image()
1502 uint32_t image_bytes = dim_x * dim_y * dim_z * image_components * (bitness / 8); in store_ktx_uncompressed_image()
1508 void* dataptr = (bitness == 16) ? in store_ktx_uncompressed_image()
1707 int bitness = 0; in load_dds_uncompressed_image() local
1736 int bitness; in load_dds_uncompressed_image() member
1767 bitness = format_params[i].bitness; in load_dds_uncompressed_image()
1871 bitness = bytes_per_component * 8; in load_dds_uncompressed_image()
1890 astcenc_image *astc_img = alloc_image(bitness, dim_x, dim_y, dim_z); in load_dds_uncompressed_image()
1918 is_hdr = bitness == 16; in load_dds_uncompressed_image()
1941 int bitness = img->data_type == ASTCENC_TYPE_U8 ? 8 : 16; in store_dds_uncompressed_image() local
1942 int image_components = (bitness == 16) ? 4 : determine_image_components(img); in store_dds_uncompressed_image()
1971 hdr.pitch_or_linear_size = image_components * (bitness / 8) * dim_x; in store_dds_uncompressed_image()
1984 if (bitness == 8) in store_dds_uncompressed_image()
2005 if (bitness == 8) in store_dds_uncompressed_image()
2133 uint32_t image_bytes = dim_x * dim_y * dim_z * image_components * (bitness / 8); in store_dds_uncompressed_image()
2140 void *dataptr = (bitness == 16) ? in store_dds_uncompressed_image()
2144 …size_t expected_bytes_written = 4 + sizeof(dds_header) + (bitness > 8 ? sizeof(dds_header_dx10) : … in store_dds_uncompressed_image()
2150 if (bitness > 8) in store_dds_uncompressed_image()