49static void rna_MovieClip_size_get(
PointerRNA *
ptr,
int *values)
53 values[0] = clip->lastsize[0];
54 values[1] = clip->lastsize[1];
70static void rna_MovieClipUser_proxy_render_settings_update(
Main *bmain,
86 for (area =
static_cast<ScrArea *
>(screen->areabase.first); area; area = area->
next) {
87 for (sl =
static_cast<SpaceLink *
>(area->spacedata.first); sl; sl = sl->
next) {
91 if (&sc->
user == user) {
109 if (clip ==
nullptr || clip->anim ==
nullptr) {
114 if (metadata ==
nullptr) {
122static std::optional<std::string> rna_MovieClipUser_path(
const PointerRNA *
ptr)
150 "Ignore generated timecodes, seek in movie stream based on calculated timestamp"},
155 "Seek based on timestamps read from movie stream, giving the best match between scene and "
160 "Record Run No Gaps",
161 "Effectively convert movie to an image sequence, ignoring incomplete or dropped frames, "
162 "and changes in frame rate"},
163 {0,
nullptr, 0,
nullptr,
nullptr},
175 prop,
"25%",
"Build proxy resolution 25% of the original footage dimension");
181 prop,
"50%",
"Build proxy resolution 50% of the original footage dimension");
187 prop,
"75%",
"Build proxy resolution 75% of the original footage dimension");
193 prop,
"100%",
"Build proxy resolution 100% of the original footage dimension");
199 prop,
"25%",
"Build proxy resolution 25% of the original undistorted footage dimension");
205 prop,
"50%",
"Build proxy resolution 50% of the original undistorted footage dimension");
211 prop,
"75%",
"Build proxy resolution 75% of the original undistorted footage dimension");
218 prop,
"100%",
"Build proxy resolution 100% of the original undistorted footage dimension");
259 {0,
nullptr, 0,
nullptr,
nullptr},
266 "Parameters defining how a MovieClip data-block is used by another data-block");
275 prop,
"Current Frame",
"Current frame number in movie or image sequence");
283 "Display preview using full resolution or different proxy resolutions");
313 {
MCLIP_SRC_SEQUENCE,
"SEQUENCE", 0,
"Image Sequence",
"Multiple image files, as a sequence"},
315 {0,
nullptr, 0,
nullptr,
nullptr},
320 srna,
"MovieClip",
"MovieClip data-block referencing an external movie file");
339 prop,
"Use Proxy / Timecode",
"Use a preview proxy and/or timecode index for this clip");
349 "Width and height in pixels, zero when image data can't be loaded",
361 prop,
"Display Aspect",
"Display Aspect for this clip, does not affect rendering");
376 "Proxy Custom Directory",
377 "Create proxy images in a custom directory (default is movie location)");
385 prop,
nullptr,
nullptr,
nullptr,
"rna_GPencil_datablocks_annotations_poll");
395 "Global scene frame number at which this movie starts playing "
396 "(affects all data associated with a clip)");
405 "Offset of footage first frame relative to its file name "
406 "(affects only how footage is loading, does not change data associated with a clip)");
420 prop,
"Frame Rate",
"Detected frame rate of the movie clip in frames per second");
433 func,
"metadata",
"IDPropertyWrapPtr",
"",
"Dict-like object containing the metadata");
void BKE_movieclip_clear_cache(struct MovieClip *clip)
float BKE_movieclip_get_fps(struct MovieClip *clip)
void DEG_id_tag_update(ID *id, unsigned int flags)
@ MCLIP_PROXY_RENDER_SIZE_75
@ MCLIP_PROXY_RENDER_SIZE_100
@ MCLIP_PROXY_RENDER_SIZE_50
@ MCLIP_PROXY_RENDER_SIZE_FULL
@ MCLIP_PROXY_RENDER_SIZE_25
@ MCLIP_PROXY_UNDISTORTED_SIZE_100
@ MCLIP_PROXY_UNDISTORTED_SIZE_75
@ MCLIP_PROXY_UNDISTORTED_SIZE_50
@ MCLIP_PROXY_UNDISTORTED_SIZE_25
@ MCLIP_PROXY_RENDER_UNDISTORT
@ MCLIP_USE_PROXY_CUSTOM_DIR
MovieClip * ED_space_clip_get_clip(const SpaceClip *sc)
@ IMB_TC_RECORD_RUN_NO_GAPS
Contains defines and structs used throughout the imbuf module.
Read Guarded memory(de)allocation.
constexpr PointerRNA PointerRNA_NULL
PointerRNA RNA_pointer_create(ID *id, StructRNA *type, void *data)
void rna_def_animdata_common(StructRNA *srna)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_define_lib_overridable(const bool make_overridable)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
PropertyRNA * RNA_def_int_vector(StructOrFunctionRNA *cont_, const char *identifier, const int len, const int *default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
std::optional< std::string > rna_CameraBackgroundImage_image_or_movieclip_user_path(const PointerRNA *ptr)
static void rna_def_movieclip(BlenderRNA *brna)
static void rna_def_movieclip_proxy(BlenderRNA *brna)
void RNA_def_movieclip(BlenderRNA *brna)
static void rna_def_movieclipUser(BlenderRNA *brna)
static void rna_def_movieClipScopes(BlenderRNA *brna)
void SEQ_relations_invalidate_movieclip_strips(Main *bmain, MovieClip *clip_target)
struct MovieClipUser user