Blender V5.0
openimageio_support.cc File Reference
#include "openimageio_support.hh"
#include <OpenImageIO/imagebuf.h>
#include <OpenImageIO/imagebufalgo.h>
#include <algorithm>
#include "BLI_listbase.h"
#include "BLI_string_utf8.h"
#include "BKE_idprop.hh"
#include "DNA_ID.h"
#include "IMB_allocimbuf.hh"
#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

class  blender::imbuf::ImBufMemWriter
class  unique_ptr

Namespaces

namespace  blender
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 ImBufblender::imbuf::load_pixels (ImageInput *in, int width, int height, int channels, int 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 ImBufblender::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)
ImBufblender::imbuf::imb_oiio_read (const ReadContext &ctx, const ImageSpec &config, ImFileColorSpace &r_colorspace, ImageSpec &r_newspec)
bool blender::imbuf::imb_oiio_write (const WriteContext &ctx, const char *filepath, const ImageSpec &file_spec)
WriteContext blender::imbuf::imb_create_write_context (const char *file_format, ImBuf *ibuf, int flags, bool prefer_float)
ImageSpec blender::imbuf::imb_create_write_spec (const WriteContext &ctx, int file_channels, TypeDesc data_format)

Variables

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

Variable Documentation

◆ LOG_READ

CLG_LogRef LOG_READ = {"image.read"}
static

Definition at line 25 of file openimageio_support.cc.

Referenced by blender::imbuf::load_pixels().

◆ LOG_WRITE

CLG_LogRef LOG_WRITE = {"image.write"}
static

Definition at line 26 of file openimageio_support.cc.

Referenced by blender::imbuf::imb_oiio_write().