Blender V5.3
scaling.cc File Reference
#include "BLI_math_interp.hh"
#include "BLI_math_vector.hh"
#include "BLI_task.hh"
#include "BLI_utildefines.hh"
#include "MEM_guardedalloc.h"
#include "IMB_filter.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "IMB_metadata.hh"
#include "BLI_sys_types.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static float4 blender::load_pixel (const uchar4 *ptr)
static float4 blender::load_pixel (const float *ptr)
static float4 blender::load_pixel (const float2 *ptr)
static float4 blender::load_pixel (const float3 *ptr)
static float4 blender::load_pixel (const float4 *ptr)
static void blender::store_pixel (float4 pix, uchar4 *ptr)
static void blender::store_pixel (float4 pix, float *ptr)
static void blender::store_pixel (float4 pix, float2 *ptr)
static void blender::store_pixel (float4 pix, float3 *ptr)
static void blender::store_pixel (float4 pix, float4 *ptr)
template<typename BufferT, typename Fn>
static void blender::to_static_pixel_type (const BufferT *src_buffer, const int channels, BufferT *dst_buffer, const Fn &fn)
template<typename BufferT>
static void blender::scale_down_x_func (const BufferT *src_buffer, const int2 src_size, const int src_stride, const int channels, BufferT *dst_buffer, const int2 dst_size, bool threaded)
template<typename BufferT>
static void blender::scale_down_y_func (const BufferT *src_buffer, const int2 src_size, const int channels, BufferT *dst_buffer, const int2 dst_size, bool threaded)
template<typename BufferT>
static void blender::scale_up_x_func (const BufferT *src_buffer, const int2 src_size, const int src_stride, const int channels, BufferT *dst_buffer, const int2 dst_size, bool threaded)
template<typename BufferT>
static void blender::scale_up_y_func (const BufferT *src_buffer, const int2 src_size, const int channels, BufferT *dst_buffer, const int2 dst_size, bool threaded)
template<typename BufferT>
static void blender::imb_scale_box (const BufferT *src_buffer, const int2 src_size, const int channels, BufferT *dst_buffer, const int2 dst_size, const bool threaded, const int src_stride=0)
void blender::IMB_scale_box (const float *src_buffer, int2 src_size, int channels, float *dst_buffer, int2 dst_size, bool threaded, int src_stride=0)
void blender::IMB_scale_box (const uchar *src_buffer, int2 src_size, int channels, uchar *dst_buffer, int2 dst_size, bool threaded, int src_stride=0)
template<typename T>
static void blender::scale_nearest (const T *src, T *dst, const int2 src_size, const int2 dst_size, IndexRange y_range)
template<typename BufferT>
static void blender::scale_nearest_func (const BufferT *src_buffer, const int2 src_size, const int channels, BufferT *dst_buffer, const int2 dst_size, bool threaded)
template<typename BufferT>
static void blender::scale_bilinear (const BufferT *src_buffer, const int2 src_size, const int channels, BufferT *dst_buffer, const int2 dst_size, bool threaded)
bool blender::IMB_scale (ImBuf *ibuf, int2 new_size, IMBScaleFilter filter, bool threaded=true)
ImBuf * blender::IMB_scale_into_new (const ImBuf *ibuf, int2 new_size, IMBScaleFilter filter, bool threaded=true)