Blender V4.3
sequencer_thumbnails.cc File Reference
#include "BKE_context.hh"
#include "BLI_array.hh"
#include "IMB_imbuf.hh"
#include "DNA_sequence_types.h"
#include "DNA_space_types.h"
#include "GPU_batch_presets.hh"
#include "GPU_matrix.hh"
#include "GPU_shader_shared.hh"
#include "GPU_texture.hh"
#include "IMB_colormanagement.hh"
#include "SEQ_render.hh"
#include "SEQ_sequencer.hh"
#include "SEQ_thumbnail_cache.hh"
#include "WM_api.hh"
#include "sequencer_intern.hh"
#include "sequencer_strips_batch.hh"

Go to the source code of this file.

Classes

struct  SeqThumbInfo
 
struct  ThumbsDrawBatch
 

Functions

static float thumb_calc_first_timeline_frame (const Sequence *seq, float left_handle, float frame_step, const rctf *view_area)
 
static float thumb_calc_next_timeline_frame (const Sequence *seq, float left_handle, float last_frame, float frame_step)
 
static void seq_get_thumb_image_dimensions (const Sequence *seq, float pixelx, float pixely, float *r_thumb_width, float thumb_height, float *r_image_width, float *r_image_height)
 
static void get_seq_strip_thumbnails (const View2D *v2d, const bContext *C, Scene *scene, const StripDrawContext &strip, float pixelx, float pixely, bool is_muted, Vector< SeqThumbInfo > &r_thumbs)
 
void draw_strip_thumbnails (TimelineDrawContext *ctx, ed::seq::StripsDrawBatch &strips_batch, const Vector< StripDrawContext > &strips)
 

Function Documentation

◆ draw_strip_thumbnails()

void draw_strip_thumbnails ( TimelineDrawContext * ctx,
ed::seq::StripsDrawBatch & strips_batch,
const Vector< StripDrawContext > & strips )

◆ get_seq_strip_thumbnails()

◆ seq_get_thumb_image_dimensions()

static void seq_get_thumb_image_dimensions ( const Sequence * seq,
float pixelx,
float pixely,
float * r_thumb_width,
float thumb_height,
float * r_image_width,
float * r_image_height )
static

◆ thumb_calc_first_timeline_frame()

static float thumb_calc_first_timeline_frame ( const Sequence * seq,
float left_handle,
float frame_step,
const rctf * view_area )
static

Definition at line 50 of file sequencer_thumbnails.cc.

References int, max_iii(), Sequence::start, and rctf::xmin.

Referenced by get_seq_strip_thumbnails().

◆ thumb_calc_next_timeline_frame()

static float thumb_calc_next_timeline_frame ( const Sequence * seq,
float left_handle,
float last_frame,
float frame_step )
static

Definition at line 66 of file sequencer_thumbnails.cc.

References int, and Sequence::start.

Referenced by get_seq_strip_thumbnails().