Blender V5.3
transform.cc File Reference
#include <type_traits>
#include "BLI_math_color_c.hh"
#include "BLI_math_interp.hh"
#include "BLI_math_matrix.hh"
#include "BLI_math_matrix_types.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rect.hh"
#include "BLI_task.hh"
#include "IMB_imbuf.hh"
#include "IMB_interp.hh"

Go to the source code of this file.

Classes

struct  blender::imbuf::transform::TransformContext

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::imbuf
namespace  blender::imbuf::transform

Functions

static bool blender::imbuf::transform::should_discard (const TransformContext &ctx, const float2 &uv)
template<typename T>
static T * blender::imbuf::transform::init_pixel_pointer (ImBuf *image, int x, int y)
template<>
uchar * blender::imbuf::transform::init_pixel_pointer (ImBuf *image, int x, int y)
template<>
float * blender::imbuf::transform::init_pixel_pointer (ImBuf *image, int x, int y)
static float blender::imbuf::transform::wrap_uv (float value, int size)
template<eIMBInterpolationFilterMode Filter, typename T, int NumChannels, bool WrapUV>
static void blender::imbuf::transform::sample_image (const ImBuf *source, float u, float v, T *r_sample)
static void blender::imbuf::transform::add_subsample (const float src[4], float dst[4])
static void blender::imbuf::transform::add_subsample (const uchar src[4], float dst[4])
static void blender::imbuf::transform::store_premul_float_sample (const float sample[4], float dst[4])
static void blender::imbuf::transform::store_premul_float_sample (const float sample[4], uchar dst[4])
template<int SrcChannels>
static void blender::imbuf::transform::store_sample (const uchar *sample, uchar *dst)
template<int SrcChannels>
static void blender::imbuf::transform::store_sample (const float *sample, float *dst)
template<eIMBInterpolationFilterMode Filter, typename T, int SrcChannels, bool CropSource, bool WrapUV>
static void blender::imbuf::transform::process_scanlines (const TransformContext &ctx, IndexRange y_range)
template<eIMBInterpolationFilterMode Filter, typename T, int SrcChannels>
static void blender::imbuf::transform::transform_scanlines (const TransformContext &ctx, IndexRange y_range)
template<eIMBInterpolationFilterMode Filter>
static void blender::imbuf::transform::transform_scanlines_filter (const TransformContext &ctx, IndexRange y_range)
static float blender::imbuf::transform::calc_coverage (float2 pos, int2 ipos, float2 delta, bool is_steep)
static void blender::imbuf::transform::edge_aa (const TransformContext &ctx)
void blender::IMB_transform (const ImBuf *src, ImBuf *dst, eIMBTransformMode mode, eIMBInterpolationFilterMode filter, const float3x3 &transform_matrix, const rctf *src_crop)
 Transform source image buffer onto destination image buffer using a transform matrix.