Blender V4.3
tracking_ops_track.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_time.h"
#include "BLI_utildefines.h"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_main.hh"
#include "BKE_movieclip.h"
#include "BKE_tracking.h"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_clip.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "DEG_depsgraph.hh"
#include "clip_intern.hh"
#include "tracking_ops_intern.hh"

Go to the source code of this file.

Classes

struct  TrackMarkersJob
 

Functions

static bool track_markers_testbreak ()
 
static int track_count_markers (SpaceClip *sc, MovieClip *clip, const int framenr)
 
static void track_init_markers (SpaceClip *sc, MovieClip *clip, const int framenr, int *r_frames_limit)
 
static bool track_markers_check_direction (int backwards, int curfra, int efra)
 
static bool track_markers_initjob (bContext *C, TrackMarkersJob *tmj, bool backwards, bool sequence)
 
static void track_markers_startjob (void *tmv, wmJobWorkerStatus *worker_status)
 
static void track_markers_updatejob (void *tmv)
 
static void track_markers_endjob (void *tmv)
 
static void track_markers_freejob (void *tmv)
 
static int track_markers (bContext *C, wmOperator *op, bool use_job)
 
static int track_markers_exec (bContext *C, wmOperator *op)
 
static int track_markers_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
static int track_markers_modal (bContext *C, wmOperator *, const wmEvent *event)
 
static std::string track_markers_get_description (bContext *, wmOperatorType *, PointerRNA *ptr)
 
void CLIP_OT_track_markers (wmOperatorType *ot)
 
static int refine_marker_exec (bContext *C, wmOperator *op)
 
void CLIP_OT_refine_markers (wmOperatorType *ot)
 

Function Documentation

◆ CLIP_OT_refine_markers()

◆ CLIP_OT_track_markers()

◆ refine_marker_exec()

◆ track_count_markers()

◆ track_init_markers()

◆ track_markers()

◆ track_markers_check_direction()

static bool track_markers_check_direction ( int backwards,
int curfra,
int efra )
static

Definition at line 101 of file tracking_ops_track.cc.

Referenced by track_markers_initjob().

◆ track_markers_endjob()

◆ track_markers_exec()

static int track_markers_exec ( bContext * C,
wmOperator * op )
static

Definition at line 357 of file tracking_ops_track.cc.

References track_markers().

Referenced by CLIP_OT_track_markers().

◆ track_markers_freejob()

static void track_markers_freejob ( void * tmv)
static

◆ track_markers_get_description()

static std::string track_markers_get_description ( bContext * ,
wmOperatorType * ,
PointerRNA * ptr )
static

Definition at line 383 of file tracking_ops_track.cc.

References ptr, RNA_boolean_get(), and TIP_.

Referenced by CLIP_OT_track_markers().

◆ track_markers_initjob()

◆ track_markers_invoke()

static int track_markers_invoke ( bContext * C,
wmOperator * op,
const wmEvent *  )
static

Definition at line 362 of file tracking_ops_track.cc.

References track_markers().

Referenced by CLIP_OT_track_markers().

◆ track_markers_modal()

static int track_markers_modal ( bContext * C,
wmOperator * ,
const wmEvent * event )
static

◆ track_markers_startjob()

◆ track_markers_testbreak()

static bool track_markers_testbreak ( )
static

Definition at line 51 of file tracking_ops_track.cc.

References G.

Referenced by track_markers_startjob().

◆ track_markers_updatejob()

static void track_markers_updatejob ( void * tmv)
static

Definition at line 252 of file tracking_ops_track.cc.

References BKE_autotrack_context_sync(), and TrackMarkersJob::context.

Referenced by track_markers().