|
Blender V5.0
|
#include <cstdio>#include <cstring>#include <fcntl.h>#include <optional>#include <unistd.h>#include <ctime>#include "MEM_guardedalloc.h"#include "DNA_defaults.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_movieclip_types.h"#include "DNA_node_types.h"#include "DNA_scene_types.h"#include "DNA_space_types.h"#include "BLI_fileops.h"#include "BLI_listbase.h"#include "BLI_math_vector.h"#include "BLI_path_utils.hh"#include "BLI_string.h"#include "BLI_threads.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "BKE_bpath.hh"#include "BKE_colortools.hh"#include "BKE_idtype.hh"#include "BKE_image.hh"#include "BKE_lib_id.hh"#include "BKE_lib_query.hh"#include "BKE_library.hh"#include "BKE_main.hh"#include "BKE_movieclip.h"#include "BKE_node_tree_update.hh"#include "BKE_tracking.h"#include "IMB_colormanagement.hh"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"#include "IMB_moviecache.hh"#include "IMB_openexr.hh"#include "MOV_read.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "DRW_engine.hh"#include "GPU_texture.hh"#include "BLO_read_write.hh"#include "CLG_log.h"Go to the source code of this file.
Classes | |
| struct | MovieClipCache |
| struct | MovieClipImBufCacheKey |
| struct | MovieClipCachePriorityData |
Macros | |
| #define | DNA_DEPRECATED_ALLOW |
Functions | |
| static void | free_buffers (MovieClip *clip) |
| static void | movie_clip_runtime_reset (MovieClip *clip) |
| static void | movie_clip_init_data (ID *id) |
| static void | movie_clip_copy_data (Main *, std::optional< Library * >, ID *id_dst, const ID *id_src, const int flag) |
| static void | movie_clip_free_data (ID *id) |
| static void | movie_clip_foreach_id (ID *id, LibraryForeachIDData *data) |
| static void | movie_clip_foreach_cache (ID *id, IDTypeForeachCacheFunctionCallback function_callback, void *user_data) |
| static void | movie_clip_foreach_path (ID *id, BPathForeachPathData *bpath_data) |
| static void | write_movieTracks (BlendWriter *writer, ListBase *tracks) |
| static void | write_moviePlaneTracks (BlendWriter *writer, ListBase *plane_tracks_base) |
| static void | write_movieReconstruction (BlendWriter *writer, MovieTrackingReconstruction *reconstruction) |
| static void | movieclip_blend_write (BlendWriter *writer, ID *id, const void *id_address) |
| static void | direct_link_movieReconstruction (BlendDataReader *reader, MovieTrackingReconstruction *reconstruction) |
| static void | direct_link_movieTracks (BlendDataReader *reader, ListBase *tracksbase) |
| static void | direct_link_moviePlaneTracks (BlendDataReader *reader, ListBase *plane_tracks_base) |
| static void | movieclip_blend_read_data (BlendDataReader *reader, ID *id) |
| static int | sequence_guess_offset (const char *full_name, int head_len, ushort numlen) |
| static int | rendersize_to_proxy (const MovieClipUser *user, int flag) |
| static int | rendersize_to_number (int render_size) |
| static int | get_timecode (MovieClip *clip, int flag) |
| static void | get_sequence_filepath (const MovieClip *clip, const int framenr, char filepath[FILE_MAX]) |
| static void | get_proxy_filepath (const MovieClip *clip, int proxy_render_size, bool undistorted, int framenr, char filepath[FILE_MAX]) |
| void | BKE_movieclip_convert_multilayer_ibuf (ImBuf *ibuf) |
| static ImBuf * | movieclip_load_sequence_file (MovieClip *clip, const MovieClipUser *user, int framenr, int flag) |
| static void | movieclip_open_anim_file (MovieClip *clip) |
| static ImBuf * | movieclip_load_movie_file (MovieClip *clip, const MovieClipUser *user, int framenr, int flag) |
| static void | movieclip_calc_length (MovieClip *clip) |
| static int | user_frame_to_cache_frame (MovieClip *clip, int framenr) |
| static void | moviecache_keydata (void *userkey, int *framenr, int *proxy, int *render_flags) |
| static uint | moviecache_hashhash (const void *keyv) |
| static bool | moviecache_hashcmp (const void *av, const void *bv) |
| static void * | moviecache_getprioritydata (void *key_v) |
| static int | moviecache_getitempriority (void *last_userkey_v, void *priority_data_v) |
| static void | moviecache_prioritydeleter (void *priority_data_v) |
| static ImBuf * | get_imbuf_cache (MovieClip *clip, const MovieClipUser *user, int flag) |
| static bool | has_imbuf_cache (MovieClip *clip, const MovieClipUser *user, int flag) |
| static bool | put_imbuf_cache (MovieClip *clip, const MovieClipUser *user, ImBuf *ibuf, int flag, bool destructive) |
| static bool | moviecache_check_free_proxy (ImBuf *, void *userkey, void *) |
| static MovieClip * | movieclip_alloc (Main *bmain, const char *name) |
| static void | movieclip_load_get_size (MovieClip *clip) |
| static void | detect_clip_source (Main *bmain, MovieClip *clip) |
| MovieClip * | BKE_movieclip_file_add (Main *bmain, const char *filepath) |
| MovieClip * | BKE_movieclip_file_add_exists_ex (Main *bmain, const char *filepath, bool *r_exists) |
| MovieClip * | BKE_movieclip_file_add_exists (Main *bmain, const char *filepath) |
| static void | real_ibuf_size (const MovieClip *clip, const MovieClipUser *user, const ImBuf *ibuf, int *width, int *height) |
| static ImBuf * | get_undistorted_ibuf (MovieClip *clip, MovieDistortion *distortion, ImBuf *ibuf) |
| static bool | need_undistortion_postprocess (const MovieClipUser *user, int clip_flag) |
| static bool | need_postprocessed_frame (const MovieClipUser *user, int clip_flag, int postprocess_flag) |
| static bool | check_undistortion_cache_flags (const MovieClip *clip) |
| static ImBuf * | get_postprocessed_cached_frame (const MovieClip *clip, const MovieClipUser *user, int flag, int postprocess_flag) |
| static ImBuf * | postprocess_frame (MovieClip *clip, const MovieClipUser *user, ImBuf *ibuf, int flag, int postprocess_flag) |
| static void | put_postprocessed_frame_to_cache (MovieClip *clip, const MovieClipUser *user, ImBuf *ibuf, int flag, int postprocess_flag) |
| static ImBuf * | movieclip_get_postprocessed_ibuf (MovieClip *clip, const MovieClipUser *user, int flag, int postprocess_flag, int cache_flag) |
| ImBuf * | BKE_movieclip_get_ibuf (MovieClip *clip, const MovieClipUser *user) |
| ImBuf * | BKE_movieclip_get_ibuf_flag (MovieClip *clip, const MovieClipUser *user, const int flag, const int cache_flag) |
| ImBuf * | BKE_movieclip_get_postprocessed_ibuf (MovieClip *clip, const MovieClipUser *user, const int postprocess_flag) |
| static ImBuf * | get_stable_cached_frame (MovieClip *clip, const MovieClipUser *user, ImBuf *reference_ibuf, const int framenr, const int postprocess_flag) |
| static ImBuf * | put_stabilized_frame_to_cache (MovieClip *clip, const MovieClipUser *user, ImBuf *ibuf, const int framenr, const int postprocess_flag) |
| ImBuf * | BKE_movieclip_get_stable_ibuf (MovieClip *clip, const MovieClipUser *user, const int postprocess_flag, float r_loc[2], float *r_scale, float *r_angle) |
| bool | BKE_movieclip_has_frame (MovieClip *clip, const MovieClipUser *user) |
| void | BKE_movieclip_get_size (MovieClip *clip, const MovieClipUser *user, int *r_width, int *r_height) |
| void | BKE_movieclip_get_size_fl (MovieClip *clip, const MovieClipUser *user, float r_size[2]) |
| int | BKE_movieclip_get_duration (MovieClip *clip) |
| float | BKE_movieclip_get_fps (MovieClip *clip) |
| void | BKE_movieclip_get_aspect (MovieClip *clip, float *aspx, float *aspy) |
| void | BKE_movieclip_get_cache_segments (MovieClip *clip, const MovieClipUser *user, int *r_totseg, int **r_points) |
| void | BKE_movieclip_user_set_frame (MovieClipUser *user, int framenr) |
| void | BKE_movieclip_clear_cache (MovieClip *clip) |
| void | BKE_movieclip_clear_proxy_cache (MovieClip *clip) |
| void | BKE_movieclip_reload (Main *bmain, MovieClip *clip) |
| void | BKE_movieclip_update_scopes (MovieClip *clip, const MovieClipUser *user, MovieClipScopes *scopes) |
| static void | movieclip_build_proxy_ibuf (const MovieClip *clip, const ImBuf *ibuf, int cfra, int proxy_render_size, bool undistorted, bool threaded) |
| void | BKE_movieclip_build_proxy_frame (MovieClip *clip, int clip_flag, MovieDistortion *distortion, int cfra, const int *build_sizes, int build_count, bool undistorted) |
| void | BKE_movieclip_build_proxy_frame_for_ibuf (MovieClip *clip, ImBuf *ibuf, MovieDistortion *distortion, int cfra, const int *build_sizes, int build_count, bool undistorted) |
| bool | BKE_movieclip_proxy_enabled (MovieClip *clip) |
| float | BKE_movieclip_remap_scene_to_clip_frame (const MovieClip *clip, const float framenr) |
| float | BKE_movieclip_remap_clip_to_scene_frame (const MovieClip *clip, const float framenr) |
| void | BKE_movieclip_filepath_for_frame (MovieClip *clip, const MovieClipUser *user, char *filepath) |
| ImBuf * | BKE_movieclip_anim_ibuf_for_frame_no_lock (MovieClip *clip, const MovieClipUser *user) |
| bool | BKE_movieclip_has_cached_frame (MovieClip *clip, const MovieClipUser *user) |
| bool | BKE_movieclip_put_frame_if_possible (MovieClip *clip, const MovieClipUser *user, ImBuf *ibuf) |
| static void | movieclip_eval_update_reload (Depsgraph *depsgraph, Main *bmain, MovieClip *clip) |
| static void | movieclip_eval_update_generic (Depsgraph *depsgraph, MovieClip *clip) |
| void | BKE_movieclip_eval_update (Depsgraph *depsgraph, Main *bmain, MovieClip *clip) |
GPU textures | |
| static blender::gpu::Texture ** | movieclip_get_gputexture_ptr (MovieClip *clip, MovieClipUser *cuser, eGPUTextureTarget textarget) |
| blender::gpu::Texture * | BKE_movieclip_get_gpu_texture (MovieClip *clip, MovieClipUser *cuser) |
| void | BKE_movieclip_free_gputexture (MovieClip *clip) |
Variables | |
| static CLG_LogRef | LOG = {"gpu.texture"} |
| IDTypeInfo | IDType_ID_MC |
| #define DNA_DEPRECATED_ALLOW |
Definition at line 25 of file movieclip.cc.
| ImBuf * BKE_movieclip_anim_ibuf_for_frame_no_lock | ( | MovieClip * | clip, |
| const MovieClipUser * | user ) |
Definition at line 1919 of file movieclip.cc.
References MovieClip::flag, MovieClipUser::framenr, MCLIP_SRC_MOVIE, movieclip_load_movie_file(), and MovieClip::source.
| void BKE_movieclip_build_proxy_frame | ( | struct MovieClip * | clip, |
| int | clip_flag, | ||
| struct MovieDistortion * | distortion, | ||
| int | cfra, | ||
| const int * | build_sizes, | ||
| int | build_count, | ||
| bool | undistorted ) |
Definition at line 1811 of file movieclip.cc.
References BKE_movieclip_get_ibuf_flag(), MovieClipUser::framenr, get_undistorted_ibuf(), i, IMB_freeImBuf(), MCLIP_PROXY_RENDER_SIZE_FULL, movieclip_build_proxy_ibuf(), MOVIECLIP_CACHE_SKIP, MovieClipUser::render_flag, and MovieClipUser::render_size.
Referenced by do_movie_proxy().
| void BKE_movieclip_build_proxy_frame_for_ibuf | ( | struct MovieClip * | clip, |
| struct ImBuf * | ibuf, | ||
| struct MovieDistortion * | distortion, | ||
| int | cfra, | ||
| const int * | build_sizes, | ||
| int | build_count, | ||
| bool | undistorted ) |
Definition at line 1852 of file movieclip.cc.
References get_undistorted_ibuf(), i, IMB_freeImBuf(), and movieclip_build_proxy_ibuf().
Referenced by proxy_task_func().
| void BKE_movieclip_clear_cache | ( | MovieClip * | clip | ) |
Definition at line 1643 of file movieclip.cc.
References free_buffers().
Referenced by ED_space_clip_set_clip(), and wm_set_working_color_space_exec().
| void BKE_movieclip_clear_proxy_cache | ( | MovieClip * | clip | ) |
Definition at line 1648 of file movieclip.cc.
References MovieClip::cache, IMB_moviecache_cleanup(), MovieClipCache::moviecache, and moviecache_check_free_proxy().
Referenced by proxy_endjob().
| void BKE_movieclip_convert_multilayer_ibuf | ( | struct ImBuf * | ibuf | ) |
Will try to make image buffer usable when originating from the multi-layer source. Internally finds a first combined pass and uses that as a buffer. Not ideal, but is better than a complete empty buffer.
Definition at line 521 of file movieclip.cc.
References BLI_assert, ImBuf::channels, ImBufFloatBuffer::data, ImBuf::exrhandle, ImBuf::float_buffer, ImBuf::ftype, IB_TAKE_OWNERSHIP, IMB_assign_float_buffer(), IMB_exr_close(), IMB_exr_multilayer_convert(), and IMB_FTYPE_OPENEXR.
Referenced by blender::seq::convert_multilayer_ibuf(), movieclip_load_sequence_file(), and prefetch_task_func().
Definition at line 1970 of file movieclip.cc.
References DEG_debug_print_eval(), DEG_get_update_count(), depsgraph, MovieClip::id, ID_RECALC_SOURCE, MovieClip_Runtime::last_update, movieclip_eval_update_generic(), movieclip_eval_update_reload(), ID::name, ID::recalc, and MovieClip::runtime.
Referenced by blender::deg::DepsgraphNodeBuilder::build_movieclip().
Checks if image was already loaded, then returns same image otherwise creates new. does not load ibuf itself pass on optional frame for filepath images.
Definition at line 955 of file movieclip.cc.
References BKE_main_blendfile_path(), BLI_open(), BLI_path_abs(), BLI_path_basename(), MovieTracking::camera, detect_clip_source(), FILE_MAX, MovieClip::filepath, MovieTrackingCamera::focal, MovieClip::lastsize, movieclip_alloc(), movieclip_calc_length(), movieclip_load_get_size(), O_BINARY, MovieTrackingCamera::sensor_width, STRNCPY(), and MovieClip::tracking.
Referenced by BKE_movieclip_file_add_exists_ex().
Definition at line 1021 of file movieclip.cc.
References BKE_movieclip_file_add_exists_ex().
Referenced by open_exec().
| MovieClip * BKE_movieclip_file_add_exists_ex | ( | Main * | bmain, |
| const char * | filepath, | ||
| bool * | r_exists ) |
Definition at line 991 of file movieclip.cc.
References BKE_main_blendfile_path(), BKE_movieclip_file_add(), BLI_path_abs(), BLI_path_cmp, FILE_MAX, MovieClip::filepath, ListBase::first, MovieClip::id, ID_BLEND_PATH, id_us_plus(), Main::movieclips, ID::next, and STRNCPY().
Referenced by BKE_movieclip_file_add_exists().
| void BKE_movieclip_filepath_for_frame | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| char * | filepath ) |
Definition at line 1897 of file movieclip.cc.
References BLI_path_abs(), BLI_strncpy(), FILE_MAX, MovieClip::filepath, MovieClip::flag, MovieClipUser::framenr, get_proxy_filepath(), get_sequence_filepath(), MovieClip::id, ID_BLEND_PATH_FROM_GLOBAL, MCLIP_PROXY_RENDER_SIZE_FULL, MCLIP_PROXY_RENDER_UNDISTORT, MCLIP_SRC_SEQUENCE, MCLIP_USE_PROXY, MovieClipUser::render_flag, MovieClipUser::render_size, and MovieClip::source.
| void BKE_movieclip_free_gputexture | ( | MovieClip * | clip | ) |
Definition at line 2047 of file movieclip.cc.
References BLI_listbase_count(), BLI_pophead(), GPU_texture_free(), MovieClip_RuntimeGPUTexture::gputexture, MovieClip_Runtime::gputextures, i, MEM_freeN(), MovieClip::runtime, and TEXTARGET_COUNT.
Referenced by blender::draw::overlay::Resources::free_movieclips_textures(), and wm_set_working_color_space_exec().
Definition at line 1574 of file movieclip.cc.
References MovieClip::aspx, MovieClip::aspy, MovieTracking::camera, MovieTrackingCamera::pixel_aspect, and MovieClip::tracking.
Referenced by BKE_mask_coord_from_movieclip(), BKE_mask_coord_to_movieclip(), BKE_mask_point_parent_matrix_get(), and ED_space_clip_get_aspect().
| void BKE_movieclip_get_cache_segments | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| int * | r_totseg, | ||
| int ** | r_points ) |
Definition at line 1582 of file movieclip.cc.
References BLI_thread_lock(), BLI_thread_unlock(), MovieClip::cache, MovieClip::flag, IMB_moviecache_get_cache_segments(), LOCK_MOVIECLIP, MovieClipCache::moviecache, MovieClipUser::render_flag, and rendersize_to_proxy().
| int BKE_movieclip_get_duration | ( | MovieClip * | clip | ) |
Definition at line 1553 of file movieclip.cc.
References MovieClip::len, and movieclip_calc_length().
Referenced by blender::seq::add_movieclip_strip(), blender::seq::add_reload_new_file(), clip_set_scene_frames_exec(), and prefetch_check_early_out().
Definition at line 1562 of file movieclip.cc.
References MovieClip::anim, MCLIP_SRC_MOVIE, MOV_get_fps(), movieclip_open_anim_file(), and MovieClip::source.
Referenced by blender::seq::time_strip_fps_get().
| blender::gpu::Texture * BKE_movieclip_get_gpu_texture | ( | MovieClip * | clip, |
| MovieClipUser * | cuser ) |
Definition at line 2015 of file movieclip.cc.
References BKE_movieclip_get_ibuf(), CLOG_ERROR, ImBufFloatBuffer::data, false, ImBuf::float_buffer, GPU_texture_create_error(), GPU_texture_mipmap_mode(), MovieClip::id, IMB_create_gpu_texture(), IMB_freeImBuf(), LOG, movieclip_get_gputexture_ptr(), ID::name, and TEXTARGET_2D.
| ImBuf * BKE_movieclip_get_ibuf | ( | MovieClip * | clip, |
| const MovieClipUser * | user ) |
Definition at line 1317 of file movieclip.cc.
References BKE_movieclip_get_ibuf_flag(), and MovieClip::flag.
Referenced by BKE_movieclip_get_gpu_texture(), BKE_movieclip_get_size(), BKE_movieclip_has_frame(), and BKE_movieclip_update_scopes().
| ImBuf * BKE_movieclip_get_ibuf_flag | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| const int | flag, | ||
| const int | cache_flag ) |
Definition at line 1322 of file movieclip.cc.
References flag, and movieclip_get_postprocessed_ibuf().
Referenced by BKE_movieclip_build_proxy_frame(), and BKE_movieclip_get_ibuf().
| ImBuf * BKE_movieclip_get_postprocessed_ibuf | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| const int | postprocess_flag ) |
Definition at line 1330 of file movieclip.cc.
References MovieClip::flag, and movieclip_get_postprocessed_ibuf().
Referenced by BKE_movieclip_get_stable_ibuf().
| void BKE_movieclip_get_size | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| int * | r_width, | ||
| int * | r_height ) |
Definition at line 1518 of file movieclip.cc.
References BKE_movieclip_get_ibuf(), IMB_freeImBuf(), MovieClip::lastsize, real_ibuf_size(), ImBuf::x, and ImBuf::y.
Referenced by BKE_movieclip_get_size_fl(), BKE_movieclip_update_scopes(), and movieclip_load_get_size().
| void BKE_movieclip_get_size_fl | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| float | r_size[2] ) |
Definition at line 1544 of file movieclip.cc.
References BKE_movieclip_get_size(), and float.
| ImBuf * BKE_movieclip_get_stable_ibuf | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| const int | postprocess_flag, | ||
| float | r_loc[2], | ||
| float * | r_scale, | ||
| float * | r_angle ) |
Definition at line 1445 of file movieclip.cc.
References MovieClipCache::angle, BKE_movieclip_get_postprocessed_ibuf(), MovieClip::cache, copy_v2_v2(), MovieTrackingStabilization::flag, MovieClipUser::framenr, get_stable_cached_frame(), IMB_freeImBuf(), MovieClipCache::loc, put_stabilized_frame_to_cache(), MovieClipCache::scale, MovieTracking::stabilization, MovieClipCache::stabilized, MovieClip::tracking, TRACKING_2D_STABILIZATION, and zero_v2().
| bool BKE_movieclip_has_cached_frame | ( | MovieClip * | clip, |
| const MovieClipUser * | user ) |
Definition at line 1930 of file movieclip.cc.
References BLI_thread_lock(), BLI_thread_unlock(), MovieClip::flag, has_imbuf_cache(), and LOCK_MOVIECLIP.
| bool BKE_movieclip_has_frame | ( | MovieClip * | clip, |
| const MovieClipUser * | user ) |
Definition at line 1506 of file movieclip.cc.
References BKE_movieclip_get_ibuf(), and IMB_freeImBuf().
| bool BKE_movieclip_proxy_enabled | ( | MovieClip * | clip | ) |
Definition at line 1882 of file movieclip.cc.
References MovieClip::flag, and MCLIP_USE_PROXY.
Referenced by blender::seq::seq_render_movieclip_strip().
| bool BKE_movieclip_put_frame_if_possible | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| ImBuf * | ibuf ) |
Definition at line 1941 of file movieclip.cc.
References BLI_thread_lock(), BLI_thread_unlock(), MovieClip::flag, LOCK_MOVIECLIP, put_imbuf_cache(), and result.
Definition at line 1655 of file movieclip.cc.
References BKE_ntree_update_tag_id_changed(), detect_clip_source(), free_buffers(), MovieClip::id, MovieClip::lastsize, movieclip_calc_length(), and movieclip_load_get_size().
Referenced by movieclip_eval_update_reload(), and reload_exec().
Definition at line 1892 of file movieclip.cc.
References float, and MovieClip::start_frame.
Referenced by movieclip_load_get_size().
Definition at line 1887 of file movieclip.cc.
References float, and MovieClip::start_frame.
Referenced by BKE_movieclip_update_scopes(), get_stable_cached_frame(), and put_stabilized_frame_to_cache().
| void BKE_movieclip_update_scopes | ( | MovieClip * | clip, |
| const MovieClipUser * | user, | ||
| MovieClipScopes * | scopes ) |
Definition at line 1672 of file movieclip.cc.
References MovieTrackingObject::active_track, BKE_movieclip_get_ibuf(), BKE_movieclip_get_size(), BKE_movieclip_remap_scene_to_clip_frame(), BKE_tracking_get_search_imbuf(), BKE_tracking_marker_get(), BKE_tracking_marker_pattern_minmax(), BKE_tracking_object_get_active(), BKE_tracking_undistort_v2(), ImBuf::byte_buffer, MovieTracking::camera, ImBufByteBuffer::data, ImBufFloatBuffer::data, MovieTrackingMarker::flag, MovieTrackingTrack::flag, ImBuf::float_buffer, MovieClipScopes::frame_height, MovieClipScopes::frame_width, MovieClipUser::framenr, IMB_freeImBuf(), MovieClipScopes::marker, MARKER_DISABLED, MCLIP_PROXY_RENDER_UNDISTORT, MovieClipScopes::ok, MovieTrackingCamera::pixel_aspect, MovieTrackingMarker::pos, MovieClipUser::render_flag, MovieClipScopes::scene_framenr, MovieClipScopes::slide_scale, MovieClipScopes::track, MovieClipScopes::track_disabled, TRACK_LOCKED, MovieClipScopes::track_locked, MovieClipScopes::track_preview, TRACK_PREVIEW_ALPHA, MovieClipScopes::track_search, MovieClip::tracking, MovieClipScopes::undist_marker, MovieClipScopes::use_track_mask, ImBuf::x, and ImBuf::y.
| void BKE_movieclip_user_set_frame | ( | MovieClipUser * | user, |
| int | framenr ) |
Definition at line 1600 of file movieclip.cc.
References MovieClipUser::framenr.
Referenced by accessor_get_mask_for_track_callback(), accessor_get_preprocessed_ibuf(), BKE_mask_point_parent_matrix_get(), clip_area_sync_frame_from_scene(), clip_refresh(), ED_clip_update_frame(), blender::nodes::node_composite_movieclip_cc::MovieClipOperation::get_movie_clip_buffer(), blender::compositor::get_movie_clip_size(), blender::nodes::node_composite_planetrackdeform_cc::PlaneTrackDeformOperation::get_movie_clip_size(), blender::compositor::get_movie_clip_user(), blender::nodes::node_composite_keyingscreen_cc::KeyingScreenOperation::get_size(), blender::nodes::node_composite_trackpos_cc::TrackPositionOperation::get_size(), reference_keyframed_image_buffers(), and blender::seq::seq_render_movieclip_strip().
|
static |
Definition at line 1088 of file movieclip.cc.
References MovieClipCache::brown_k, MovieTrackingCamera::brown_k1, MovieClipCache::brown_p, MovieTrackingCamera::brown_p1, MovieClip::cache, MovieTracking::camera, MovieClipCache::distortion_model, MovieTrackingCamera::distortion_model, MovieClipCache::division_k, MovieTrackingCamera::division_k1, equals_v2v2(), equals_v3v3(), equals_v4v4(), MovieTrackingCamera::focal, MovieClipCache::focal_length, MovieTrackingCamera::k1, MovieClipCache::nuke_k, MovieTrackingCamera::nuke_k1, MovieClipCache::polynomial_k, MovieClipCache::postprocessed, MovieClipCache::principal_point, MovieTrackingCamera::principal_point, and MovieClip::tracking.
Referenced by get_postprocessed_cached_frame().
Definition at line 937 of file movieclip.cc.
References BLI_path_abs(), FILE_MAX, MovieClip::filepath, IB_byte_data, IB_multilayer, IB_test, MovieClip::id, ID_BLEND_PATH, IMB_freeImBuf(), IMB_load_image_from_filepath(), MCLIP_SRC_MOVIE, MCLIP_SRC_SEQUENCE, MovieClip::source, and STRNCPY().
Referenced by BKE_movieclip_file_add(), and BKE_movieclip_reload().
|
static |
Definition at line 245 of file movieclip.cc.
References BLO_read_pointer_array(), BLO_read_struct, BLO_read_struct_array, BLO_read_struct_list, i, and LISTBASE_FOREACH.
Referenced by movieclip_blend_read_data().
|
static |
Definition at line 229 of file movieclip.cc.
References BLO_read_struct_array, MovieTrackingReconstruction::cameras, and MovieTrackingReconstruction::camnr.
Referenced by movieclip_blend_read_data().
|
static |
Definition at line 236 of file movieclip.cc.
References BLO_read_struct_array, BLO_read_struct_list, and LISTBASE_FOREACH.
Referenced by movieclip_blend_read_data().
|
static |
Definition at line 1607 of file movieclip.cc.
References MovieClip::anim, BLI_freelistN(), MovieClip::cache, ListBase::first, GPU_texture_free(), MovieClip_RuntimeGPUTexture::gputexture, MovieClip_Runtime::gputextures, i, MovieClipCache::ibuf, IMB_freeImBuf(), IMB_moviecache_free(), MEM_freeN(), MOV_close(), MovieClipCache::moviecache, MovieClip_RuntimeGPUTexture::next, MovieClipCache::postprocessed, MovieClip::runtime, MovieClipCache::stabilized, and TEXTARGET_COUNT.
Referenced by BKE_movieclip_clear_cache(), BKE_movieclip_reload(), and movie_clip_free_data().
|
static |
Definition at line 801 of file movieclip.cc.
References MovieClip::cache, flag, MovieClipImBufCacheKey::framenr, MovieClipUser::framenr, IMB_moviecache_get(), IMB_PROXY_NONE, MovieClipCache::is_still_sequence, MCLIP_USE_PROXY, MovieClipCache::moviecache, MovieClipImBufCacheKey::proxy, MovieClipImBufCacheKey::render_flag, MovieClipUser::render_flag, rendersize_to_proxy(), and user_frame_to_cache_frame().
Referenced by movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 1128 of file movieclip.cc.
References MovieClip::cache, check_undistortion_cache_flags(), flag, MovieClipCache::flag, MovieClipCache::framenr, MovieClipUser::framenr, MovieClipCache::ibuf, IMB_PROXY_NONE, IMB_refImBuf(), MCLIP_USE_PROXY, need_undistortion_postprocess(), MovieClipCache::postprocessed, MovieClipCache::proxy, MovieClipCache::render_flag, MovieClipUser::render_flag, rendersize_to_proxy(), and MovieClipCache::undistortion_used.
Referenced by movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 428 of file movieclip.cc.
References BKE_main_blendfile_path_from_global(), BLI_path_abs(), BLI_path_frame(), BLI_path_split_dir_file(), BLI_snprintf(), BLI_strncat(), MovieClipProxy::dir, FILE_MAX, MovieClip::filepath, MovieClip::flag, MovieClip::frame_offset, MCLIP_USE_PROXY_CUSTOM_DIR, MovieClip::proxy, rendersize_to_number(), SEP_STR, size(), SNPRINTF, MovieClip::start_frame, and STRNCPY().
Referenced by BKE_movieclip_filepath_for_frame(), movieclip_build_proxy_ibuf(), and movieclip_load_sequence_file().
|
static |
Definition at line 397 of file movieclip.cc.
References BLI_path_abs(), BLI_path_sequence_decode(), BLI_path_sequence_encode(), BLI_strncpy(), FILE_MAX, MovieClip::filepath, MovieClip::frame_offset, MovieClip::id, ID_BLEND_PATH_FROM_GLOBAL, sequence_guess_offset(), and MovieClip::start_frame.
Referenced by BKE_movieclip_filepath_for_frame(), movieclip_calc_length(), and movieclip_load_sequence_file().
|
static |
Definition at line 1337 of file movieclip.cc.
References MovieClipCache::angle, MovieClipCache::aspect, BKE_movieclip_remap_scene_to_clip_frame(), BKE_tracking_stabilization_data_get(), MovieClip::cache, MovieTracking::camera, equals_v2v2(), MovieClipCache::filter, MovieTrackingStabilization::filter, MovieClip::flag, MovieClipCache::framenr, MovieClipCache::ibuf, IMB_PROXY_NONE, IMB_refImBuf(), MovieClipCache::loc, MCLIP_USE_PROXY, MovieTrackingCamera::pixel_aspect, MovieClipCache::postprocess_flag, MovieClipCache::proxy, MovieClipCache::reference_ibuf, MovieClipCache::render_flag, MovieClipUser::render_flag, rendersize_to_proxy(), MovieClipCache::scale, MovieTracking::stabilization, MovieClipCache::stabilized, MovieClip::tracking, ImBuf::x, and ImBuf::y.
Referenced by BKE_movieclip_get_stable_ibuf().
|
static |
Definition at line 388 of file movieclip.cc.
References flag, IMB_TC_NONE, MCLIP_USE_PROXY, MovieClip::proxy, and MovieClipProxy::tc.
Referenced by movieclip_load_movie_file().
|
static |
Definition at line 1052 of file movieclip.cc.
References BKE_tracking_distortion_exec(), BKE_tracking_undistort_frame(), Box, IMB_scale(), MovieClip::tracking, ImBuf::x, and ImBuf::y.
Referenced by BKE_movieclip_build_proxy_frame(), BKE_movieclip_build_proxy_frame_for_ibuf(), and postprocess_frame().
|
static |
Definition at line 828 of file movieclip.cc.
References MovieClip::cache, flag, MovieClipImBufCacheKey::framenr, MovieClipUser::framenr, IMB_moviecache_has_frame(), IMB_PROXY_NONE, MCLIP_USE_PROXY, MovieClipCache::moviecache, MovieClipImBufCacheKey::proxy, MovieClipImBufCacheKey::render_flag, MovieClipUser::render_flag, rendersize_to_proxy(), and user_frame_to_cache_frame().
Referenced by BKE_movieclip_has_cached_frame().
|
static |
Definition at line 101 of file movieclip.cc.
References MovieClip::anim, BKE_color_managed_colorspace_settings_copy(), BKE_tracking_copy(), MovieClip::cache, MovieClip::colorspace_settings, flag, LIB_ID_CREATE_NO_USER_REFCOUNT, MovieClip::tracking, and MovieClip::tracking_context.
|
static |
Definition at line 150 of file movieclip.cc.
References MovieClip::cache, MovieTracking::camera, IDCacheKey::id_session_uid, IDCacheKey::identifier, MovieTrackingCamera::intrinsics, offsetof, and MovieClip::tracking.
|
static |
Definition at line 133 of file movieclip.cc.
References BKE_LIB_FOREACHID_PROCESS_IDSUPER, data, MovieClip::gpd, IDWALK_CB_USER, LISTBASE_FOREACH, MovieTracking::objects, and MovieClip::tracking.
|
static |
Definition at line 164 of file movieclip.cc.
References BKE_bpath_foreach_path_fixed_process(), and MovieClip::filepath.
|
static |
Definition at line 123 of file movieclip.cc.
References BKE_tracking_free(), free_buffers(), and MovieClip::tracking.
|
static |
Definition at line 90 of file movieclip.cc.
References BKE_color_managed_colorspace_settings_init(), BKE_tracking_settings_init(), BLI_assert, MovieClip::colorspace_settings, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, MEMCPY_STRUCT_AFTER, and MovieClip::tracking.
|
static |
Reset runtime mask fields when data-block is being initialized.
Definition at line 81 of file movieclip.cc.
References BLI_listbase_clear(), MovieClip_Runtime::gputextures, MovieClip_Runtime::last_update, and MovieClip::runtime.
Referenced by movieclip_blend_read_data().
|
static |
Definition at line 905 of file movieclip.cc.
References IMB_PROXY_NONE, MovieClipImBufCacheKey::proxy, and MovieClipImBufCacheKey::render_flag.
Referenced by BKE_movieclip_clear_proxy_cache().
|
static |
Definition at line 786 of file movieclip.cc.
References abs, MovieClipCachePriorityData::framenr, and MovieClipImBufCacheKey::framenr.
Referenced by put_imbuf_cache().
|
static |
Definition at line 775 of file movieclip.cc.
References MovieClipCachePriorityData::framenr, MovieClipImBufCacheKey::framenr, and MEM_callocN().
Referenced by put_imbuf_cache().
|
static |
Definition at line 766 of file movieclip.cc.
References b, MovieClipImBufCacheKey::framenr, MovieClipImBufCacheKey::proxy, and MovieClipImBufCacheKey::render_flag.
Referenced by IMB_moviecache_create(), and put_imbuf_cache().
|
static |
Definition at line 758 of file movieclip.cc.
References MovieClipImBufCacheKey::framenr.
Referenced by IMB_moviecache_create(), and put_imbuf_cache().
|
static |
Definition at line 749 of file movieclip.cc.
References MovieClipImBufCacheKey::framenr, MovieClipImBufCacheKey::proxy, and MovieClipImBufCacheKey::render_flag.
Referenced by put_imbuf_cache().
|
static |
Definition at line 794 of file movieclip.cc.
References MEM_freeN().
Referenced by put_imbuf_cache().
Definition at line 915 of file movieclip.cc.
References BKE_id_new(), and name.
Referenced by BKE_movieclip_file_add().
|
static |
Definition at line 261 of file movieclip.cc.
References MovieTracking::act_plane_track_legacy, MovieTracking::act_track_legacy, MovieClip::anim, BLI_listbase_clear(), BLO_read_struct, BLO_read_struct_list, MovieTrackingDopesheet::channels, MovieTrackingDopesheet::coverage_segments, direct_link_moviePlaneTracks(), direct_link_movieReconstruction(), direct_link_movieTracks(), MovieTracking::dopesheet, LISTBASE_FOREACH, movie_clip_runtime_reset(), MovieTracking::objects, MovieTrackingDopesheet::ok, MovieTracking::plane_tracks_legacy, MovieTracking::reconstruction_legacy, MovieTrackingStabilization::rot_track_legacy, MovieTracking::stabilization, MovieTracking::stats, MovieClip::tracking, MovieClip::tracking_context, and MovieTracking::tracks_legacy.
|
static |
Definition at line 207 of file movieclip.cc.
References MovieClip::anim, BKE_id_blend_write(), BLO_write_id_struct, BLO_write_struct, MovieClip::id, LISTBASE_FOREACH, MovieTracking::objects, MovieTracking::stats, MovieClip::tracking, MovieClip::tracking_context, write_moviePlaneTracks(), write_movieReconstruction(), and write_movieTracks().
|
static |
Definition at line 1769 of file movieclip.cc.
References Bilinear, BLI_file_ensure_parent_dir_exists(), BLI_thread_lock(), BLI_thread_unlock(), FILE_MAX, ImBuf::foptions, ImBuf::ftype, get_proxy_filepath(), IB_byte_data, IMB_freeImBuf(), IMB_FTYPE_JPG, IMB_save_image(), IMB_scale_into_new(), LOCK_MOVIECLIP, ImBuf::planes, MovieClip::proxy, ImbFormatOptions::quality, MovieClipProxy::quality, rendersize_to_number(), size(), ImBuf::x, and ImBuf::y.
Referenced by BKE_movieclip_build_proxy_frame(), and BKE_movieclip_build_proxy_frame_for_ibuf().
|
static |
Definition at line 632 of file movieclip.cc.
References MovieClip::anim, BLI_exists(), BLI_path_sequence_decode(), FILE_MAX, MovieClip::filepath, get_sequence_filepath(), MovieClip::len, MCLIP_SRC_MOVIE, MCLIP_SRC_SEQUENCE, MOV_get_duration_frames(), movieclip_open_anim_file(), MovieClip::proxy, MovieClip::source, MovieClip::start_frame, and MovieClipProxy::tc.
Referenced by BKE_movieclip_file_add(), BKE_movieclip_get_duration(), and BKE_movieclip_reload().
|
static |
Definition at line 1961 of file movieclip.cc.
References BKE_tracking_dopesheet_tag_update(), DEG_get_original(), DEG_is_active(), depsgraph, and MovieClip::tracking.
Referenced by BKE_movieclip_eval_update().
Definition at line 1952 of file movieclip.cc.
References BKE_movieclip_reload(), DEG_get_original(), DEG_is_active(), and depsgraph.
Referenced by BKE_movieclip_eval_update().
|
static |
Definition at line 1986 of file movieclip.cc.
References BLI_addtail(), ListBase::first, MovieClip_RuntimeGPUTexture::gputexture, MovieClip_Runtime::gputextures, i, MEM_mallocN(), MovieClip_RuntimeGPUTexture::next, MovieClip::runtime, TEXTARGET_COUNT, and MovieClip_RuntimeGPUTexture::user.
Referenced by BKE_movieclip_get_gpu_texture().
|
static |
Definition at line 1244 of file movieclip.cc.
References BLI_thread_lock(), BLI_thread_unlock(), flag, MovieClipUser::framenr, get_imbuf_cache(), get_postprocessed_cached_frame(), IMB_freeImBuf(), MovieClip::lastsize, LOCK_MOVIECLIP, MCLIP_PROXY_RENDER_SIZE_FULL, MCLIP_PROXY_RENDER_UNDISTORT, MCLIP_PROXY_RENDER_USE_FALLBACK_RENDER, MCLIP_SRC_SEQUENCE, MOVIECLIP_CACHE_SKIP, movieclip_get_postprocessed_ibuf(), movieclip_load_movie_file(), movieclip_load_sequence_file(), need_postprocessed_frame(), postprocess_frame(), put_imbuf_cache(), put_postprocessed_frame_to_cache(), real_ibuf_size(), MovieClipUser::render_flag, MovieClipUser::render_size, and MovieClip::source.
Referenced by BKE_movieclip_get_ibuf_flag(), BKE_movieclip_get_postprocessed_ibuf(), and movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 924 of file movieclip.cc.
References BKE_movieclip_get_size(), BKE_movieclip_remap_clip_to_scene_frame(), DNA_struct_default_get, MovieClipUser::framenr, IMG_SIZE_FALLBACK, and MovieClip::lastsize.
Referenced by BKE_movieclip_file_add(), and BKE_movieclip_reload().
|
static |
Definition at line 612 of file movieclip.cc.
References MovieClip::anim, flag, MovieClip::frame_offset, get_timecode(), MOV_decode_frame(), movieclip_open_anim_file(), rendersize_to_proxy(), and MovieClip::start_frame.
Referenced by BKE_movieclip_anim_ibuf_for_frame_no_lock(), and movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 548 of file movieclip.cc.
References BKE_movieclip_convert_multilayer_ibuf(), MovieClip::colorspace_settings, FILE_MAX, flag, get_proxy_filepath(), get_sequence_filepath(), IB_alphamode_detect, IB_byte_data, IB_metadata, IB_multilayer, IMB_load_image_from_filepath(), MCLIP_PROXY_RENDER_SIZE_FULL, MCLIP_PROXY_RENDER_UNDISTORT, MCLIP_SRC_MOVIE, MCLIP_USE_PROXY, ColorManagedColorspaceSettings::name, MovieClipUser::render_flag, MovieClipUser::render_size, and MovieClip::source.
Referenced by movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 590 of file movieclip.cc.
References MovieClip::anim, BKE_main_blendfile_path_from_global(), BLI_path_abs(), MovieClip::colorspace_settings, MovieClipProxy::dir, FILE_MAX, MovieClip::filepath, MovieClip::flag, IB_byte_data, MovieClip::id, ID_BLEND_PATH_FROM_GLOBAL, MCLIP_USE_PROXY_CUSTOM_DIR, MOV_set_custom_proxy_dir(), ColorManagedColorspaceSettings::name, openanim(), MovieClip::proxy, and STRNCPY().
Referenced by BKE_movieclip_get_fps(), movieclip_calc_length(), and movieclip_load_movie_file().
|
static |
Definition at line 1079 of file movieclip.cc.
References need_undistortion_postprocess(), and result.
Referenced by movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 1069 of file movieclip.cc.
References MCLIP_PROXY_RENDER_SIZE_FULL, MCLIP_PROXY_RENDER_UNDISTORT, MCLIP_USE_PROXY, MovieClipUser::render_flag, MovieClipUser::render_size, and result.
Referenced by get_postprocessed_cached_frame(), need_postprocessed_frame(), postprocess_frame(), and put_postprocessed_frame_to_cache().
|
static |
Definition at line 1176 of file movieclip.cc.
References BKE_tracking_disable_channels(), flag, get_undistorted_ibuf(), IMB_dupImBuf(), MOVIECLIP_DISABLE_BLUE, MOVIECLIP_DISABLE_GREEN, MOVIECLIP_DISABLE_RED, MOVIECLIP_PREVIEW_GRAYSCALE, and need_undistortion_postprocess().
Referenced by movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 850 of file movieclip.cc.
References BLI_path_sequence_decode(), MovieClip::cache, MovieClip::filepath, flag, MovieClipImBufCacheKey::framenr, MovieClipUser::framenr, IMB_moviecache_create(), IMB_moviecache_put(), IMB_moviecache_put_if_possible(), IMB_moviecache_set_getdata_callback(), IMB_moviecache_set_priority_callback(), IMB_PROXY_NONE, MovieClipCache::is_still_sequence, MCLIP_SRC_SEQUENCE, MCLIP_USE_PROXY, MEM_callocN(), MovieClipCache::moviecache, moviecache_getitempriority(), moviecache_getprioritydata(), moviecache_hashcmp(), moviecache_hashhash(), moviecache_keydata(), moviecache_prioritydeleter(), MovieClipImBufCacheKey::proxy, MovieClipImBufCacheKey::render_flag, MovieClipUser::render_flag, rendersize_to_proxy(), MovieClipCache::sequence_offset, MovieClip::source, and user_frame_to_cache_frame().
Referenced by BKE_movieclip_put_frame_if_possible(), and movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 1202 of file movieclip.cc.
References MovieClipCache::brown_k, MovieTrackingCamera::brown_k1, MovieClipCache::brown_p, MovieTrackingCamera::brown_p1, MovieClip::cache, MovieTracking::camera, copy_v2_v2(), copy_v3_v3(), copy_v4_v4(), MovieClipCache::distortion_model, MovieTrackingCamera::distortion_model, MovieClipCache::division_k, MovieTrackingCamera::division_k1, flag, MovieClipCache::flag, MovieTrackingCamera::focal, MovieClipCache::focal_length, MovieClipCache::framenr, MovieClipUser::framenr, MovieClipCache::ibuf, IMB_freeImBuf(), IMB_PROXY_NONE, IMB_refImBuf(), MovieTrackingCamera::k1, MCLIP_USE_PROXY, need_undistortion_postprocess(), MovieClipCache::nuke_k, MovieTrackingCamera::nuke_k1, MovieClipCache::polynomial_k, MovieClipCache::postprocessed, MovieClipCache::principal_point, MovieTrackingCamera::principal_point, MovieClipCache::proxy, MovieClipCache::render_flag, MovieClipUser::render_flag, rendersize_to_proxy(), MovieClip::tracking, and MovieClipCache::undistortion_used.
Referenced by movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 1400 of file movieclip.cc.
References MovieClipCache::angle, MovieClipCache::aspect, BKE_movieclip_remap_scene_to_clip_frame(), BKE_tracking_stabilize_frame(), MovieClip::cache, MovieTracking::camera, copy_v2_v2(), MovieClipCache::filter, MovieTrackingStabilization::filter, MovieClip::flag, MovieClipCache::framenr, MovieClipCache::ibuf, IMB_freeImBuf(), IMB_PROXY_NONE, IMB_refImBuf(), MovieClipCache::loc, MCLIP_USE_PROXY, MovieTrackingCamera::pixel_aspect, MovieClipCache::postprocess_flag, MovieClipCache::proxy, MovieClipCache::reference_ibuf, MovieClipCache::render_flag, MovieClipUser::render_flag, rendersize_to_proxy(), MovieClipCache::scale, MovieTracking::stabilization, MovieClipCache::stabilized, and MovieClip::tracking.
Referenced by BKE_movieclip_get_stable_ibuf().
|
static |
Definition at line 1026 of file movieclip.cc.
References MovieClip::flag, float, MCLIP_PROXY_RENDER_SIZE_25, MCLIP_PROXY_RENDER_SIZE_50, MCLIP_PROXY_RENDER_SIZE_75, MCLIP_USE_PROXY, MovieClipUser::render_size, ImBuf::x, and ImBuf::y.
Referenced by BKE_movieclip_get_size(), and movieclip_get_postprocessed_ibuf().
|
static |
Definition at line 366 of file movieclip.cc.
References MCLIP_PROXY_RENDER_SIZE_100, MCLIP_PROXY_RENDER_SIZE_25, MCLIP_PROXY_RENDER_SIZE_50, MCLIP_PROXY_RENDER_SIZE_75, and MCLIP_PROXY_RENDER_SIZE_FULL.
Referenced by get_proxy_filepath(), and movieclip_build_proxy_ibuf().
|
static |
Definition at line 340 of file movieclip.cc.
References flag, IMB_PROXY_100, IMB_PROXY_25, IMB_PROXY_50, IMB_PROXY_75, IMB_PROXY_NONE, MCLIP_PROXY_RENDER_SIZE_100, MCLIP_PROXY_RENDER_SIZE_25, MCLIP_PROXY_RENDER_SIZE_50, MCLIP_PROXY_RENDER_SIZE_75, MCLIP_PROXY_RENDER_SIZE_FULL, MCLIP_USE_PROXY, and MovieClipUser::render_size.
Referenced by BKE_movieclip_get_cache_segments(), get_imbuf_cache(), get_postprocessed_cached_frame(), get_stable_cached_frame(), has_imbuf_cache(), movieclip_load_movie_file(), put_imbuf_cache(), put_postprocessed_frame_to_cache(), and put_stabilized_frame_to_cache().
|
static |
Definition at line 331 of file movieclip.cc.
References BLI_strncpy(), FILE_MAX, and num.
Referenced by get_sequence_filepath(), and user_frame_to_cache_frame().
|
static |
Definition at line 722 of file movieclip.cc.
References BLI_path_sequence_decode(), MovieClip::cache, FILE_MAX, MovieClip::filepath, MovieClip::frame_offset, MCLIP_SRC_SEQUENCE, sequence_guess_offset(), MovieClipCache::sequence_offset, MovieClip::source, and MovieClip::start_frame.
Referenced by get_imbuf_cache(), has_imbuf_cache(), and put_imbuf_cache().
|
static |
Definition at line 187 of file movieclip.cc.
References BLO_write_pointer_array(), BLO_write_struct, BLO_write_struct_array, and LISTBASE_FOREACH.
Referenced by movieclip_blend_write().
|
static |
Definition at line 198 of file movieclip.cc.
References BLO_write_struct_array, MovieTrackingReconstruction::cameras, and MovieTrackingReconstruction::camnr.
Referenced by movieclip_blend_write().
|
static |
Definition at line 171 of file movieclip.cc.
References BLO_write_struct, BLO_write_struct_array, MovieTrackingTrack::markers, MovieTrackingTrack::markersnr, MovieTrackingTrack::next, and tracks.
Referenced by movieclip_blend_write().
| IDTypeInfo IDType_ID_MC |
Definition at line 298 of file movieclip.cc.
|
static |
Definition at line 76 of file movieclip.cc.