Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | ProxyBuildJob |
Typedefs | |
typedef struct ProxyBuildJob | ProxyJob |
Functions | |
bool | SEQ_proxy_rebuild_context (struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, struct Sequence *seq, struct GSet *file_list, struct ListBase *queue, bool build_only_on_bad_performance) |
void | SEQ_proxy_rebuild (struct SeqIndexBuildContext *context, short *stop, short *do_update, float *progress) |
void | SEQ_proxy_rebuild_finish (struct SeqIndexBuildContext *context, bool stop) |
void | SEQ_proxy_set (struct Sequence *seq, bool value) |
bool | SEQ_can_use_proxy (const struct SeqRenderData *context, struct Sequence *seq, int psize) |
int | SEQ_rendersize_to_proxysize (int render_size) |
double | SEQ_rendersize_to_scale_factor (int size) |
struct wmJob * | ED_seq_proxy_wm_job_get (const struct bContext *C) |
ProxyJob * | ED_seq_proxy_job_get (const struct bContext *C, struct wmJob *wm_job) |
typedef struct ProxyBuildJob ProxyJob |
bool SEQ_can_use_proxy | ( | const struct SeqRenderData * | context, |
struct Sequence * | seq, | ||
int | psize | ||
) |
Definition at line 191 of file proxy.c.
References StripProxy::build_size_flags, blender::compositor::context, Sequence::flag, IMB_PROXY_NONE, NULL, Strip::proxy, SEQ_USE_PROXY, and Sequence::strip.
Referenced by seq_proxy_fetch(), seq_render_movie_strip_view(), and seq_render_strip().
void SEQ_proxy_rebuild | ( | struct SeqIndexBuildContext * | context, |
short * | stop, | ||
short * | do_update, | ||
float * | progress | ||
) |
Definition at line 484 of file proxy.c.
References BKE_render_resolution(), blender::compositor::context, Sequence::flag, float(), G, height, IMB_anim_index_rebuild(), IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, SeqRenderData::is_proxy_render, Strip::proxy, Scene::r, scene, seq_proxy_build_frame(), SEQ_render_new_render_data(), seq_render_state_init(), SEQ_STORAGE_PROXY_CUSTOM_FILE, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_TYPE_MOVIE, SEQ_USE_PROXY, SeqRenderData::skip_cache, state, StripProxy::storage, Sequence::strip, Sequence::type, SeqRenderData::view_id, and width.
Referenced by proxy_startjob(), and sequencer_rebuild_proxy_exec().
bool SEQ_proxy_rebuild_context | ( | struct Main * | bmain, |
struct Depsgraph * | depsgraph, | ||
struct Scene * | scene, | ||
struct Sequence * | seq, | ||
struct GSet * | file_list, | ||
struct ListBase * | queue, | ||
bool | build_only_on_bad_performance | ||
) |
Definition at line 401 of file proxy.c.
References StripAnim::anim, Sequence::anims, BLI_addtail(), BLI_findlink(), BLI_genericNodeN(), StripProxy::build_flags, StripProxy::build_size_flags, StripProxy::build_tc_flags, blender::compositor::context, depsgraph, Sequence::flag, IMB_anim_index_rebuild_context(), MEM_callocN, MEM_freeN, NULL, Strip::proxy, StripProxy::quality, queue, Sequence::runtime, scene, seq_open_anim_file(), seq_proxy_context_count(), seq_proxy_multiview_context_invalid(), seq_proxy_need_rebuild(), SEQ_PROXY_SKIP_EXISTING, SEQ_relations_sequence_free_anim(), SEQ_sequence_dupli_recursive(), SEQ_TYPE_MOVIE, SEQ_USE_PROXY, SequenceRuntime::session_uuid, Sequence::strip, and Sequence::type.
Referenced by seq_build_proxy(), seq_proxy_build_job(), and sequencer_rebuild_proxy_exec().
void SEQ_proxy_rebuild_finish | ( | struct SeqIndexBuildContext * | context, |
bool | stop | ||
) |
Definition at line 554 of file proxy.c.
References StripAnim::anim, blender::compositor::context, IMB_anim_index_rebuild_finish(), IMB_close_anim_proxies(), MEM_freeN, StripAnim::next, NULL, and seq_free_sequence_recurse().
Referenced by proxy_endjob(), and sequencer_rebuild_proxy_exec().
Definition at line 571 of file proxy.c.
References Sequence::flag, NULL, Strip::proxy, seq_strip_proxy_alloc(), SEQ_USE_PROXY, and Sequence::strip.
Referenced by seq_build_proxy(), seq_read_data_cb(), and sequencer_enable_proxies_exec().
int SEQ_rendersize_to_proxysize | ( | int | render_size | ) |
Definition at line 71 of file proxy.c.
References IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, IMB_PROXY_NONE, SEQ_RENDER_SIZE_PROXY_100, SEQ_RENDER_SIZE_PROXY_25, SEQ_RENDER_SIZE_PROXY_50, and SEQ_RENDER_SIZE_PROXY_75.
Referenced by seq_convert_transform_crop(), seq_convert_transform_crop_2(), seq_get_proxy_size_flags(), seq_proxy_fetch(), seq_render_movie_strip_view(), seq_render_movieclip_strip(), and seq_render_strip().
double SEQ_rendersize_to_scale_factor | ( | int | size | ) |
Definition at line 86 of file proxy.c.
References SEQ_RENDER_SIZE_PROXY_25, SEQ_RENDER_SIZE_PROXY_50, and SEQ_RENDER_SIZE_PROXY_75.
Referenced by do_text_effect(), do_transform_effect(), seq_convert_transform_crop(), seq_convert_transform_crop_2(), seq_proxy_get_fname(), sequencer_ibuf_get(), and sequencer_preprocess_transform_crop().