|
Blender V5.3
|
#include <libocio_view.hh>
Inherits blender::ocio::View.
Public Member Functions | |
| LibOCIOView (const int index, const StringRefNull name, const StringRefNull description, const bool is_hdr, const bool is_data, const bool support_emulation, const Gamut gamut, const TransferFunction transfer_function, const LibOCIOColorSpace *display_colorspace) | |
| StringRefNull | name () const override |
| StringRefNull | description () const override |
| bool | is_hdr () const override |
| bool | support_emulation () const override |
| Gamut | gamut () const override |
| TransferFunction | transfer_function () const override |
| const ColorSpace * | display_colorspace () const override |
| int | max_nits () const override |
| const ScopeInfo & | scope_info () const override |
| void | append_scope_space_transforms (OCIO_NAMESPACE::GroupTransformRcPtr &group, StringRefNull lin_cie_xyz_d65_name) const |
| MEM_CXX_CLASS_ALLOC_FUNCS ("LibOCIOView") | |
| Public Member Functions inherited from blender::ocio::View | |
| virtual | ~View ()=default |
Additional Inherited Members | |
| Public Attributes inherited from blender::ocio::View | |
| int | index = -1 |
Definition at line 20 of file libocio_view.hh.
|
inline |
Definition at line 32 of file libocio_view.hh.
References description(), display_colorspace(), gamut(), blender::ocio::View::index, is_hdr(), name(), support_emulation(), and transfer_function().
| void blender::ocio::LibOCIOView::append_scope_space_transforms | ( | OCIO_NAMESPACE::GroupTransformRcPtr & | group, |
| StringRefNull | lin_cie_xyz_d65_name ) const |
Append transforms to convert from the display's colorspace to normalized space suitable for plotting scopes.
Definition at line 183 of file libocio_scope.cc.
References blender::StringRefNull::c_str(), clamp(), float, blender::ocio::nits_to_scope_value(), blender::ocio::P3D65, blender::ocio::Rec2020, blender::ocio::Rec709, blender::ocio::SCOPE_MAX_LINEAR, blender::ocio::SCOPE_SDR_WHITE_NITS, blender::ocio::SCOPE_SRGB_B, blender::ocio::SCOPE_SRGB_GAMMA, blender::math::transpose(), and blender::ocio::Unknown.
Referenced by blender::ocio::display_as_scope_space().
|
inlineoverridevirtual |
Description of the view from the OpenColorIO config.
Implements blender::ocio::View.
Definition at line 58 of file libocio_view.hh.
Referenced by LibOCIOView().
|
inlineoverridevirtual |
Display colorspace that this view transform transforms into. Not guaranteed to be display referred.
Implements blender::ocio::View.
Definition at line 83 of file libocio_view.hh.
Referenced by blender::ocio::adjust_for_hdr_image_file(), blender::ocio::display_as_extended_srgb(), blender::ocio::display_as_scope_space(), and LibOCIOView().
|
inlineoverridevirtual |
Gamut of the display colorspace.
Implements blender::ocio::View.
Definition at line 73 of file libocio_view.hh.
Referenced by blender::ocio::display_as_extended_srgb(), and LibOCIOView().
|
inlineoverridevirtual |
Does this view transform output HDR colors?
Implements blender::ocio::View.
Definition at line 63 of file libocio_view.hh.
Referenced by LibOCIOView(), and blender::ocio::system_extended_srgb_transfer_function().
|
overridevirtual |
Max luminance of the view transform, or 0 if no maximum found.
Reimplemented from blender::ocio::View.
Definition at line 9 of file libocio_view.cc.
References blender::blender::StringRefBase::endswith(), blender::blender::StringRefBase::find(), and blender::blender::StringRefBase::not_found.
Referenced by scope_info().
| blender::ocio::LibOCIOView::MEM_CXX_CLASS_ALLOC_FUNCS | ( | "LibOCIOView" | ) |
|
inlineoverridevirtual |
Name of this view. The name is used to address to this view from various places of the configuration.
Implements blender::ocio::View.
Definition at line 53 of file libocio_view.hh.
Referenced by LibOCIOView().
|
overridevirtual |
Get scope display info for this view transform.
Implements blender::ocio::View.
Definition at line 88 of file libocio_scope.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::contains(), blender::MatBase< double, 4, 4 >::identity(), blender::math::invert(), blender::ocio::ScopeGraticule::label, lock, max_nits(), blender::ocio::nits_to_scope_value(), blender::ocio::P3D65, blender::ocio::Rec2020, blender::ocio::Rec709, blender::ocio::SCOPE_SDR_IN_HDR_SCOPE, SNPRINTF, blender::ocio::Unknown, and blender::ocio::ScopeGraticule::value.
|
inlineoverridevirtual |
Does this view transform support display emulation?
Implements blender::ocio::View.
Definition at line 68 of file libocio_view.hh.
Referenced by LibOCIOView().
|
inlineoverridevirtual |
Transfer function of the display colorspace.
Implements blender::ocio::View.
Definition at line 78 of file libocio_view.hh.
Referenced by blender::ocio::display_as_extended_srgb(), and LibOCIOView().