Blender V4.5
blender::ed::vse::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::vse::ScopeHistogram::calc_from_ibuf ( const ImBuf * ibuf)

◆ is_float_hist()

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

Definition at line 30 of file sequencer_scopes.hh.

References BINS_FLOAT, and data.

Referenced by blender::ed::vse::draw_histogram().

Member Data Documentation

◆ BINS_BYTE

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

Definition at line 21 of file sequencer_scopes.hh.

Referenced by calc_from_ibuf().

◆ BINS_FLOAT

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

◆ data

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

◆ FLOAT_VAL_MAX

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

◆ FLOAT_VAL_MIN

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

◆ max_value

uint3 blender::ed::vse::ScopeHistogram::max_value

Definition at line 27 of file sequencer_scopes.hh.

Referenced by blender::ed::vse::draw_histogram().


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