Blender  V3.3
Classes | Typedefs | Functions
proxy.c File Reference
#include "MEM_guardedalloc.h"
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "DNA_sequence_types.h"
#include "DNA_space_types.h"
#include "BLI_fileops.h"
#include "BLI_listbase.h"
#include "BLI_path_util.h"
#include "BLI_session_uuid.h"
#include "BLI_string.h"
#include <unistd.h>
#include "BKE_global.h"
#include "BKE_image.h"
#include "BKE_main.h"
#include "BKE_scene.h"
#include "DEG_depsgraph.h"
#include "IMB_colormanagement.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
#include "IMB_metadata.h"
#include "SEQ_iterator.h"
#include "SEQ_proxy.h"
#include "SEQ_relations.h"
#include "SEQ_render.h"
#include "SEQ_sequencer.h"
#include "SEQ_time.h"
#include "multiview.h"
#include "proxy.h"
#include "render.h"
#include "sequencer.h"
#include "strip_time.h"
#include "utils.h"

Go to the source code of this file.

Classes

struct  SeqIndexBuildContext
 

Typedefs

typedef struct SeqIndexBuildContext SeqIndexBuildContext
 

Functions

int SEQ_rendersize_to_proxysize (int render_size)
 
double SEQ_rendersize_to_scale_factor (int render_size)
 
bool seq_proxy_get_custom_file_fname (Sequence *seq, char *name, const int view_id)
 
static bool seq_proxy_get_fname (Scene *scene, Sequence *seq, int timeline_frame, eSpaceSeq_Proxy_RenderSize render_size, char *name, const int view_id)
 
bool SEQ_can_use_proxy (const struct SeqRenderData *context, Sequence *seq, int psize)
 
ImBufseq_proxy_fetch (const SeqRenderData *context, Sequence *seq, int timeline_frame)
 
static void seq_proxy_build_frame (const SeqRenderData *context, SeqRenderState *state, Sequence *seq, int timeline_frame, int proxy_render_size, const bool overwrite)
 
static bool seq_proxy_multiview_context_invalid (Sequence *seq, Scene *scene, const int view_id)
 
static int seq_proxy_context_count (Sequence *seq, Scene *scene)
 
static bool seq_proxy_need_rebuild (Sequence *seq, struct anim *anim)
 
bool SEQ_proxy_rebuild_context (Main *bmain, Depsgraph *depsgraph, Scene *scene, Sequence *seq, struct GSet *file_list, ListBase *queue, bool build_only_on_bad_performance)
 
void SEQ_proxy_rebuild (SeqIndexBuildContext *context, short *stop, short *do_update, float *progress)
 
void SEQ_proxy_rebuild_finish (SeqIndexBuildContext *context, bool stop)
 
void SEQ_proxy_set (struct Sequence *seq, bool value)
 
void seq_proxy_index_dir_set (struct anim *anim, const char *base_dir)
 
void free_proxy_seq (Sequence *seq)
 

Typedef Documentation

◆ SeqIndexBuildContext

Function Documentation

◆ free_proxy_seq()

void free_proxy_seq ( Sequence seq)

Definition at line 595 of file proxy.c.

References StripProxy::anim, IMB_free_anim(), NULL, Strip::proxy, and Sequence::strip.

Referenced by SEQ_add_reload_new_file().

◆ SEQ_can_use_proxy()

bool SEQ_can_use_proxy ( const struct SeqRenderData context,
Sequence seq,
int  psize 
)

◆ seq_proxy_build_frame()

static void seq_proxy_build_frame ( const SeqRenderData context,
SeqRenderState state,
Sequence seq,
int  timeline_frame,
int  proxy_render_size,
const bool  overwrite 
)
static

◆ seq_proxy_context_count()

static int seq_proxy_context_count ( Sequence seq,
Scene scene 
)
static

◆ seq_proxy_fetch()

ImBuf* seq_proxy_fetch ( const SeqRenderData context,
Sequence seq,
int  timeline_frame 
)

◆ seq_proxy_get_custom_file_fname()

bool seq_proxy_get_custom_file_fname ( Sequence seq,
char *  name,
const int  view_id 
)

◆ seq_proxy_get_fname()

static bool seq_proxy_get_fname ( Scene scene,
Sequence seq,
int  timeline_frame,
eSpaceSeq_Proxy_RenderSize  render_size,
char *  name,
const int  view_id 
)
static

◆ seq_proxy_index_dir_set()

void seq_proxy_index_dir_set ( struct anim anim,
const char *  base_dir 
)

◆ seq_proxy_multiview_context_invalid()

static bool seq_proxy_multiview_context_invalid ( Sequence seq,
Scene scene,
const int  view_id 
)
static

◆ seq_proxy_need_rebuild()

static bool seq_proxy_need_rebuild ( Sequence seq,
struct anim anim 
)
static

◆ SEQ_proxy_rebuild()

void SEQ_proxy_rebuild ( SeqIndexBuildContext context,
short *  stop,
short *  do_update,
float progress 
)

◆ SEQ_proxy_rebuild_context()

bool SEQ_proxy_rebuild_context ( Main bmain,
Depsgraph depsgraph,
Scene scene,
Sequence seq,
struct GSet file_list,
ListBase queue,
bool  build_only_on_bad_performance 
)

◆ SEQ_proxy_rebuild_finish()

void SEQ_proxy_rebuild_finish ( SeqIndexBuildContext context,
bool  stop 
)

◆ SEQ_proxy_set()

void SEQ_proxy_set ( struct Sequence seq,
bool  value 
)

◆ SEQ_rendersize_to_proxysize()

int SEQ_rendersize_to_proxysize ( int  render_size)

◆ SEQ_rendersize_to_scale_factor()

double SEQ_rendersize_to_scale_factor ( int  render_size)