Searched refs:image_components (Results 1 – 2 of 2) sorted by relevance
1360 int image_components = determine_image_components(img); in store_ktx_uncompressed_image() local1380 hdr.gl_format = gl_format_of_components[image_components - 1]; in store_ktx_uncompressed_image()1383 hdr.gl_internal_format = gl_sized_format_of_components_hdr[image_components - 1]; in store_ktx_uncompressed_image()1387 hdr.gl_internal_format = gl_sized_format_of_components_ldr[image_components - 1]; in store_ktx_uncompressed_image()1405 row_pointers8[0][0] = new uint8_t[dim_x * dim_y * dim_z * image_components + 3]; in store_ktx_uncompressed_image()1410 row_pointers8[z][0] = row_pointers8[0][0] + dim_y * dim_x * image_components * z; in store_ktx_uncompressed_image()1417 row_pointers8[z][y] = row_pointers8[z][0] + dim_x * image_components * y; in store_ktx_uncompressed_image()1427 switch (image_components) in store_ktx_uncompressed_image()1467 row_pointers16[0][0] = new uint16_t[dim_x * dim_y * dim_z * image_components + 1]; in store_ktx_uncompressed_image()1472 row_pointers16[z][0] = row_pointers16[0][0] + dim_y * dim_x * image_components * z; in store_ktx_uncompressed_image()[all …]
166 int image_components = 1 + (is_luma == 0 ? 2 : 0) + (has_alpha ? 1 : 0); in determine_image_components() local167 return image_components; in determine_image_components()