|
Blender V5.3
|
#include <cstdlib>#include "MEM_guardedalloc.h"#include "DNA_movieclip_types.h"#include "DNA_object_types.h"#include "BLI_listbase.hh"#include "BLI_math_vector_c.hh"#include "BLI_task_c.hh"#include "BLI_threads.hh"#include "BLI_utildefines.hh"#include "BKE_movieclip.hh"#include "BKE_tracking.hh"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"#include "libmv-capi.h"#include "tracking_private.hh"Go to the source code of this file.
Classes | |
| struct | blender::AutoTrackClip |
| struct | blender::AutoTrackTrack |
| struct | blender::AutoTrackMarker |
| struct | blender::AutoTrackTrackingResult |
| struct | blender::AutoTrackContext |
| struct | blender::AutoTrackTLS |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
Marker coordinate system conversion. | |
| static void | blender::normalized_to_libmv_frame (const float normalized[2], const int frame_dimensions[2], float result[2]) |
| static void | blender::normalized_relative_to_libmv_frame (const float normalized[2], const float origin[2], const int frame_dimensions[2], float result[2]) |
| static void | blender::libmv_frame_to_normalized (const float frame_coord[2], const int frame_dimensions[2], float result[2]) |
| static void | blender::libmv_frame_to_normalized_relative (const float frame_coord[2], const float origin[2], const int frame_dimensions[2], float result[2]) |
Conversion of markers between Blender's DNA and Libmv. | |
| static libmv_Marker | blender::dna_marker_to_libmv_marker (MovieTrackingTrack &track, const MovieTrackingMarker &marker, const int clip, const int track_index, const int frame_width, const int frame_height, const bool backwards) |
| static MovieTrackingMarker | blender::libmv_marker_to_dna_marker (const libmv_Marker &libmv_marker, const int frame_width, const int frame_height) |
General helpers. | |
TODO(sergey): Should be moved to tracking_util.cc. | |
| static bool | blender::tracking_check_marker_margin (const libmv_Marker &libmv_marker, const int margin, const int frame_width, const int frame_height) |
Auto-Track Context Initialization | |
| static bool | blender::autotrack_is_marker_usable (const MovieTrackingMarker &marker) |
| static bool | blender::autotrack_is_track_trackable (const AutoTrackContext *context, const AutoTrackTrack *autotrack_track) |
| static void | blender::autotrack_context_init_clips (AutoTrackContext *context, MovieClip *clip, MovieClipUser *user) |
| static void | blender::autotrack_context_init_tracks_for_clip (AutoTrackContext *context, int clip_index) |
| static void | blender::autotrack_context_init_tracks (AutoTrackContext *context) |
| static void | blender::autotrack_context_init_image_accessor (AutoTrackContext *context) |
| static size_t | blender::autotrack_count_all_usable_markers (AutoTrackContext *context) |
| static int | blender::autotrack_count_trackable_markers (AutoTrackContext *context) |
| static void | blender::autotrack_context_init_autotrack (AutoTrackContext *context) |
| static void | blender::autotrack_context_init_markers (AutoTrackContext *context) |
| struct AutoTrackContext * | blender::BKE_autotrack_context_new (MovieClip *clip, MovieClipUser *user, bool is_backwards) |
Context tracking start. | |
Called from possible job once before performing tracking steps. | |
| static void | blender::reference_keyframed_image_buffers (AutoTrackContext *context) |
| void | blender::BKE_autotrack_context_start (AutoTrackContext *context) |
Threaded context step (tracking process). | |
| static void | blender::autotrack_context_step_cb (void *__restrict userdata, const int marker_index, const TaskParallelTLS *__restrict tls) |
| static void | blender::autotrack_context_reduce (const void *__restrict, void *__restrict chunk_join, void *__restrict chunk) |
| bool | blender::BKE_autotrack_context_step (AutoTrackContext *context) |
Context data synchronization. | |
Used to copy tracking result to Blender side, while the tracking is still happening in its thread. | |
| void | blender::BKE_autotrack_context_sync (AutoTrackContext *context) |
| void | blender::BKE_autotrack_context_sync_user (AutoTrackContext *context, MovieClipUser *user) |
Finalization. | |
| void | blender::BKE_autotrack_context_finish (AutoTrackContext *context) |
| static void | blender::release_keyframed_image_buffers (AutoTrackContext *context) |
| void | blender::BKE_autotrack_context_free (AutoTrackContext *context) |