Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/util_image.h
| Show All 15 Lines | |||||
| #ifndef __UTIL_IMAGE_H__ | #ifndef __UTIL_IMAGE_H__ | ||||
| #define __UTIL_IMAGE_H__ | #define __UTIL_IMAGE_H__ | ||||
| /* OpenImageIO is used for all image file reading and writing. */ | /* OpenImageIO is used for all image file reading and writing. */ | ||||
| #include <OpenImageIO/imageio.h> | #include <OpenImageIO/imageio.h> | ||||
| #include "util_vector.h" | #include "util/util_vector.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| OIIO_NAMESPACE_USING | OIIO_NAMESPACE_USING | ||||
| template<typename T> | template<typename T> | ||||
| void util_image_resize_pixels(const vector<T>& input_pixels, | void util_image_resize_pixels(const vector<T>& input_pixels, | ||||
| const size_t input_width, | const size_t input_width, | ||||
| const size_t input_height, | const size_t input_height, | ||||
| const size_t input_depth, | const size_t input_depth, | ||||
| const size_t components, | const size_t components, | ||||
| vector<T> *output_pixels, | vector<T> *output_pixels, | ||||
| size_t *output_width, | size_t *output_width, | ||||
| size_t *output_height, | size_t *output_height, | ||||
| size_t *output_depth); | size_t *output_depth); | ||||
| CCL_NAMESPACE_END | CCL_NAMESPACE_END | ||||
| #endif /* __UTIL_IMAGE_H__ */ | #endif /* __UTIL_IMAGE_H__ */ | ||||
| #include "util_image_impl.h" | #include "util/util_image_impl.h" | ||||