Blender V5.3
openimageio_support.cc File Reference
#include "openimageio_support.hh"
#include <OpenImageIO/image_span.h>
#include <OpenImageIO/imagebuf.h>
#include <OpenImageIO/imagebufalgo.h>
#include <cmath>
#include <cstddef>
#include "BLI_listbase_iterator.hh"
#include "BLI_string_utf8.hh"
#include "BKE_idprop.hh"
#include "DNA_ID.h"
#include "IMB_colormanagement.hh"
#include "IMB_filetype.hh"
#include "IMB_metadata.hh"
#include "CLG_log.h"

Go to the source code of this file.

Classes

struct  blender::imbuf::MemoryBufferWriter
class  blender::unique_ptr

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::imbuf

Functions

template<typename T>
static void blender::imbuf::fill_all_channels (T *pixels, int width, int height, int components, T alpha)
template<typename T>
static ImBuf * blender::imbuf::load_pixels (ImageInput *in, int width, int height, int channels, ImBufFlags flags, bool use_all_planes)
static void blender::imbuf::set_file_colorspace (ImFileColorSpace &r_colorspace, const ReadContext &ctx, const ImageSpec &spec, bool is_float)
static ImBuf * blender::imbuf::get_oiio_ibuf (ImageInput *in, const ReadContext &ctx, ImFileColorSpace &r_colorspace)
static unique_ptr< ImageInput > blender::imbuf::get_oiio_reader (const char *format, const ImageSpec &config, Filesystem::IOMemReader &mem_reader, ImageSpec &r_newspec)
bool blender::imbuf::imb_oiio_check (const uchar *mem, size_t mem_size, const char *file_format)
ImBuf * blender::imbuf::imb_oiio_read (const ReadContext &ctx, const ImageSpec &config, ImFileColorSpace &r_colorspace, ImageSpec &r_newspec)
static void blender::imbuf::oiio_write_prepare (const ImageSpec &file_spec, ImageBuf &orig_buf, ImageBuf &final_buf)
bool blender::imbuf::imb_oiio_write (const WriteContext &ctx, const char *filepath, const ImageSpec &file_spec)
Vector< uint8_t > blender::imbuf::imb_oiio_write_buffer (const WriteContext &ctx, const ImageSpec &file_spec)
WriteContext blender::imbuf::imb_create_write_context (const char *file_format, const ImBuf *ibuf, ImBufFlags flags, bool prefer_float)
ImageSpec blender::imbuf::imb_create_write_spec (const WriteContext &ctx, int file_channels, TypeDesc data_format)

Variables

static CLG_LogRef blender::LOG_READ = {"image.read"}
static CLG_LogRef blender::LOG_WRITE = {"image.write"}