|
Blender
V2.93
|
#include <OpenImageIO/imageio.h>#include "util/util_half.h"#include "util/util_vector.h"#include "util/util_image_impl.h"Go to the source code of this file.
Functions | |
| template<typename T > | |
| CCL_NAMESPACE_BEGIN OIIO_NAMESPACE_USING void | util_image_resize_pixels (const vector< T > &input_pixels, const size_t input_width, const size_t input_height, const size_t input_depth, const size_t components, vector< T > *output_pixels, size_t *output_width, size_t *output_height, size_t *output_depth) |
| template<typename T > | |
| float | util_image_cast_to_float (T value) |
| template<> | |
| float | util_image_cast_to_float (float value) |
| template<> | |
| float | util_image_cast_to_float (uchar value) |
| template<> | |
| float | util_image_cast_to_float (uint16_t value) |
| template<> | |
| float | util_image_cast_to_float (half value) |
| template<typename T > | |
| T | util_image_cast_from_float (float value) |
| template<> | |
| float | util_image_cast_from_float (float value) |
Definition at line 65 of file util_image.h.
Definition at line 65 of file util_image.h.
Definition at line 45 of file util_image.h.
Definition at line 57 of file util_image.h.
References half_to_float().
Referenced by oiio_load_pixels(), and CCL_NAMESPACE_BEGIN::util_image_downscale_sample().
Definition at line 49 of file util_image.h.
Definition at line 53 of file util_image.h.
| CCL_NAMESPACE_BEGIN OIIO_NAMESPACE_USING void util_image_resize_pixels | ( | const vector< T > & | input_pixels, |
| const size_t | input_width, | ||
| const size_t | input_height, | ||
| const size_t | input_depth, | ||
| const size_t | components, | ||
| vector< T > * | output_pixels, | ||
| size_t * | output_width, | ||
| size_t * | output_height, | ||
| size_t * | output_depth | ||
| ) |