|
Blender V5.3
|
#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/types_float4.h"Go to the source code of this file.
Functions | |
| static void | load_float_pixels (const blender::ImBuf *ibuf, const ImageMetaData &metadata, float *out_pixels) |
| static void | load_half_pixels (const blender::ImBuf *ibuf, const ImageMetaData &metadata, half *out_pixels) |
| static void | load_byte_pixels (const blender::ImBuf *ibuf, const ImageMetaData &metadata, uchar *out_pixels) |
|
static |
Definition at line 169 of file blender/image.cpp.
References blender::ImBuf::byte_data(), ImageMetaData::channels, ImageMetaData::height, load_byte_pixels(), make_uchar4(), and ImageMetaData::width.
Referenced by load_byte_pixels(), and BlenderImageLoader::load_pixels().
|
static |
Definition at line 96 of file blender/image.cpp.
References blender::ImBuf::channels, ImageMetaData::channels, blender::ImBuf::float_data(), ImageMetaData::height, load_float_pixels(), make_float4, and ImageMetaData::width.
Referenced by load_float_pixels(), and BlenderImageLoader::load_pixels().
|
static |
Definition at line 135 of file blender/image.cpp.
References blender::ImBuf::byte_data(), ImageMetaData::channels, float4_to_half4_display(), float_to_half_image(), ImageMetaData::height, load_half_pixels(), make_float4, util_image_cast_to_float(), and ImageMetaData::width.
Referenced by load_half_pixels(), and BlenderImageLoader::load_pixels().