|
Blender V5.0
|
#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) |
| uint3 | max_bin = uint3(0) |
Static Public Attributes | |
| static constexpr int | BINS_01 = 256 |
| static constexpr int | BINS_HDR = BINS_01 * 12 |
Definition at line 21 of file sequencer_scopes.hh.
|
inlinestatic |
Definition at line 43 of file sequencer_scopes.hh.
References BINS_01, and float.
Referenced by blender::ed::vse::draw_histogram(), and blender::ed::vse::view_frame_preview_scope().
| void blender::ed::vse::ScopeHistogram::calc_from_ibuf | ( | const ImBuf * | ibuf, |
| const ColorManagedViewSettings & | view_settings, | ||
| const ColorManagedDisplaySettings & | display_settings ) |
Definition at line 71 of file sequencer_scopes.cc.
References b, BINS_01, BINS_HDR, BLI_assert, ImBuf::byte_buffer, ImBufByteBuffer::colorspace, ImBufFloatBuffer::colorspace, data, ImBufByteBuffer::data, ImBufFloatBuffer::data, blender::IndexRange::first(), ImBuf::float_buffer, float_to_bin(), i, IMB_colormanagement_display_processor_for_imbuf(), IMB_colormanagement_processor_free(), IMB_get_pixel_count(), init(), blender::math::max(), max_bin, max_value, blender::threading::parallel_reduce(), blender::ed::vse::pixels_to_display_space(), premul_to_straight_v4_v4(), rgba_float_to_uchar(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), and blender::IndexRange::size().
Referenced by blender::ed::vse::update_cpu_scopes().
|
inlinestatic |
Definition at line 37 of file sequencer_scopes.hh.
References BINS_01, BINS_HDR, and blender::math::clamp().
Referenced by calc_from_ibuf().
|
staticconstexpr |
Definition at line 23 of file sequencer_scopes.hh.
Referenced by bin_to_float(), calc_from_ibuf(), and float_to_bin().
|
staticconstexpr |
Definition at line 25 of file sequencer_scopes.hh.
Referenced by calc_from_ibuf(), and float_to_bin().
Definition at line 27 of file sequencer_scopes.hh.
Referenced by calc_from_ibuf(), blender::ed::vse::draw_histogram(), and blender::ed::vse::view_frame_preview_scope().
Definition at line 31 of file sequencer_scopes.hh.
Referenced by calc_from_ibuf(), blender::ed::vse::draw_histogram(), and blender::ed::vse::view_frame_preview_scope().
Definition at line 29 of file sequencer_scopes.hh.
Referenced by calc_from_ibuf(), and blender::ed::vse::draw_histogram().