Blender V5.3
movie_reader_cache.cc File Reference
#include "movie_reader_cache.hh"
#include <atomic>
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include "DNA_scene_types.h"
#include "DNA_sequence_types.h"
#include "BLI_mutex.hh"
#include "BLI_path_utils.hh"
#include "BLI_vector.hh"
#include "BKE_main.hh"
#include "MEM_guardedalloc.h"
#include "SEQ_sequencer.hh"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf.hh"
#include "MOV_read.hh"
#include "multiview.hh"
#include "proxy.hh"

Go to the source code of this file.

Classes

struct  blender::seq::MovieReaderKey
struct  blender::seq::MovieReaderCacheEntry
struct  blender::seq::MovieReaderCache

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::seq

Functions

static uint64_t blender::seq::current_owner_get ()
static void blender::seq::movie_reader_source_filepath_get (const Scene &scene, const Strip &strip, char r_filepath[FILE_MAX])
static MovieReaderKey blender::seq::movie_reader_key_get (const Scene &scene, const Strip &strip, const std::optional< int > view_id)
MovieReaderAccessor blender::seq::movie_reader_cache_acquire (Scene &cache_scene, const Scene &key_scene, const Strip &strip, const int frame_index)
MovieReaderAccessor blender::seq::movie_reader_cache_acquire_view (Scene &cache_scene, const Scene &key_scene, const Strip &strip, const int view_id, const int frame_index)
static MovieReaderAccessor blender::seq::movie_reader_cache_acquire_any_base (const Scene &scene, const Strip &strip)
static MovieReaderAccessor blender::seq::movie_reader_cache_acquire_any_view (const Scene &scene, const Strip &strip, const int view_id)
MovieReaderAccessor blender::seq::movie_reader_cache_acquire_any (const Scene &scene, const Strip &strip)
bool blender::seq::movie_reader_cache_can_produce_frames (const Scene &scene, const Strip &strip)
MovieReaderCache * blender::seq::movie_reader_cache_create ()
void blender::seq::movie_reader_cache_destroy (MovieReaderCache *cache)
void blender::seq::movie_reader_cache_timestamp_bump ()
void blender::seq::movie_reader_cache_invalidate (Scene &scene, const Strip &strip)
void blender::seq::movie_reader_cache_clear (Scene &scene)

Variables

static std::atomic< uint64_t > blender::seq::next_timestamp = 0
static uint64_t blender::seq::current_timestamp = 0
static std::atomic< int > blender::seq::next_owner = 0
static int blender::seq::current_owner = 0