|
Blender V5.0
|
#include <algorithm>#include "DNA_image_types.h"#include "IMB_imbuf_types.hh"#include "BKE_image.hh"#include "blender/image.h"#include "blender/session.h"#include "util/half.h"#include "util/transform.h"#include "util/types_float4.h"Go to the source code of this file.
Functions | |
| static void | load_float_pixels (const ImBuf *ibuf, const ImageMetaData &metadata, float *out_pixels) |
| static void | load_half_pixels (const ImBuf *ibuf, const ImageMetaData &metadata, half *out_pixels, const bool associate_alpha) |
| static void | load_byte_pixels (const ImBuf *ibuf, const ImageMetaData &metadata, uchar *out_pixels, const bool associate_alpha) |
|
static |
Definition at line 175 of file blender/image.cpp.
References ImBuf::byte_buffer, ImageMetaData::channels, ImBufByteBuffer::data, ImageMetaData::height, i, make_uchar4(), and ImageMetaData::width.
Referenced by BlenderImageLoader::load_pixels().
|
static |
Definition at line 91 of file blender/image.cpp.
References ImageMetaData::channels, ImBuf::channels, ImBufFloatBuffer::data, ImBuf::float_buffer, ImageMetaData::height, i, make_float4, and ImageMetaData::width.
Referenced by BlenderImageLoader::load_pixels().
|
static |
Definition at line 128 of file blender/image.cpp.
References ImBuf::byte_buffer, ImageMetaData::channels, ImBufByteBuffer::data, float4_to_half4_display(), float_to_half_image(), ImageMetaData::height, i, make_float4, util_image_cast_to_float(), and ImageMetaData::width.
Referenced by BlenderImageLoader::load_pixels().