|
Blender V5.3
|
#include <sequencer_scopes.hh>
Public Member Functions | |
| void | calc_from_ibuf (const ImBuf *ibuf, const ColorManagedViewSettings &view_settings, const ColorManagedDisplaySettings &display_settings) |
Static Public Member Functions | |
| static int | float_to_bin (float f) |
| static float | bin_to_float (int bin) |
Public Attributes | |
| Array< uint3 > | data |
| uint3 | max_value = uint3(0) |
Static Public Attributes | |
| static constexpr int | NUM_BINS = 256 |
Definition at line 24 of file sequencer_scopes.hh.
|
inlinestatic |
Definition at line 42 of file sequencer_scopes.hh.
References float, and NUM_BINS.
Referenced by blender::ed::vse::draw_histogram().
| void blender::ed::vse::ScopeHistogram::calc_from_ibuf | ( | const ImBuf * | ibuf, |
| const ColorManagedViewSettings & | view_settings, | ||
| const ColorManagedDisplaySettings & | display_settings ) |
Definition at line 60 of file sequencer_scopes.cc.
References b, blender::BLI_assert(), blender::ImBuf::byte_data(), data, blender::ColormanageProcessor::display_processor_for_imbuf(), blender::DISPLAY_SPACE_SCOPE, blender::IndexRange::first(), blender::ImBuf::float_data(), float_to_bin(), blender::IMB_get_pixel_count(), blender::IndexRange::IndexRange(), blender::bke::subdiv::init(), blender::math::max(), max_value, NUM_BINS, blender::threading::parallel_reduce(), blender::ed::vse::pixels_to_scope_space(), blender::premul_to_straight_v4_v4(), blender::rgba_uchar_to_float(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), and blender::IndexRange::size().
Referenced by blender::ed::vse::update_cpu_scopes().
|
inlinestatic |
Definition at line 36 of file sequencer_scopes.hh.
References blender::math::clamp(), and NUM_BINS.
Referenced by calc_from_ibuf().
Definition at line 28 of file sequencer_scopes.hh.
Referenced by calc_from_ibuf(), blender::ed::vse::SeqScopes::cleanup(), and blender::ed::vse::draw_histogram().
Definition at line 30 of file sequencer_scopes.hh.
Referenced by calc_from_ibuf(), and blender::ed::vse::draw_histogram().
|
staticconstexpr |
Definition at line 26 of file sequencer_scopes.hh.
Referenced by bin_to_float(), calc_from_ibuf(), blender::ed::vse::draw_histogram(), and float_to_bin().