Blender V5.3
stereoimbuf.cc File Reference
#include <algorithm>
#include <cstddef>
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_utildefines.hh"
#include "DNA_scene_types.h"

Go to the source code of this file.

Classes

struct  blender::Stereo3DData

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Preparing To Call The Write Functions
static void blender::imb_stereo3d_write_doit (Stereo3DData *s3d_data, const Stereo3dFormat *s3d)
static void blender::imb_stereo3d_data_init (Stereo3DData *s3d_data, const bool is_float, const size_t x, const size_t y, const size_t channels, int *rect_left, int *rect_right, int *rect_stereo, float *rectf_left, float *rectf_right, float *rectf_stereo)
ImBuf * blender::IMB_stereo3d_ImBuf (const ImageFormatData *im_format, ImBuf *ibuf_left, ImBuf *ibuf_right)
Preparing To Call The Read Functions
static void blender::imb_stereo3d_read_doit (Stereo3DData *s3d_data, const Stereo3dFormat *s3d)
void blender::IMB_ImBufFromStereo3d (const Stereo3dFormat *s3d, ImBuf *ibuf_stereo3d, ImBuf **r_ibuf_left, ImBuf **r_ibuf_right)
Local Functions
static void blender::imb_stereo3d_write_anaglyph (const Stereo3DData *s3d, enum eStereo3dAnaglyphType mode)
static void blender::imb_stereo3d_write_interlace (const Stereo3DData *s3d, enum eStereo3dInterlaceType mode, const bool swap)
static void blender::imb_stereo3d_write_sidebyside (const Stereo3DData *s3d, const bool crosseyed)
static void blender::imb_stereo3d_write_topbottom (const Stereo3DData *s3d)
Dimension Utils
void blender::IMB_stereo3d_write_dimensions (char mode, bool is_squeezed, size_t width, size_t height, size_t *r_width, size_t *r_height)
void blender::IMB_stereo3d_read_dimensions (char mode, bool is_squeezed, size_t width, size_t height, size_t *r_width, size_t *r_height)
Un/Squeeze Frame
static void blender::imb_stereo3d_squeeze_ImBuf (ImBuf *ibuf, const Stereo3dFormat *s3d, const size_t x, const size_t y)
static void blender::imb_stereo3d_unsqueeze_ImBuf (ImBuf *ibuf, const Stereo3dFormat *s3d, const size_t x, const size_t y)
Reading Stereo ImBuf's
static void blender::imb_stereo3d_read_anaglyph (const Stereo3DData *s3d, enum eStereo3dAnaglyphType mode)
static void blender::imb_stereo3d_read_interlace (const Stereo3DData *s3d, enum eStereo3dInterlaceType mode, const bool swap)
static void blender::imb_stereo3d_read_sidebyside (const Stereo3DData *s3d, const bool crosseyed)
static void blender::imb_stereo3d_read_topbottom (const Stereo3DData *s3d)