Blender V5.3
proxy.cc File Reference
#include <algorithm>
#include <utility>
#include "MEM_guardedalloc.h"
#include "DNA_scene_types.h"
#include "DNA_sequence_types.h"
#include "BLI_fileops.hh"
#include "BLI_math_base_c.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include <unistd.h>
#include "BKE_global.hh"
#include "BKE_image.hh"
#include "BKE_main.hh"
#include "BKE_scene.hh"
#include "WM_types.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "MOV_read.hh"
#include "SEQ_proxy.hh"
#include "SEQ_render.hh"
#include "SEQ_sequencer.hh"
#include "SEQ_time.hh"
#include "cache/intra_frame_cache.hh"
#include "multiview.hh"
#include "proxy.hh"
#include "render.hh"
#include "sequencer.hh"
#include "utils.hh"

Go to the source code of this file.

Classes

struct  blender::seq::ProxyBuildContext
struct  blender::seq::MultiViewPrefixVars

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::seq

Functions

static MovieReader * blender::seq::movie_reader_open (Strip &strip, const char *filepath, const bool open_file)
static void blender::seq::movie_reader_proxy_dir_set (const Editing &ed, const Strip &strip, MovieReader *reader)
static Vector< MovieReaderPtr > blender::seq::movie_readers_open (Scene &scene, Strip &strip, const bool open_file)
IMB_Proxy_Size blender::seq::rendersize_to_proxysize (eSpaceSeq_Proxy_RenderSize render_size)
float blender::seq::rendersize_to_scale_factor (eSpaceSeq_Proxy_RenderSize render_size)
bool blender::seq::seq_proxy_get_custom_file_filepath (const Strip *strip, char *filepath, const int view_id)
bool blender::seq::seq_proxy_get_custom_dir (const Editing &ed, const Strip &strip, char r_dirpath[FILE_MAX])
static bool blender::seq::seq_proxy_get_filepath_for_elem (const Scene *scene, const Strip &strip, const StripElem &strip_elem, eSpaceSeq_Proxy_RenderSize render_size, char *filepath, const int view_id)
static bool blender::seq::seq_proxy_get_filepath (Scene *scene, Strip *strip, int timeline_frame, eSpaceSeq_Proxy_RenderSize render_size, char *filepath, const int view_id)
bool blender::seq::can_use_proxy (const RenderData *context, const Strip *strip, IMB_Proxy_Size psize)
ImBuf * blender::seq::seq_proxy_fetch (const RenderData *context, Strip *strip, int timeline_frame)
static bool blender::seq::seq_proxy_multiview_context_invalid (Strip *strip, Scene *scene, const int view_id, MultiViewPrefixVars *prefix_vars)
static int blender::seq::seq_proxy_context_count (Strip *strip, Scene *scene)
static bool blender::seq::seq_proxy_need_rebuild (Strip *strip, MovieReader *anim)
bool blender::seq::proxy_build_start (Main *bmain, Scene *scene, Strip *strip, Set< std::string > *processed_paths, bool build_only_on_bad_performance, Vector< ProxyBuildContext * > &r_queue)
static void blender::seq::seq_proxy_build_frame (const Scene *scene, const int view_id, ImBuf *ibuf_full, const Strip &strip, const StripElem &strip_elem, int proxy_render_size, const bool overwrite)
static ImBuf * blender::seq::render_image_strip_frame (const ProxyBuildContext &context, const Strip &strip, const char *filepath, const char *prefix, int view_id)
static void blender::seq::image_proxy_builder_process (ProxyBuildContext &context, const bool *job_stop, bool *job_update_ui, const FunctionRef< void(float progress)> set_progress_fn)
static void blender::seq::close_movie_proxy_builder (ProxyBuildContext *context, bool stop)
void blender::seq::proxy_build_process (ProxyBuildContext *context, const bool *should_stop, bool *has_updated, const FunctionRef< void(float progress)> set_progress_fn)
void blender::seq::proxy_build_finish (ProxyBuildContext *context)
void blender::seq::proxy_set (Strip *strip, bool value)
void blender::seq::seq_proxy_index_dir_set (MovieReader *anim, const char *base_dir)
void blender::seq::free_strip_proxy (Strip *strip)