|
Blender V4.3
|
#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) |
| void draw_strip_thumbnails | ( | TimelineDrawContext * | ctx, |
| ed::seq::StripsDrawBatch & | strips_batch, | ||
| const Vector< StripDrawContext > & | strips ) |
Definition at line 281 of file sequencer_thumbnails.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), batch, TimelineDrawContext::C, blender::math::ceil(), SeqThumbInfo::cropx_max, SeqThumbInfo::cropx_min, blender::Array< T, InlineBufferCapacity, Allocator >::data(), SequencerTimelineOverlay::flag, SpaceSeq::flag, get_seq_strip_thumbnails(), GPU_DATA_UBYTE, GPU_matrix_pop_projection(), GPU_matrix_push_projection(), GPU_RGBA8, GPU_SAMPLER_EXTEND_MODE_CLAMP_TO_BORDER, GPU_texture_create_2d(), GPU_texture_extend_mode(), GPU_texture_filter_mode(), GPU_texture_free(), GPU_texture_unbind(), GPU_texture_update(), GPU_TEXTURE_USAGE_SHADER_READ, SeqThumbInfo::ibuf, IMB_colormanagement_display_settings_from_ctx(), IMB_display_buffer_acquire(), IMB_display_buffer_release(), IMB_freeImBuf(), int, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::math::max(), TimelineDrawContext::pixelx, TimelineDrawContext::pixely, TimelineDrawContext::region, blender::Vector< T, InlineBufferCapacity, Allocator >::reserve(), TimelineDrawContext::scene, SEQ_SHOW_OVERLAY, SEQ_TIMELINE_SHOW_THUMBNAILS, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), TimelineDrawContext::sseq, SpaceSeq::timeline_overlay, TimelineDrawContext::v2d, wmOrtho2_region_pixelspace(), ImBuf::x, rcti::xmin, ImBuf::y, and rcti::ymin.
Referenced by draw_seq_strips().
|
static |
Definition at line 113 of file sequencer_thumbnails.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), SeqThumbInfo::bottom, StripDrawContext::bottom, clamp_f(), StripDrawContext::content_end, SeqThumbInfo::cropx_max, SeqThumbInfo::cropx_min, View2D::cur, SeqThumbInfo::ibuf, image_height, image_width, SeqThumbInfo::is_muted, SeqThumbInfo::left_handle, StripDrawContext::left_handle, min_ff(), SeqThumbInfo::right_handle, StripDrawContext::right_handle, StripDrawContext::seq, seq_get_thumb_image_dimensions(), SEQ_TYPE_IMAGE, blender::seq::strip_can_have_thumbnail(), StripDrawContext::strip_content_top, thumb_calc_first_timeline_frame(), thumb_calc_next_timeline_frame(), blender::seq::thumbnail_cache_get(), SeqThumbInfo::top, StripDrawContext::top, Sequence::type, UI_SCALE_FAC, ImBuf::x, SeqThumbInfo::x1, SeqThumbInfo::x2, rctf::xmax, SeqThumbInfo::y1, and SeqThumbInfo::y2.
Referenced by draw_strip_thumbnails().
|
static |
Definition at line 81 of file sequencer_thumbnails.cc.
References image_height, image_width, StripElem::orig_height, StripElem::orig_width, round_fl_to_int(), blender::seq::SEQ_THUMB_SIZE, Sequence::strip, and Strip::stripdata.
Referenced by get_seq_strip_thumbnails().
|
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().
|
static |
Definition at line 66 of file sequencer_thumbnails.cc.
References int, and Sequence::start.
Referenced by get_seq_strip_thumbnails().