Blender V4.3
blender::ed::seq::ScopeHistogram Struct Reference

#include <sequencer_scopes.hh>

Public Member Functions

void calc_from_ibuf (const ImBuf *ibuf)
 
bool is_float_hist () const
 

Public Attributes

Array< uint3data
 
uint3 max_value
 

Static Public Attributes

static constexpr int BINS_BYTE = 256
 
static constexpr int BINS_FLOAT = 512
 
static constexpr float FLOAT_VAL_MIN = -0.25f
 
static constexpr float FLOAT_VAL_MAX = 1.25f
 

Detailed Description

Definition at line 19 of file sequencer_scopes.hh.

Member Function Documentation

◆ calc_from_ibuf()

void blender::ed::seq::ScopeHistogram::calc_from_ibuf ( const ImBuf * ibuf)

◆ is_float_hist()

bool blender::ed::seq::ScopeHistogram::is_float_hist ( ) const
inline

Definition at line 30 of file sequencer_scopes.hh.

References BINS_FLOAT.

Referenced by draw_histogram().

Member Data Documentation

◆ BINS_BYTE

int blender::ed::seq::ScopeHistogram::BINS_BYTE = 256
staticconstexpr

Definition at line 21 of file sequencer_scopes.hh.

◆ BINS_FLOAT

int blender::ed::seq::ScopeHistogram::BINS_FLOAT = 512
staticconstexpr

Definition at line 23 of file sequencer_scopes.hh.

Referenced by is_float_hist().

◆ data

Array<uint3> blender::ed::seq::ScopeHistogram::data

Definition at line 26 of file sequencer_scopes.hh.

Referenced by blender::ed::seq::SeqScopes::cleanup(), and draw_histogram().

◆ FLOAT_VAL_MAX

float blender::ed::seq::ScopeHistogram::FLOAT_VAL_MAX = 1.25f
staticconstexpr

Definition at line 25 of file sequencer_scopes.hh.

◆ FLOAT_VAL_MIN

float blender::ed::seq::ScopeHistogram::FLOAT_VAL_MIN = -0.25f
staticconstexpr

Definition at line 24 of file sequencer_scopes.hh.

◆ max_value

uint3 blender::ed::seq::ScopeHistogram::max_value

Definition at line 27 of file sequencer_scopes.hh.

Referenced by draw_histogram().


The documentation for this struct was generated from the following files: