Blender V5.3
clip_ops.cc File Reference
#include <cerrno>
#include <fcntl.h>
#include <mutex>
#include <sys/types.h>
#include <unistd.h>
#include "MEM_guardedalloc.h"
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
#include "BLI_fileops.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_path_utils.hh"
#include "BLI_rect.hh"
#include "BLI_string.hh"
#include "BLI_task_c.hh"
#include "BLI_time.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_movieclip.hh"
#include "BKE_report.hh"
#include "BKE_tracking.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "IMB_imbuf.hh"
#include "IMB_imbuf_types.hh"
#include "MOV_read.hh"
#include "ED_clip.hh"
#include "ED_screen.hh"
#include "UI_interface.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "UI_view2d.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_build.hh"
#include "clip_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ProxyJob
struct  blender::ProxyQueue
struct  blender::ProxyThread

Namespaces

namespace  blender
 BMesh Iterators.

Functions

View Navigation Utilities
static void blender::sclip_zoom_set (const bContext *C, float zoom, const float location[2], const bool zoom_to_pos)
static void blender::sclip_zoom_set_factor (const bContext *C, float zoomfac, const float location[2], const bool zoom_to_pos)
static void blender::sclip_zoom_set_factor_exec (bContext *C, const wmEvent *event, float factor)
Open Clip Operator
static void blender::clip_filesel (bContext *C, wmOperator *op, const char *dirpath)
static void blender::open_init (bContext *C, wmOperator *op)
static void blender::open_cancel (bContext *, wmOperator *op)
static wmOperatorStatus blender::open_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::open_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::CLIP_OT_open (wmOperatorType *ot)
Reload Clip Operator
static wmOperatorStatus blender::reload_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_reload (wmOperatorType *ot)
View Pan Operator

Move (pan) in incremental steps. For interactive pan see VIEW3D_OT_move.

static void blender::view_pan_init (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::view_pan_exit (bContext *C, wmOperator *op, bool cancel)
static wmOperatorStatus blender::view_pan_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::view_pan_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::view_pan_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::view_pan_cancel (bContext *C, wmOperator *op)
void blender::CLIP_OT_view_pan (wmOperatorType *ot)
View Zoom Operator
static void blender::view_zoom_init (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::view_zoom_exit (bContext *C, wmOperator *op, bool cancel)
static wmOperatorStatus blender::view_zoom_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::view_zoom_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::view_zoom_apply (bContext *C, ViewZoomData *vpd, wmOperator *op, const wmEvent *event, const bool zoom_to_pos)
static wmOperatorStatus blender::view_zoom_modal (bContext *C, wmOperator *op, const wmEvent *event)
static void blender::view_zoom_cancel (bContext *C, wmOperator *op)
void blender::CLIP_OT_view_zoom (wmOperatorType *ot)
View Zoom In/Out Operator
static wmOperatorStatus blender::view_zoom_in_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::view_zoom_in_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::CLIP_OT_view_zoom_in (wmOperatorType *ot)
static wmOperatorStatus blender::view_zoom_out_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::view_zoom_out_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::CLIP_OT_view_zoom_out (wmOperatorType *ot)
View Zoom Ratio Operator
static wmOperatorStatus blender::view_zoom_ratio_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_view_zoom_ratio (wmOperatorType *ot)
View All Operator

Move & Zoom the view to fit all of its contents.

static wmOperatorStatus blender::view_all_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_view_all (wmOperatorType *ot)
Center View To Cursor Operator
static wmOperatorStatus blender::view_center_cursor_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_view_center_cursor (wmOperatorType *ot)
Frame Selected Operator

Move & Zoom the view to fit selected contents.

static wmOperatorStatus blender::view_selected_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_view_selected (wmOperatorType *ot)
Change Frame Operator
static bool blender::change_frame_poll (bContext *C)
static void blender::change_frame_apply (bContext *C, wmOperator *op)
static wmOperatorStatus blender::change_frame_exec (bContext *C, wmOperator *op)
static int blender::frame_from_event (bContext *C, const wmEvent *event)
static wmOperatorStatus blender::change_frame_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::change_frame_modal (bContext *C, wmOperator *op, const wmEvent *event)
void blender::CLIP_OT_change_frame (wmOperatorType *ot)
Rebuild Proxy Operator
static void blender::proxy_freejob (void *pjv)
static int blender::proxy_bitflag_to_array (int size_flag, int build_sizes[4], int undistort)
static void blender::do_movie_proxy (void *pjv, int *, int, const int *build_undistort_sizes, int build_undistort_count, const bool *stop, bool *do_update, float *progress)
static uchar * blender::proxy_thread_next_frame (ProxyQueue *queue, MovieClip *clip, size_t *r_size, int *r_cfra)
static void blender::proxy_task_func (TaskPool *__restrict pool, void *task_data)
static void blender::do_sequence_proxy (void *pjv, int *build_sizes, int build_count, int *build_undistort_sizes, int build_undistort_count, bool *stop, bool *do_update, float *progress)
static void blender::proxy_startjob (void *pjv, wmJobWorkerStatus *worker_status)
static void blender::proxy_endjob (void *pjv)
static wmOperatorStatus blender::clip_rebuild_proxy_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_rebuild_proxy (wmOperatorType *ot)
Mode Set Operator
static wmOperatorStatus blender::mode_set_exec (bContext *C, wmOperator *op)
void blender::CLIP_OT_mode_set (wmOperatorType *ot)
Prefetch Operator
static wmOperatorStatus blender::clip_prefetch_modal (bContext *C, wmOperator *, const wmEvent *event)
static wmOperatorStatus blender::clip_prefetch_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::CLIP_OT_prefetch (wmOperatorType *ot)
Set Scene Frames Operator
static wmOperatorStatus blender::clip_set_scene_frames_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_set_scene_frames (wmOperatorType *ot)
Set 3d Cursor Operator
static wmOperatorStatus blender::clip_set_2d_cursor_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::clip_set_2d_cursor_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::CLIP_OT_cursor_set (wmOperatorType *ot)
Toggle Lock To Selection Operator
static wmOperatorStatus blender::lock_selection_toggle_exec (bContext *C, wmOperator *)
void blender::CLIP_OT_lock_selection_toggle (wmOperatorType *ot)
Macros
void blender::ED_operatormacros_clip ()