|
Blender V5.3
|
#include <algorithm>#include <fcntl.h>#include <unistd.h>#include "oiio/openimageio_support.hh"#include "IMB_filetype.hh"#include "IMB_imbuf_types.hh"#include "BLI_fileops.hh"#include "BLI_math_base_c.hh"#include "BLI_mmap.hh"#include "BLI_path_utils.hh"#include "BLI_string.hh"#include "MEM_guardedalloc.h"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Typedefs | |
| using | blender::FlipBlockFunction = void (*)(uint8_t *block) |
Functions | |
| static void | blender::FlipDXT1BlockFull (uint8_t *block) |
| static void | blender::FlipDXT1BlockHalf (uint8_t *block) |
| static void | blender::FlipDXT3BlockFull (uint8_t *block) |
| static void | blender::FlipDXT3BlockHalf (uint8_t *block) |
| static void | blender::FlipDXT5BlockFull (uint8_t *block) |
| static void | blender::FlipDXT5BlockHalf (uint8_t *block) |
| static int | blender::flip_dxtc_image (uint8_t *data, size_t data_size, int width, int height, int levels, uint32_t fourcc) |
Variables | |
| static constexpr uint32_t | blender::fourcc_dxt1 = 0x31545844 |
| static constexpr uint32_t | blender::fourcc_dxt3 = 0x33545844 |
| static constexpr uint32_t | blender::fourcc_dxt5 = 0x35545844 |
Format: DDS (#IMB_FTYPE_DDS) | |
| const char * | blender::imb_file_extensions_dds [] = {".dds", nullptr} |
| void | blender::imb_init_dds () |
| bool | blender::imb_is_a_dds (const uchar *mem, size_t size) |
| ImBuf * | blender::imb_load_dds (const uchar *mem, size_t size, ImBufFlags flags, ImFileColorSpace &r_colorspace) |
| uint8_t * | blender::imb_load_dds_compressed_data (const char *filepath, int width, int height, int &r_mipcount) |
Some portions of this file are from the Chromium project and have been adapted for Blender use when flipping DDS images to the OpenGL convention.
Definition in file format_dds.cc.