Blender  V3.3
Classes | Functions
blender::imbuf::transform Namespace Reference

Classes

struct  TransformUserData
 
class  BaseDiscard
 Base class for source discarding. More...
 
class  CropSource
 Crop uv-coordinates that are outside the user data src_crop rect. More...
 
class  NoDiscard
 Discard that does not discard anything. More...
 
class  PixelPointer
 Pointer to a pixel to write to in serial. More...
 
class  BaseUVWrapping
 Wrapping mode for the uv coordinates. More...
 
class  PassThroughUV
 UVWrapping method that does not modify the UV coordinates. More...
 
class  WrapRepeatUV
 UVWrapping method that wrap repeats the UV coordinates. More...
 
class  Sampler
 Read a sample from an image buffer. More...
 
class  ChannelConverter
 Change the number of channels and store it. More...
 
class  ScanlineProcessor
 Processor for a scanline. More...
 

Functions

template<typename Processor >
void transform_scanline_function (void *custom_data, int scanline)
 callback function for threaded transformation. More...
 
template<eIMBInterpolationFilterMode Filter, typename StorageType , int SourceNumChannels, int DestinationNumChannels>
ScanlineThreadFunc get_scanline_function (const eIMBTransformMode mode)
 
template<eIMBInterpolationFilterMode Filter>
ScanlineThreadFunc get_scanline_function (const TransformUserData *user_data, const eIMBTransformMode mode)
 
template<eIMBInterpolationFilterMode Filter>
static void transform_threaded (TransformUserData *user_data, const eIMBTransformMode mode)
 

Function Documentation

◆ get_scanline_function() [1/2]

template<eIMBInterpolationFilterMode Filter, typename StorageType , int SourceNumChannels, int DestinationNumChannels>
ScanlineThreadFunc blender::imbuf::transform::get_scanline_function ( const eIMBTransformMode  mode)

◆ get_scanline_function() [2/2]

template<eIMBInterpolationFilterMode Filter>
ScanlineThreadFunc blender::imbuf::transform::get_scanline_function ( const TransformUserData user_data,
const eIMBTransformMode  mode 
)

Definition at line 524 of file transform.cc.

References ImBuf::channels, src, and user_data.

◆ transform_scanline_function()

template<typename Processor >
void blender::imbuf::transform::transform_scanline_function ( void custom_data,
int  scanline 
)

callback function for threaded transformation.

Definition at line 487 of file transform.cc.

References user_data.

Referenced by get_scanline_function().

◆ transform_threaded()

template<eIMBInterpolationFilterMode Filter>
static void blender::imbuf::transform::transform_threaded ( TransformUserData user_data,
const eIMBTransformMode  mode 
)
static

Definition at line 546 of file transform.cc.

References IMB_processor_apply_threaded_scanlines(), and user_data.