|
Blender V5.0
|
#include "BLI_task.hh"#include "BLI_utildefines.h"#include "MEM_guardedalloc.h"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"Go to the source code of this file.
Functions | |
| template<typename T> | |
| static void | rotate_pixels (const int degrees, const int size_x, const int size_y, const T *src_pixels, T *dst_pixels, const int channels) |
| bool | IMB_rotate_orthogonal (ImBuf *ibuf, int degrees) |
| void | IMB_flipy (ImBuf *ibuf) |
| void | IMB_flipx (ImBuf *ibuf) |
| void IMB_flipx | ( | ImBuf * | ibuf | ) |
Definition at line 151 of file imbuf/intern/rotate.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::float_buffer, ImBuf::x, x, ImBuf::y, and y.
Referenced by blender::seq::input_preprocess().
| void IMB_flipy | ( | ImBuf * | ibuf | ) |
Definition at line 92 of file imbuf/intern/rotate.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::data, ImBufFloatBuffer::data, float, ImBuf::float_buffer, MEM_freeN(), MEM_malloc_arrayN(), top, ImBuf::x, and ImBuf::y.
Referenced by imb_load_dpx_cineon(), imb_load_filepath_thumbnail_openexr(), imb_load_filepath_thumbnail_svg(), blender::seq::input_preprocess(), and UI_svg_icon_bitmap().
| bool IMB_rotate_orthogonal | ( | ImBuf * | ibuf, |
| int | degrees ) |
Definition at line 59 of file imbuf/intern/rotate.cc.
References ImBuf::byte_buffer, ImBuf::channels, ImBufByteBuffer::data, ImBufFloatBuffer::data, degrees(), ELEM, ImBuf::float_buffer, IB_TAKE_OWNERSHIP, IMB_assign_byte_buffer(), IMB_assign_float_buffer(), IMB_byte_from_float(), MEM_malloc_arrayN(), rotate_pixels(), ImBuf::x, and ImBuf::y.
Referenced by image_rotate_orthogonal_exec().
|
static |
Definition at line 19 of file imbuf/intern/rotate.cc.
References degrees(), IndexRange::first(), blender::threading::parallel_for(), T, x, and y.
Referenced by IMB_rotate_orthogonal().