|
Blender V5.3
|
#include <image_oiio.h>
Inherits ImageLoader.
Public Member Functions | |
| OIIOImageLoader (const string &filepath) | |
| ~OIIOImageLoader () override | |
| bool | load_metadata (ImageMetaData &metadata, const ImageLoaderParams ¶ms, Progress &progress) override |
| bool | load_pixels (const ImageMetaData &metadata, void *pixels) override |
| bool | load_pixels_tile (const ImageMetaData &metadata, int miplevel, int64_t x, int64_t y, int64_t w, int64_t h, int64_t x_stride, int64_t y_stride, int64_t padding, ExtensionType extension, uint8_t *pixels) override |
| string | name () const override |
| bool | equals (const ImageLoader &other) const override |
| Public Member Functions inherited from ImageLoader | |
| ImageLoader () | |
| virtual | ~ImageLoader ()=default |
| virtual int | get_tile_number () const |
| virtual void | cleanup () |
| virtual bool | is_vdb_loader () const |
Protected Member Functions | |
| const string & | get_filepath () const |
Protected Attributes | |
| string | original_filepath_ |
| string | texture_cache_filepath_ |
| CacheHandle< ImageInput > | texture_cache_file_handle |
| bool | texture_cache_file_handle_failed = false |
Additional Inherited Members | |
| Static Public Member Functions inherited from ImageLoader | |
| static bool | equals (const ImageLoader *a, const ImageLoader *b) |
Definition at line 16 of file image_oiio.h.
| OIIOImageLoader::OIIOImageLoader | ( | const string & | filepath | ) |
Definition at line 27 of file image_oiio.cpp.
References original_filepath_.
Referenced by equals().
|
overridedefault |
References equals(), get_filepath(), ImageLoader::ImageLoader(), load_metadata(), load_pixels(), load_pixels_tile(), name(), w(), x, and y.
|
overridevirtual |
Implements ImageLoader.
Definition at line 457 of file image_oiio.cpp.
References ImageLoader::ImageLoader(), OIIOImageLoader(), and original_filepath_.
Referenced by ~OIIOImageLoader().
|
protected |
Definition at line 452 of file image_oiio.cpp.
References original_filepath_, and texture_cache_filepath_.
Referenced by load_metadata(), load_pixels(), load_pixels_tile(), name(), and ~OIIOImageLoader().
|
overridevirtual |
Implements ImageLoader.
Definition at line 31 of file image_oiio.cpp.
References ImageLoaderParams::alpha_type, ImageLoaderParams::auto_texture_cache, ImageLoaderParams::colorspace, get_filepath(), IMAGE_FORMAT_PLAIN, ImageLoaderParams::load_failure_num, make_tx(), ImageMetaData::oiio_load_metadata(), original_filepath_, path_filename(), resolve_tx(), Progress::set_status(), texture_cache_filepath_, ImageLoaderParams::texture_cache_path, ImageLoaderParams::tx_failure_num, and ImageLoaderParams::use_texture_cache.
Referenced by ~OIIOImageLoader().
|
overridevirtual |
Implements ImageLoader.
Definition at line 79 of file image_oiio.cpp.
References ImageMetaData::conform_pixels(), get_filepath(), and ImageMetaData::oiio_load_pixels().
Referenced by ~OIIOImageLoader().
|
overridevirtual |
Reimplemented from ImageLoader.
Definition at line 356 of file image_oiio.cpp.
References CacheHandle< T >::acquire(), assert, cache_limiter_image_input(), CacheHandleGuard< T >::get(), get_filepath(), ImageMetaData::height, in, oiio_load_pixels_tile(), oiio_load_pixels_tile_adjacent(), texture_cache_file_handle, texture_cache_file_handle_failed, ImageMetaData::tile_size, w(), ImageMetaData::width, x, and y.
Referenced by ~OIIOImageLoader().
|
overridevirtual |
Implements ImageLoader.
Definition at line 447 of file image_oiio.cpp.
References get_filepath(), and path_filename().
Referenced by ~OIIOImageLoader().
|
protected |
Definition at line 46 of file image_oiio.h.
Referenced by equals(), get_filepath(), load_metadata(), and OIIOImageLoader().
|
protected |
Definition at line 48 of file image_oiio.h.
Referenced by load_pixels_tile().
|
protected |
Definition at line 49 of file image_oiio.h.
Referenced by load_pixels_tile().
|
protected |
Definition at line 47 of file image_oiio.h.
Referenced by get_filepath(), and load_metadata().