Blender  V3.3
SEQ_render.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2004 Blender Foundation. All rights reserved. */
3 
4 #pragma once
5 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #define SEQ_RENDER_THUMB_SIZE 256
15 
16 struct ListBase;
17 struct Main;
18 struct Scene;
19 struct Sequence;
20 struct rctf;
21 
22 typedef enum eSeqTaskId {
26 
27 typedef struct SeqRenderData {
28  struct Main *bmain;
30  struct Scene *scene;
31  int rectx;
32  int recty;
38  bool skip_cache;
41  int view_id;
42  /* ID of task for assigning temp cache entries to particular task(thread, etc.) */
44 
45  /* special case for OpenGL render */
47  // int gpu_samples;
48  // bool gpu_full_samples;
50 
57  float timeline_frame,
58  int chanshown);
60  float timeline_frame,
61  struct Sequence *seq);
66  struct Sequence *seq,
67  struct Sequence *seq_orig,
68  float frame_step,
69  rctf *view_area,
70  const short *stop);
75  struct Sequence *seq,
76  float timeline_frame,
77  rcti *crop,
78  bool clipped);
83  struct Sequence *seq,
84  float frame_step,
85  struct rctf *view_area);
90  struct Sequence *seq,
91  float last_frame,
92  float frame_step);
98  const struct Sequence *seq);
103  struct Sequence *seq,
104  struct Sequence *seq_orig,
105  rctf *view_area,
106  const short *stop);
107 
109 void SEQ_render_new_render_data(struct Main *bmain,
110  struct Depsgraph *depsgraph,
111  struct Scene *scene,
112  int rectx,
113  int recty,
114  int preview_render_size,
115  int for_render,
116  SeqRenderData *r_context);
117 int SEQ_render_evaluate_frame(struct ListBase *seqbase, int timeline_frame);
119  struct Sequence *seq,
120  int timeline_frame);
121 
122 void SEQ_render_imbuf_from_sequencer_space(struct Scene *scene, struct ImBuf *ibuf);
123 void SEQ_render_pixel_from_sequencer_space_v4(struct Scene *scene, float pixel[4]);
128 bool SEQ_render_is_muted(const struct ListBase *channels, const struct Sequence *seq);
129 
130 #ifdef __cplusplus
131 }
132 #endif
struct Depsgraph Depsgraph
Definition: DEG_depsgraph.h:35
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a producing a negative Combine Generate a color from its and blue channels(Deprecated)") DefNode(ShaderNode
struct SeqRenderData SeqRenderData
eSeqTaskId
Definition: SEQ_render.h:22
@ SEQ_TASK_PREFETCH_RENDER
Definition: SEQ_render.h:24
@ SEQ_TASK_MAIN_RENDER
Definition: SEQ_render.h:23
struct ImBuf * SEQ_get_thumbnail(const struct SeqRenderData *context, struct Sequence *seq, float timeline_frame, rcti *crop, bool clipped)
float SEQ_render_thumbnail_first_frame_get(const struct Scene *scene, struct Sequence *seq, float frame_step, struct rctf *view_area)
struct ImBuf * SEQ_render_give_ibuf_direct(const SeqRenderData *context, float timeline_frame, struct Sequence *seq)
Definition: render.c:1994
int SEQ_render_thumbnails_guaranteed_set_frame_step_get(const struct Scene *scene, const struct Sequence *seq)
void SEQ_render_new_render_data(struct Main *bmain, struct Depsgraph *depsgraph, struct Scene *scene, int rectx, int recty, int preview_render_size, int for_render, SeqRenderData *r_context)
Definition: render.c:205
void SEQ_render_thumbnails_base_set(const struct SeqRenderData *context, struct Sequence *seq, struct Sequence *seq_orig, rctf *view_area, const short *stop)
void SEQ_render_init_colorspace(struct Sequence *seq)
bool SEQ_render_is_muted(const struct ListBase *channels, const struct Sequence *seq)
void SEQ_render_imbuf_from_sequencer_space(struct Scene *scene, struct ImBuf *ibuf)
Definition: render.c:167
struct ImBuf * SEQ_render_give_ibuf(const SeqRenderData *context, float timeline_frame, int chanshown)
Definition: render.c:1925
float SEQ_render_thumbnail_next_frame_get(const struct Scene *scene, struct Sequence *seq, float last_frame, float frame_step)
struct StripElem * SEQ_render_give_stripelem(const struct Scene *scene, struct Sequence *seq, int timeline_frame)
void SEQ_render_thumbnails(const struct SeqRenderData *context, struct Sequence *seq, struct Sequence *seq_orig, float frame_step, rctf *view_area, const short *stop)
int SEQ_render_evaluate_frame(struct ListBase *seqbase, int timeline_frame)
void SEQ_render_pixel_from_sequencer_space_v4(struct Scene *scene, float pixel[4])
Definition: render.c:184
Scene scene
const Depsgraph * depsgraph
Definition: BKE_main.h:121
int preview_render_size
Definition: SEQ_render.h:33
struct Main * bmain
Definition: SEQ_render.h:28
bool is_proxy_render
Definition: SEQ_render.h:39
struct Scene * scene
Definition: SEQ_render.h:30
struct GPUOffScreen * gpu_offscreen
Definition: SEQ_render.h:46
bool skip_cache
Definition: SEQ_render.h:38
float motion_blur_shutter
Definition: SEQ_render.h:37
int motion_blur_samples
Definition: SEQ_render.h:36
bool use_proxies
Definition: SEQ_render.h:34
bool is_prefetch_render
Definition: SEQ_render.h:40
struct Depsgraph * depsgraph
Definition: SEQ_render.h:29
eSeqTaskId task_id
Definition: SEQ_render.h:43