|
Blender
V2.93
|
#include <math.h>#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_math.h"#include "BLI_path_util.h"#include "BLI_rect.h"#include "BLI_string.h"#include "BLI_threads.h"#include "BLI_utildefines.h"#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "DNA_space_types.h"#include "DNA_vfont_types.h"#include "BKE_fcurve.h"#include "BKE_lib_id.h"#include "BKE_main.h"#include "IMB_colormanagement.h"#include "IMB_imbuf.h"#include "IMB_imbuf_types.h"#include "IMB_metadata.h"#include "BLI_math_color_blend.h"#include "RNA_access.h"#include "RE_pipeline.h"#include "SEQ_effects.h"#include "SEQ_proxy.h"#include "SEQ_render.h"#include "SEQ_utils.h"#include "BLF_api.h"#include "effects.h"#include "render.h"#include "strip_time.h"#include "utils.h"Go to the source code of this file.
Classes | |
| struct | WipeZone |
| struct | RenderGaussianBlurEffectInitData |
| struct | RenderGaussianBlurEffectThread |
Macros | |
| #define | RE_GAMMA_TABLE_SIZE 400 |
| #define | XOFF 8 |
| #define | YOFF 8 |
| #define | INDEX(_x, _y) (((_y) * (x) + (_x)) * 4) |
| #define | INDEX(_x, _y) (((_y) * (x) + (_x)) * 4) |
| #define | INDEX(_x, _y) (((_y) * (x) + (_x)) * 4) |
| #define | INDEX(_x, _y) (((_y) * (x) + (_x)) * 4) |
Typedefs | |
| typedef void(* | IMB_blend_func_byte) (unsigned char *dst, const unsigned char *src1, const unsigned char *src2) |
| typedef void(* | IMB_blend_func_float) (float *dst, const float *src1, const float *src2) |
| typedef struct WipeZone | WipeZone |
| typedef struct RenderGaussianBlurEffectInitData | RenderGaussianBlurEffectInitData |
| typedef struct RenderGaussianBlurEffectThread | RenderGaussianBlurEffectThread |
Enumerations | |
| enum | { GlowR = 0 , GlowG = 1 , GlowB = 2 , GlowA = 3 } |
Functions | |
| static struct SeqEffectHandle | get_sequence_effect_impl (int seq_type) |
| static void | slice_get_byte_buffers (const SeqRenderData *context, const ImBuf *ibuf1, const ImBuf *ibuf2, const ImBuf *ibuf3, const ImBuf *out, int start_line, unsigned char **rect1, unsigned char **rect2, unsigned char **rect3, unsigned char **rect_out) |
| static void | slice_get_float_buffers (const SeqRenderData *context, const ImBuf *ibuf1, const ImBuf *ibuf2, const ImBuf *ibuf3, const ImBuf *out, int start_line, float **rect1, float **rect2, float **rect3, float **rect_out) |
| static ImBuf * | prepare_effect_imbufs (const SeqRenderData *context, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| static void | init_alpha_over_or_under (Sequence *seq) |
| static void | do_alphaover_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_alphaover_effect_float (float facf0, float facf1, int x, int y, float *rect1, float *rect2, float *out) |
| static void | do_alphaover_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | do_alphaunder_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_alphaunder_effect_float (float facf0, float facf1, int x, int y, float *rect1, float *rect2, float *out) |
| static void | do_alphaunder_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | do_cross_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_cross_effect_float (float facf0, float facf1, int x, int y, float *rect1, float *rect2, float *out) |
| static void | do_cross_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | makeGammaTables (float gamma) |
| static float | gammaCorrect (float c) |
| static float | invGammaCorrect (float c) |
| static void | gamtabs (float gamma) |
| static void | build_gammatabs (void) |
| static void | init_gammacross (Sequence *UNUSED(seq)) |
| static void | load_gammacross (Sequence *UNUSED(seq)) |
| static void | free_gammacross (Sequence *UNUSED(seq), const bool UNUSED(do_id_user)) |
| static void | do_gammacross_effect_byte (float facf0, float UNUSED(facf1), int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_gammacross_effect_float (float facf0, float UNUSED(facf1), int x, int y, float *rect1, float *rect2, float *out) |
| static struct ImBuf * | gammacross_init_execution (const SeqRenderData *context, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| static void | do_gammacross_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | do_add_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_add_effect_float (float facf0, float facf1, int x, int y, float *rect1, float *rect2, float *out) |
| static void | do_add_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | do_sub_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_sub_effect_float (float UNUSED(facf0), float facf1, int x, int y, float *rect1, float *rect2, float *out) |
| static void | do_sub_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | do_drop_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect2i, unsigned char *rect1i, unsigned char *outi) |
| static void | do_drop_effect_float (float facf0, float facf1, int x, int y, float *rect2i, float *rect1i, float *outi) |
| static void | do_mul_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_mul_effect_float (float facf0, float facf1, int x, int y, float *rect1, float *rect2, float *out) |
| static void | do_mul_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| BLI_INLINE void | apply_blend_function_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out, IMB_blend_func_byte blend_function) |
| BLI_INLINE void | apply_blend_function_float (float facf0, float facf1, int x, int y, float *rect1, float *rect2, float *out, IMB_blend_func_float blend_function) |
| static void | do_blend_effect_float (float facf0, float facf1, int x, int y, float *rect1, float *rect2, int btype, float *out) |
| static void | do_blend_effect_byte (float facf0, float facf1, int x, int y, unsigned char *rect1, unsigned char *rect2, int btype, unsigned char *out) |
| static void | do_blend_mode_effect (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | init_colormix_effect (Sequence *seq) |
| static void | do_colormix_effect (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float UNUSED(facf0), float UNUSED(facf1), ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | precalc_wipe_zone (WipeZone *wipezone, WipeVars *wipe, int xo, int yo) |
| static float | in_band (float width, float dist, int side, int dir) |
| static float | check_zone (WipeZone *wipezone, int x, int y, Sequence *seq, float facf0) |
| static void | init_wipe_effect (Sequence *seq) |
| static int | num_inputs_wipe (void) |
| static void | free_wipe_effect (Sequence *seq, const bool UNUSED(do_id_user)) |
| static void | copy_wipe_effect (Sequence *dst, Sequence *src, const int UNUSED(flag)) |
| static void | do_wipe_effect_byte (Sequence *seq, float facf0, float UNUSED(facf1), int x, int y, unsigned char *rect1, unsigned char *rect2, unsigned char *out) |
| static void | do_wipe_effect_float (Sequence *seq, float facf0, float UNUSED(facf1), int x, int y, float *rect1, float *rect2, float *out) |
| static ImBuf * | do_wipe_effect (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| static void | init_transform_effect (Sequence *seq) |
| static int | num_inputs_transform (void) |
| static void | free_transform_effect (Sequence *seq, const bool UNUSED(do_id_user)) |
| static void | copy_transform_effect (Sequence *dst, Sequence *src, const int UNUSED(flag)) |
| static void | transform_image (int x, int y, int start_line, int total_lines, ImBuf *ibuf1, ImBuf *out, float scale_x, float scale_y, float translate_x, float translate_y, float rotate, int interpolation) |
| static void | do_transform_effect (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float UNUSED(facf0), float UNUSED(facf1), ImBuf *ibuf1, ImBuf *UNUSED(ibuf2), ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | RVBlurBitmap2_float (float *map, int width, int height, float blur, int quality) |
| static void | RVAddBitmaps_float (float *a, float *b, float *c, int width, int height) |
| static void | RVIsolateHighlights_float (const float *in, float *out, int width, int height, float threshold, float boost, float clamp) |
| static void | init_glow_effect (Sequence *seq) |
| static int | num_inputs_glow (void) |
| static void | free_glow_effect (Sequence *seq, const bool UNUSED(do_id_user)) |
| static void | copy_glow_effect (Sequence *dst, Sequence *src, const int UNUSED(flag)) |
| static void | do_glow_effect_byte (Sequence *seq, int render_size, float facf0, float UNUSED(facf1), int x, int y, unsigned char *rect1, unsigned char *UNUSED(rect2), unsigned char *out) |
| static void | do_glow_effect_float (Sequence *seq, int render_size, float facf0, float UNUSED(facf1), int x, int y, float *rect1, float *UNUSED(rect2), float *out) |
| static ImBuf * | do_glow_effect (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| static void | init_solid_color (Sequence *seq) |
| static int | num_inputs_color (void) |
| static void | free_solid_color (Sequence *seq, const bool UNUSED(do_id_user)) |
| static void | copy_solid_color (Sequence *dst, Sequence *src, const int UNUSED(flag)) |
| static int | early_out_color (Sequence *UNUSED(seq), float UNUSED(facf0), float UNUSED(facf1)) |
| static ImBuf * | do_solid_color (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| static int | num_inputs_multicam (void) |
| static int | early_out_multicam (Sequence *UNUSED(seq), float UNUSED(facf0), float UNUSED(facf1)) |
| static ImBuf * | do_multicam (const SeqRenderData *context, Sequence *seq, float timeline_frame, float UNUSED(facf0), float UNUSED(facf1), ImBuf *UNUSED(ibuf1), ImBuf *UNUSED(ibuf2), ImBuf *UNUSED(ibuf3)) |
| static int | num_inputs_adjustment (void) |
| static int | early_out_adjustment (Sequence *UNUSED(seq), float UNUSED(facf0), float UNUSED(facf1)) |
| static ImBuf * | do_adjustment_impl (const SeqRenderData *context, Sequence *seq, float timeline_frame) |
| static ImBuf * | do_adjustment (const SeqRenderData *context, Sequence *seq, float timeline_frame, float UNUSED(facf0), float UNUSED(facf1), ImBuf *UNUSED(ibuf1), ImBuf *UNUSED(ibuf2), ImBuf *UNUSED(ibuf3)) |
| static void | init_speed_effect (Sequence *seq) |
| static void | load_speed_effect (Sequence *seq) |
| static int | num_inputs_speed (void) |
| static void | free_speed_effect (Sequence *seq, const bool UNUSED(do_id_user)) |
| static void | copy_speed_effect (Sequence *dst, Sequence *src, const int UNUSED(flag)) |
| static int | early_out_speed (Sequence *UNUSED(seq), float UNUSED(facf0), float UNUSED(facf1)) |
| static void | store_icu_yrange_speed (Sequence *seq, short UNUSED(adrcode), float *ymin, float *ymax) |
| static int | seq_effect_speed_get_strip_content_length (const Sequence *seq) |
| void | seq_effect_speed_rebuild_map (Scene *scene, Sequence *seq, bool force) |
| float | seq_speed_effect_target_frame_get (const SeqRenderData *context, Sequence *seq, float timeline_frame, int input) |
| static float | speed_effect_interpolation_ratio_get (SpeedControlVars *s, Sequence *seq, float timeline_frame) |
| static ImBuf * | do_speed_effect (const SeqRenderData *context, Sequence *seq, float timeline_frame, float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| static void | do_overdrop_effect (const SeqRenderData *context, Sequence *UNUSED(seq), float UNUSED(timeline_frame), float facf0, float facf1, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *UNUSED(ibuf3), int start_line, int total_lines, ImBuf *out) |
| static void | init_gaussian_blur_effect (Sequence *seq) |
| static int | num_inputs_gaussian_blur (void) |
| static void | free_gaussian_blur_effect (Sequence *seq, const bool UNUSED(do_id_user)) |
| static void | copy_gaussian_blur_effect (Sequence *dst, Sequence *src, const int UNUSED(flag)) |
| static int | early_out_gaussian_blur (Sequence *seq, float UNUSED(facf0), float UNUSED(facf1)) |
| static float * | make_gaussian_blur_kernel (float rad, int size) |
| static void | do_gaussian_blur_effect_byte_x (Sequence *seq, int start_line, int x, int y, int frame_width, int UNUSED(frame_height), const unsigned char *rect, unsigned char *out) |
| static void | do_gaussian_blur_effect_byte_y (Sequence *seq, int start_line, int x, int y, int UNUSED(frame_width), int frame_height, const unsigned char *rect, unsigned char *out) |
| static void | do_gaussian_blur_effect_float_x (Sequence *seq, int start_line, int x, int y, int frame_width, int UNUSED(frame_height), float *rect, float *out) |
| static void | do_gaussian_blur_effect_float_y (Sequence *seq, int start_line, int x, int y, int UNUSED(frame_width), int frame_height, float *rect, float *out) |
| static void | do_gaussian_blur_effect_x_cb (const SeqRenderData *context, Sequence *seq, ImBuf *ibuf, int start_line, int total_lines, ImBuf *out) |
| static void | do_gaussian_blur_effect_y_cb (const SeqRenderData *context, Sequence *seq, ImBuf *ibuf, int start_line, int total_lines, ImBuf *out) |
| static void | render_effect_execute_init_handle (void *handle_v, int start_line, int tot_line, void *init_data_v) |
| static void * | render_effect_execute_do_x_thread (void *thread_data_v) |
| static void * | render_effect_execute_do_y_thread (void *thread_data_v) |
| static ImBuf * | do_gaussian_blur_effect (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float UNUSED(facf0), float UNUSED(facf1), ImBuf *ibuf1, ImBuf *UNUSED(ibuf2), ImBuf *UNUSED(ibuf3)) |
| static void | init_text_effect (Sequence *seq) |
| void | SEQ_effect_text_font_unload (TextVars *data, const bool do_id_user) |
| void | SEQ_effect_text_font_load (TextVars *data, const bool do_id_user) |
| static void | free_text_effect (Sequence *seq, const bool do_id_user) |
| static void | load_text_effect (Sequence *seq) |
| static void | copy_text_effect (Sequence *dst, Sequence *src, const int flag) |
| static int | num_inputs_text (void) |
| static int | early_out_text (Sequence *seq, float UNUSED(facf0), float UNUSED(facf1)) |
| static ImBuf * | do_text_effect (const SeqRenderData *context, Sequence *seq, float UNUSED(timeline_frame), float UNUSED(facf0), float UNUSED(facf1), ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| static void | init_noop (Sequence *UNUSED(seq)) |
| static void | load_noop (Sequence *UNUSED(seq)) |
| static void | free_noop (Sequence *UNUSED(seq), const bool UNUSED(do_id_user)) |
| static int | num_inputs_default (void) |
| static void | copy_effect_default (Sequence *dst, Sequence *src, const int UNUSED(flag)) |
| static void | free_effect_default (Sequence *seq, const bool UNUSED(do_id_user)) |
| static int | early_out_noop (Sequence *UNUSED(seq), float UNUSED(facf0), float UNUSED(facf1)) |
| static int | early_out_fade (Sequence *UNUSED(seq), float facf0, float facf1) |
| static int | early_out_mul_input2 (Sequence *UNUSED(seq), float facf0, float facf1) |
| static void | store_icu_yrange_noop (Sequence *UNUSED(seq), short UNUSED(adrcode), float *UNUSED(ymin), float *UNUSED(ymax)) |
| static void | get_default_fac_noop (Sequence *UNUSED(seq), float UNUSED(timeline_frame), float *facf0, float *facf1) |
| static void | get_default_fac_fade (Sequence *seq, float timeline_frame, float *facf0, float *facf1) |
| static struct ImBuf * | init_execution (const SeqRenderData *context, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3) |
| struct SeqEffectHandle | SEQ_effect_handle_get (Sequence *seq) |
| struct SeqEffectHandle | seq_effect_get_sequence_blend (Sequence *seq) |
| int | SEQ_effect_get_num_inputs (int seq_type) |
Variables | |
| static unsigned short | gamtab [65536] |
| static unsigned short | igamtab1 [256] |
| static bool | gamma_tabs_init = false |
| static float | gamma_range_table [RE_GAMMA_TABLE_SIZE+1] |
| static float | gamfactor_table [RE_GAMMA_TABLE_SIZE] |
| static float | inv_gamma_range_table [RE_GAMMA_TABLE_SIZE+1] |
| static float | inv_gamfactor_table [RE_GAMMA_TABLE_SIZE] |
| static float | color_domain_table [RE_GAMMA_TABLE_SIZE+1] |
| static float | color_step |
| static float | inv_color_step |
| static float | valid_gamma |
| static float | valid_inv_gamma |
| #define INDEX | ( | _x, | |
| _y | |||
| ) | (((_y) * (x) + (_x)) * 4) |
| #define INDEX | ( | _x, | |
| _y | |||
| ) | (((_y) * (x) + (_x)) * 4) |
| #define INDEX | ( | _x, | |
| _y | |||
| ) | (((_y) * (x) + (_x)) * 4) |
| #define INDEX | ( | _x, | |
| _y | |||
| ) | (((_y) * (x) + (_x)) * 4) |
| typedef void(* IMB_blend_func_byte) (unsigned char *dst, const unsigned char *src1, const unsigned char *src2) |
| typedef struct RenderGaussianBlurEffectInitData RenderGaussianBlurEffectInitData |
| typedef struct RenderGaussianBlurEffectThread RenderGaussianBlurEffectThread |
| BLI_INLINE void apply_blend_function_byte | ( | float | facf0, |
| float | facf1, | ||
| int | x, | ||
| int | y, | ||
| unsigned char * | rect1, | ||
| unsigned char * | rect2, | ||
| unsigned char * | out, | ||
| IMB_blend_func_byte | blend_function | ||
| ) |
Definition at line 1558 of file effects.c.
Referenced by do_blend_effect_byte().
| BLI_INLINE void apply_blend_function_float | ( | float | facf0, |
| float | facf1, | ||
| int | x, | ||
| int | y, | ||
| float * | rect1, | ||
| float * | rect2, | ||
| float * | out, | ||
| IMB_blend_func_float | blend_function | ||
| ) |
Definition at line 1602 of file effects.c.
Referenced by do_blend_effect_float().
|
static |
Definition at line 868 of file effects.c.
References gamma_tabs_init, gamtabs(), and makeGammaTables().
Referenced by gammacross_init_execution().
Definition at line 1933 of file effects.c.
References abs(), angle(), WipeZone::angle, KDL::asin(), DO_CLOCK_WIPE, DO_DOUBLE_WIPE, DO_IRIS_WIPE, DO_SINGLE_WIPE, WipeVars::edgeWidth, Sequence::effectdata, fabsf, WipeZone::flip, float(), WipeVars::forward, KDL::hypot(), hypotf, if(), in_band(), M_PI, min_ff(), min_ii(), output, WipeZone::pythangle, width, WipeZone::width, WipeVars::wipetype, x, WipeZone::xo, y, and WipeZone::yo.
Referenced by do_wipe_effect_byte(), and do_wipe_effect_float().
Definition at line 4049 of file effects.c.
References Sequence::effectdata, and MEM_dupallocN.
|
static |
Definition at line 3405 of file effects.c.
References Sequence::effectdata, and MEM_dupallocN.
Definition at line 2735 of file effects.c.
References Sequence::effectdata, and MEM_dupallocN.
Definition at line 2865 of file effects.c.
References Sequence::effectdata, and MEM_dupallocN.
Definition at line 3121 of file effects.c.
References Sequence::effectdata, MEM_dupallocN, NULL, and v.
Definition at line 3882 of file effects.c.
References data, Sequence::effectdata, LIB_ID_CREATE_NO_USER_REFCOUNT, MEM_dupallocN, and SEQ_effect_text_font_load().
Definition at line 2393 of file effects.c.
References Sequence::effectdata, and MEM_dupallocN.
Definition at line 2176 of file effects.c.
References Sequence::effectdata, and MEM_dupallocN.
|
static |
Definition at line 1136 of file effects.c.
References context, do_add_effect_byte(), do_add_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 3054 of file effects.c.
References context, do_adjustment_impl(), and NULL.
|
static |
Definition at line 3017 of file effects.c.
References clamp_i(), context, Sequence::enddisp, Sequence::machine, NULL, seq_find_metastrip_by_sequence(), SEQ_get_seqbase_by_seq(), seq_render_give_ibuf_seqbase(), Editing::seqbase, and Sequence::startdisp.
Referenced by do_adjustment().
|
static |
Definition at line 361 of file effects.c.
References context, do_alphaover_effect_byte(), do_alphaover_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 207 of file effects.c.
References premul_float_to_straight_uchar(), straight_uchar_to_premul_float(), x, and y.
Referenced by do_alphaover_effect(), and do_overdrop_effect().
|
static |
Definition at line 292 of file effects.c.
Referenced by do_alphaover_effect(), and do_overdrop_effect().
|
static |
Definition at line 568 of file effects.c.
References context, do_alphaunder_effect_byte(), do_alphaunder_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 393 of file effects.c.
References premul_float_to_straight_uchar(), straight_uchar_to_premul_float(), x, and y.
Referenced by do_alphaunder_effect().
|
static |
Definition at line 488 of file effects.c.
Referenced by do_alphaunder_effect().
|
static |
Definition at line 1728 of file effects.c.
References apply_blend_function_byte(), blend_color_add_byte(), blend_color_burn_byte(), blend_color_color_byte(), blend_color_darken_byte(), blend_color_difference_byte(), blend_color_dodge_byte(), blend_color_exclusion_byte(), blend_color_hardlight_byte(), blend_color_hue_byte(), blend_color_lighten_byte(), blend_color_linearburn_byte(), blend_color_linearlight_byte(), blend_color_luminosity_byte(), blend_color_mul_byte(), blend_color_overlay_byte(), blend_color_pinlight_byte(), blend_color_saturation_byte(), blend_color_screen_byte(), blend_color_softlight_byte(), blend_color_sub_byte(), blend_color_vividlight_byte(), SEQ_TYPE_ADD, SEQ_TYPE_BLEND_COLOR, SEQ_TYPE_COLOR_BURN, SEQ_TYPE_DARKEN, SEQ_TYPE_DIFFERENCE, SEQ_TYPE_DODGE, SEQ_TYPE_EXCLUSION, SEQ_TYPE_HARD_LIGHT, SEQ_TYPE_HUE, SEQ_TYPE_LIGHTEN, SEQ_TYPE_LIN_LIGHT, SEQ_TYPE_LINEAR_BURN, SEQ_TYPE_MUL, SEQ_TYPE_OVERLAY, SEQ_TYPE_PIN_LIGHT, SEQ_TYPE_SATURATION, SEQ_TYPE_SCREEN, SEQ_TYPE_SOFT_LIGHT, SEQ_TYPE_SUB, SEQ_TYPE_VALUE, SEQ_TYPE_VIVID_LIGHT, x, and y.
Referenced by do_blend_mode_effect(), and do_colormix_effect().
|
static |
Definition at line 1646 of file effects.c.
References apply_blend_function_float(), blend_color_add_float(), blend_color_burn_float(), blend_color_color_float(), blend_color_darken_float(), blend_color_difference_float(), blend_color_dodge_float(), blend_color_exclusion_float(), blend_color_hardlight_float(), blend_color_hue_float(), blend_color_lighten_float(), blend_color_linearburn_float(), blend_color_linearlight_float(), blend_color_luminosity_float(), blend_color_mul_float(), blend_color_overlay_float(), blend_color_pinlight_float(), blend_color_saturation_float(), blend_color_screen_float(), blend_color_softlight_float(), blend_color_sub_float(), blend_color_vividlight_float(), SEQ_TYPE_ADD, SEQ_TYPE_BLEND_COLOR, SEQ_TYPE_COLOR_BURN, SEQ_TYPE_DARKEN, SEQ_TYPE_DIFFERENCE, SEQ_TYPE_DODGE, SEQ_TYPE_EXCLUSION, SEQ_TYPE_HARD_LIGHT, SEQ_TYPE_HUE, SEQ_TYPE_LIGHTEN, SEQ_TYPE_LIN_LIGHT, SEQ_TYPE_LINEAR_BURN, SEQ_TYPE_MUL, SEQ_TYPE_OVERLAY, SEQ_TYPE_PIN_LIGHT, SEQ_TYPE_SATURATION, SEQ_TYPE_SCREEN, SEQ_TYPE_SOFT_LIGHT, SEQ_TYPE_SUB, SEQ_TYPE_VALUE, SEQ_TYPE_VIVID_LIGHT, x, and y.
Referenced by do_blend_mode_effect(), and do_colormix_effect().
|
static |
Definition at line 1812 of file effects.c.
References Sequence::blend_mode, context, do_blend_effect_byte(), do_blend_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 1853 of file effects.c.
References context, data, do_blend_effect_byte(), do_blend_effect_float(), Sequence::effectdata, NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 703 of file effects.c.
References context, do_cross_effect_byte(), do_cross_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 1001 of file effects.c.
References context, do_gammacross_effect_byte(), do_gammacross_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 889 of file effects.c.
References gammaCorrect(), invGammaCorrect(), premul_float_to_straight_uchar(), straight_uchar_to_premul_float(), x, and y.
Referenced by do_gammacross_effect().
|
static |
Definition at line 950 of file effects.c.
References gammaCorrect(), invGammaCorrect(), x, and y.
Referenced by do_gammacross_effect().
|
static |
Definition at line 3761 of file effects.c.
References context, IMB_freeImBuf(), IMB_processor_apply_threaded(), init_data(), NULL, prepare_effect_imbufs(), render_effect_execute_do_x_thread(), render_effect_execute_do_y_thread(), render_effect_execute_init_handle(), and ImBuf::y.
|
static |
Definition at line 3446 of file effects.c.
References data, Sequence::effectdata, INDEX, make_gaussian_blur_kernel(), MEM_freeN, x, and y.
Referenced by do_gaussian_blur_effect_x_cb().
|
static |
Definition at line 3496 of file effects.c.
References data, Sequence::effectdata, INDEX, make_gaussian_blur_kernel(), MEM_freeN, x, and y.
Referenced by do_gaussian_blur_effect_y_cb().
|
static |
Definition at line 3544 of file effects.c.
References data, Sequence::effectdata, INDEX, madd_v4_v4fl(), make_gaussian_blur_kernel(), MEM_freeN, mul_v4_v4fl(), x, and y.
Referenced by do_gaussian_blur_effect_x_cb().
|
static |
Definition at line 3585 of file effects.c.
References data, Sequence::effectdata, INDEX, madd_v4_v4fl(), make_gaussian_blur_kernel(), MEM_freeN, mul_v4_v4fl(), x, and y.
Referenced by do_gaussian_blur_effect_y_cb().
|
static |
Definition at line 3626 of file effects.c.
References context, do_gaussian_blur_effect_byte_x(), do_gaussian_blur_effect_float_x(), NULL, ImBuf::rect, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
Referenced by render_effect_execute_do_x_thread().
|
static |
Definition at line 3665 of file effects.c.
References context, do_gaussian_blur_effect_byte_y(), do_gaussian_blur_effect_float_y(), NULL, ImBuf::rect, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
Referenced by render_effect_execute_do_y_thread().
|
static |
Definition at line 2796 of file effects.c.
References context, do_glow_effect_byte(), do_glow_effect_float(), NULL, prepare_effect_imbufs(), ImBuf::rect, and ImBuf::rect_float.
|
static |
Definition at line 2740 of file effects.c.
References GlowVars::bNoComp, GlowVars::dDist, GlowVars::dQuality, Sequence::effectdata, GlowVars::fBoost, GlowVars::fClamp, GlowVars::fMini, IB_PROFILE_SRGB, IMB_buffer_byte_from_float(), IMB_buffer_float_from_byte(), IMB_buffer_float_premultiply(), IMB_buffer_float_unpremultiply(), MEM_freeN, MEM_mallocN, RVAddBitmaps_float(), RVBlurBitmap2_float(), RVIsolateHighlights_float(), x, and y.
Referenced by do_glow_effect().
|
static |
Definition at line 2774 of file effects.c.
References GlowVars::bNoComp, GlowVars::dDist, GlowVars::dQuality, Sequence::effectdata, GlowVars::fBoost, GlowVars::fClamp, GlowVars::fMini, RVAddBitmaps_float(), RVBlurBitmap2_float(), RVIsolateHighlights_float(), x, and y.
Referenced by do_glow_effect().
|
static |
Definition at line 1522 of file effects.c.
References context, do_mul_effect_byte(), do_mul_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 2973 of file effects.c.
References context, Sequence::machine, Sequence::multicam_source, NULL, SEQ_get_seqbase_by_seq(), seq_render_give_ibuf_seqbase(), and Editing::seqbase.
|
static |
Definition at line 3337 of file effects.c.
References context, do_alphaover_effect_byte(), do_alphaover_effect_float(), do_drop_effect_byte(), do_drop_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), slice_get_float_buffers(), x, and y.
|
static |
Definition at line 2875 of file effects.c.
References SolidColorVars::col, context, Sequence::effectdata, if(), prepare_effect_imbufs(), ImBuf::rect, ImBuf::rect_float, x, ImBuf::x, y, and ImBuf::y.
|
static |
Definition at line 3309 of file effects.c.
References context, Sequence::effectdata, SpeedControlVars::flags, get_sequence_effect_impl(), IMB_dupImBuf(), NULL, prepare_effect_imbufs(), seq_render_effect_execute_threaded(), SEQ_SPEED_USE_INTERPOLATION, SEQ_TYPE_CROSS, and speed_effect_interpolation_ratio_get().
|
static |
Definition at line 1271 of file effects.c.
References context, do_sub_effect_byte(), do_sub_effect_float(), NULL, ImBuf::rect_float, slice_get_byte_buffers(), and slice_get_float_buffers().
|
static |
Definition at line 3907 of file effects.c.
References BLF_BOLD, BLF_boundbox_ex(), BLF_buffer(), BLF_buffer_col(), BLF_descender(), BLF_disable(), BLF_draw_buffer(), BLF_DRAW_STR_DUMMY_MAX, BLF_enable(), BLF_height_max(), BLF_ITALIC, BLF_load(), blf_mono_font_render, BLF_position(), BLF_size(), BLF_width_max(), BLF_WORD_WRAP, BLF_wordwrap(), BLI_rctf_size_x(), ImBuf::channels, context, data, Sequence::effectdata, height, IMB_colormanagement_display_get_named(), IMB_rectfill_area_replace(), max_ii(), NULL, prepare_effect_imbufs(), ImBuf::rect, ImBuf::rect_float, SEQ_FONT_NOT_LOADED, SEQ_RENDER_SIZE_SCENE, SEQ_rendersize_to_scale_factor(), SEQ_TEXT_ALIGN_X_CENTER, SEQ_TEXT_ALIGN_X_LEFT, SEQ_TEXT_ALIGN_X_RIGHT, SEQ_TEXT_ALIGN_Y_BOTTOM, SEQ_TEXT_ALIGN_Y_CENTER, SEQ_TEXT_ALIGN_Y_TOP, SEQ_TEXT_BOLD, SEQ_TEXT_BOX, SEQ_TEXT_ITALIC, SEQ_TEXT_SHADOW, width, blender::gpu::wrap(), x, ImBuf::x, y, and ImBuf::y.
|
static |
Definition at line 2449 of file effects.c.
References context, DEG2RADF, Sequence::effectdata, if(), Scene::r, scene, RenderData::size, transform(), transform_image(), x, and y.
|
static |
Definition at line 2318 of file effects.c.
References context, do_wipe_effect_byte(), do_wipe_effect_float(), prepare_effect_imbufs(), ImBuf::rect, and ImBuf::rect_float.
|
static |
Definition at line 2181 of file effects.c.
References check_zone(), Sequence::effectdata, NULL, precalc_wipe_zone(), premul_float_to_straight_uchar(), straight_uchar_to_premul_float(), x, and y.
Referenced by do_wipe_effect().
|
static |
Definition at line 2253 of file effects.c.
References check_zone(), Sequence::effectdata, NULL, precalc_wipe_zone(), x, and y.
Referenced by do_wipe_effect().
|
static |
Definition at line 3012 of file effects.c.
References EARLY_NO_INPUT.
Definition at line 2870 of file effects.c.
References EARLY_NO_INPUT.
Definition at line 4068 of file effects.c.
References EARLY_DO_EFFECT, EARLY_USE_INPUT_1, and EARLY_USE_INPUT_2.
Definition at line 3410 of file effects.c.
References data, EARLY_DO_EFFECT, EARLY_USE_INPUT_1, and Sequence::effectdata.
Definition at line 4079 of file effects.c.
References EARLY_DO_EFFECT, and EARLY_USE_INPUT_1.
Definition at line 2968 of file effects.c.
References EARLY_NO_INPUT.
Definition at line 4063 of file effects.c.
References EARLY_DO_EFFECT.
Definition at line 3130 of file effects.c.
References EARLY_DO_EFFECT.
Definition at line 3896 of file effects.c.
References data, EARLY_NO_INPUT, EARLY_USE_INPUT_1, Sequence::effectdata, and SEQ_TEXT_SHADOW.
|
static |
Definition at line 4054 of file effects.c.
References Sequence::effectdata, MEM_freeN, and NULL.
|
static |
|
static |
Definition at line 3396 of file effects.c.
References Sequence::effectdata, MEM_freeN, and NULL.
|
static |
Definition at line 2726 of file effects.c.
References Sequence::effectdata, MEM_freeN, and NULL.
|
static |
|
static |
Definition at line 2856 of file effects.c.
References Sequence::effectdata, MEM_freeN, and NULL.
|
static |
|
static |
Definition at line 3865 of file effects.c.
References data, Sequence::effectdata, MEM_freeN, NULL, and SEQ_effect_text_font_unload().
|
static |
Definition at line 2385 of file effects.c.
References Sequence::effectdata, MEM_freeN, and NULL.
|
static |
Definition at line 2167 of file effects.c.
References Sequence::effectdata, MEM_freeN, and NULL.
Definition at line 788 of file effects.c.
References Freestyle::c, color_domain_table, floorf, gamfactor_table, gamma_range_table, inv_color_step, powf, RE_GAMMA_TABLE_SIZE, UNLIKELY, and valid_gamma.
Referenced by do_gammacross_effect_byte(), and do_gammacross_effect_float().
|
static |
Definition at line 990 of file effects.c.
References build_gammatabs(), context, and prepare_effect_imbufs().
|
static |
Definition at line 834 of file effects.c.
References Freestyle::a, gamtab, igamtab1, KDL::pow(), powf, and sqrtf.
Referenced by build_gammatabs().
|
static |
Definition at line 4103 of file effects.c.
References float(), Sequence::len, and Sequence::startdisp.
|
static |
Definition at line 4111 of file effects.c.
References context, and prepare_effect_imbufs().
Referenced by do_speed_effect(), and SEQ_effect_get_num_inputs().
|
static |
Definition at line 198 of file effects.c.
References Sequence::seq1, and Sequence::seq2.
|
static |
Definition at line 1840 of file effects.c.
References data, Sequence::effectdata, MEM_callocN, MEM_freeN, and SEQ_TYPE_OVERLAY.
|
static |
|
static |
|
static |
Definition at line 3382 of file effects.c.
References Sequence::effectdata, MEM_callocN, and MEM_freeN.
|
static |
Definition at line 2702 of file effects.c.
References GlowVars::bNoComp, GlowVars::dDist, GlowVars::dQuality, Sequence::effectdata, GlowVars::fBoost, GlowVars::fClamp, GlowVars::fMini, MEM_callocN, and MEM_freeN.
|
static |
Definition at line 2837 of file effects.c.
References SolidColorVars::col, Sequence::effectdata, MEM_callocN, and MEM_freeN.
|
static |
Definition at line 3079 of file effects.c.
References Sequence::effectdata, MEM_callocN, MEM_freeN, NULL, SEQ_SPEED_INTEGRATE, and v.
|
static |
Definition at line 3803 of file effects.c.
References BLI_strncpy(), copy_v4_fl(), data, Sequence::effectdata, MEM_callocN, MEM_freeN, NULL, SEQ_TEXT_ALIGN_X_CENTER, and SEQ_TEXT_ALIGN_Y_CENTER.
|
static |
Definition at line 2355 of file effects.c.
References Sequence::effectdata, MEM_callocN, MEM_freeN, and transform().
|
static |
Definition at line 2153 of file effects.c.
References Sequence::effectdata, MEM_callocN, and MEM_freeN.
Definition at line 814 of file effects.c.
References Freestyle::c, color_domain_table, floorf, inv_color_step, inv_gamfactor_table, inv_gamma_range_table, powf, RE_GAMMA_TABLE_SIZE, UNLIKELY, and valid_inv_gamma.
Referenced by do_gammacross_effect_byte(), and do_gammacross_effect_float().
|
static |
|
static |
Definition at line 3096 of file effects.c.
References Sequence::effectdata, NULL, and v.
|
static |
Definition at line 3876 of file effects.c.
References data, Sequence::effectdata, and SEQ_effect_text_font_load().
Definition at line 3420 of file effects.c.
References MEM_mallocN, R_FILTER_GAUSS, RE_filter_value(), size(), and sum().
Referenced by do_gaussian_blur_effect_byte_x(), do_gaussian_blur_effect_byte_y(), do_gaussian_blur_effect_float_x(), and do_gaussian_blur_effect_float_y().
|
static |
Definition at line 752 of file effects.c.
References color_domain_table, color_step, float(), gamfactor_table, gamma_range_table, inv_color_step, inv_gamfactor_table, inv_gamma_range_table, KDL::pow(), RE_GAMMA_TABLE_SIZE, valid_gamma, and valid_inv_gamma.
Referenced by build_gammatabs().
Definition at line 1896 of file effects.c.
References WipeVars::angle, WipeZone::angle, WipeVars::edgeWidth, fabsf, WipeZone::flip, WipeZone::pythangle, sqrtf, tanf, WipeZone::width, WipeZone::xo, and WipeZone::yo.
Referenced by do_wipe_effect_byte(), and do_wipe_effect_float().
|
static |
Definition at line 135 of file effects.c.
References context, IB_rect, IB_rectfloat, IMB_allocImBuf(), IMB_colormanagement_assign_float_colorspace(), IMB_metadata_copy(), IMB_rect_from_float(), ColorManagedColorspaceSettings::name, NULL, ImBuf::rect, ImBuf::rect_float, scene, seq_imbuf_to_sequencer_space(), Scene::sequencer_colorspace_settings, x, and y.
Referenced by do_gaussian_blur_effect(), do_glow_effect(), do_solid_color(), do_speed_effect(), do_text_effect(), do_wipe_effect(), gammacross_init_execution(), and get_sequence_effect_impl().
|
static |
Definition at line 3736 of file effects.c.
References RenderGaussianBlurEffectThread::context, do_gaussian_blur_effect_x_cb(), RenderGaussianBlurEffectThread::ibuf, NULL, RenderGaussianBlurEffectThread::out, RenderGaussianBlurEffectThread::seq, RenderGaussianBlurEffectThread::start_line, and RenderGaussianBlurEffectThread::tot_line.
Referenced by do_gaussian_blur_effect().
|
static |
Definition at line 3748 of file effects.c.
References RenderGaussianBlurEffectThread::context, do_gaussian_blur_effect_y_cb(), RenderGaussianBlurEffectThread::ibuf, NULL, RenderGaussianBlurEffectThread::out, RenderGaussianBlurEffectThread::seq, RenderGaussianBlurEffectThread::start_line, and RenderGaussianBlurEffectThread::tot_line.
Referenced by do_gaussian_blur_effect().
|
static |
Definition at line 3719 of file effects.c.
References RenderGaussianBlurEffectThread::context, RenderGaussianBlurEffectThread::ibuf, init_data(), RenderGaussianBlurEffectThread::out, RenderGaussianBlurEffectThread::seq, RenderGaussianBlurEffectThread::start_line, and RenderGaussianBlurEffectThread::tot_line.
Referenced by do_gaussian_blur_effect().
Definition at line 2659 of file effects.c.
References Freestyle::a, Freestyle::c, GlowA, GlowB, GlowG, GlowR, height, min_ff(), width, x, and y.
Referenced by do_glow_effect_byte(), and do_glow_effect_float().
|
static |
Definition at line 2508 of file effects.c.
References copy_v4_v4(), KDL::exp(), filter(), float(), height, M_PI, madd_v4_v4fl(), MEM_freeN, MEM_mallocN, NULL, swap(), width, x, y, and zero_v4().
Referenced by do_glow_effect_byte(), and do_glow_effect_float().
| int SEQ_effect_get_num_inputs | ( | int | seq_type | ) |
Definition at line 4328 of file effects.c.
References SeqEffectHandle::execute, SeqEffectHandle::execute_slice, get_sequence_effect_impl(), SeqEffectHandle::init_execution, and SeqEffectHandle::num_inputs.
Referenced by draw_seq_handle(), draw_seq_strips(), SEQ_add_effect_strip(), SEQ_edit_sequence_swap(), seq_effect_add_properties_poll(), seq_effect_find_selected(), seq_effect_speed_get_strip_content_length(), seq_render_effect_strip_impl(), SEQ_transform_sequence_can_be_translated(), SEQ_transform_single_image_check(), sequencer_add_effect_strip_invoke(), sequencer_change_effect_type_exec(), sequencer_reassign_inputs_exec(), and sequencer_swap_exec().
| struct SeqEffectHandle seq_effect_get_sequence_blend | ( | Sequence * | seq | ) |
Definition at line 4111 of file effects.c.
Referenced by seq_get_early_out_for_blend_mode(), and seq_render_strip_stack_apply_effect().
| struct SeqEffectHandle SEQ_effect_handle_get | ( | Sequence * | seq | ) |
Definition at line 4111 of file effects.c.
Referenced by blo_do_versions_270(), SEQ_add_effect_strip(), seq_dupli(), seq_effect_speed_rebuild_map(), seq_render_effect_strip_impl(), seq_sequence_free_ex(), sequencer_change_effect_type_exec(), and store_icu_yrange_speed().
|
static |
Generator strips with zero inputs have their length set to 1 permanently. In some cases it is useful to use speed effect on these strips because they can be animated. This can be done by using their length as is on timeline as content length. See T82698.
Definition at line 3163 of file effects.c.
References Sequence::enddisp, Sequence::len, SEQ_effect_get_num_inputs(), SEQ_TYPE_EFFECT, Sequence::startdisp, and Sequence::type.
Referenced by seq_effect_speed_rebuild_map().
Definition at line 3172 of file effects.c.
References Sequence::effectdata, Sequence::enddisp, evaluate_fcurve(), Sequence::flag, float(), Scene::id, id_data_find_fcurve(), Sequence::len, MEM_callocN, MEM_freeN, NULL, RNA_Sequence, scene, Sequence::seq1, SEQ_effect_handle_get(), seq_effect_speed_get_strip_content_length(), SEQ_SPEED_COMPRESS_IPO_Y, SEQ_SPEED_INTEGRATE, SEQ_USE_EFFECT_DEFAULT_FADE, Sequence::speed_fader, Sequence::start, Sequence::startdisp, and v.
Referenced by SEQ_relations_free_imbuf(), seq_speed_effect_target_frame_get(), sequence_invalidate_cache(), and update_changed_seq_recurs().
| void SEQ_effect_text_font_load | ( | TextVars * | data, |
| const bool | do_id_user | ||
| ) |
Definition at line 3849 of file effects.c.
References BLF_load(), BLI_assert, BLI_path_abs(), BLI_thread_is_main(), data, FILE_MAX, ID_BLEND_PATH_FROM_GLOBAL, id_us_plus(), NULL, and STRNCPY.
Referenced by copy_text_effect(), and load_text_effect().
| void SEQ_effect_text_font_unload | ( | TextVars * | data, |
| const bool | do_id_user | ||
| ) |
Definition at line 3833 of file effects.c.
References BLF_unload_id(), data, id_us_min(), and NULL.
Referenced by free_text_effect().
| float seq_speed_effect_target_frame_get | ( | const SeqRenderData * | context, |
| Sequence * | seq, | ||
| float | timeline_frame, | ||
| int | input | ||
| ) |
Definition at line 3279 of file effects.c.
References ceil(), context, Sequence::effectdata, SpeedControlVars::flags, floor(), SpeedControlVars::frameMap, seq_effect_speed_rebuild_map(), seq_give_frame_index(), SEQ_SPEED_USE_INTERPOLATION, and Sequence::start.
Referenced by seq_render_effect_strip_impl().
|
static |
Definition at line 76 of file effects.c.
References context, and ImBuf::rect.
Referenced by do_add_effect(), do_alphaover_effect(), do_alphaunder_effect(), do_blend_mode_effect(), do_colormix_effect(), do_cross_effect(), do_gammacross_effect(), do_gaussian_blur_effect_x_cb(), do_gaussian_blur_effect_y_cb(), do_mul_effect(), do_overdrop_effect(), and do_sub_effect().
|
static |
Definition at line 101 of file effects.c.
References context, and ImBuf::rect_float.
Referenced by do_add_effect(), do_alphaover_effect(), do_alphaunder_effect(), do_blend_mode_effect(), do_colormix_effect(), do_cross_effect(), do_gammacross_effect(), do_gaussian_blur_effect_x_cb(), do_gaussian_blur_effect_y_cb(), do_mul_effect(), do_overdrop_effect(), and do_sub_effect().
|
static |
Definition at line 3301 of file effects.c.
References floor(), SpeedControlVars::frameMap, and seq_give_frame_index().
Referenced by do_speed_effect().
|
static |
Definition at line 3135 of file effects.c.
References Sequence::effectdata, Sequence::len, SEQ_effect_handle_get(), SEQ_SPEED_COMPRESS_IPO_Y, SEQ_SPEED_INTEGRATE, and v.
|
static |
Definition at line 2398 of file effects.c.
References bicubic_interpolation(), bilinear_interpolation(), Freestyle::c, cosf, nearest_interpolation(), rotate(), sinf, x, and y.
Referenced by do_transform_effect().
|
static |
Definition at line 746 of file effects.c.
Referenced by gammaCorrect(), invGammaCorrect(), and makeGammaTables().
|
static |
Definition at line 747 of file effects.c.
Referenced by makeGammaTables(), and ui_draw_gradient().
|
static |
Definition at line 743 of file effects.c.
Referenced by gammaCorrect(), and makeGammaTables().
|
static |
Definition at line 742 of file effects.c.
Referenced by gammaCorrect(), and makeGammaTables().
|
static |
Definition at line 738 of file effects.c.
Referenced by build_gammatabs().
|
static |
|
static |
|
static |
Definition at line 748 of file effects.c.
Referenced by gammaCorrect(), invGammaCorrect(), and makeGammaTables().
|
static |
Definition at line 745 of file effects.c.
Referenced by invGammaCorrect(), and makeGammaTables().
|
static |
Definition at line 744 of file effects.c.
Referenced by invGammaCorrect(), and makeGammaTables().
|
static |
Definition at line 749 of file effects.c.
Referenced by gammaCorrect(), and makeGammaTables().
|
static |
Definition at line 750 of file effects.c.
Referenced by invGammaCorrect(), and makeGammaTables().