Blender V4.3
BKE_writemovie.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11/* generic blender movie support, could move to own module */
12
13struct ImBuf;
14struct RenderData;
15struct ReportList;
16struct Scene;
17
19 bool (*start_movie)(void *context_v,
20 const Scene *scene,
21 RenderData *rd,
22 int rectx,
23 int recty,
24 ReportList *reports,
25 bool preview,
26 const char *suffix);
27 bool (*append_movie)(void *context_v,
28 RenderData *rd,
29 int start_frame,
30 int frame,
31 const ImBuf *image,
32 const char *suffix,
33 ReportList *reports);
34 void (*end_movie)(void *context_v);
35
36 /* Optional function. */
37 void (*get_movie_path)(char filepath[/*FILE_MAX*/ 1024],
38 const RenderData *rd,
39 bool preview,
40 const char *suffix);
41
42 void *(*context_create)();
43 void (*context_free)(void *context_v);
44};
45
47
51void BKE_movie_filepath_get(char filepath[/*FILE_MAX*/ 1024],
52 const RenderData *rd,
53 bool preview,
54 const char *suffix);
void BKE_movie_filepath_get(char filepath[1024], const RenderData *rd, bool preview, const char *suffix)
Definition writemovie.cc:93
bMovieHandle * BKE_movie_handle_get(char imtype)
Definition writemovie.cc:58
input_tx image(0, GPU_RGBA16F, Qualifier::WRITE, ImageType::FLOAT_2D, "preview_img") .compute_source("compositor_compute_preview.glsl") .do_static_compilation(true)
bool(* append_movie)(void *context_v, RenderData *rd, int start_frame, int frame, const ImBuf *image, const char *suffix, ReportList *reports)
void(* end_movie)(void *context_v)
void(* get_movie_path)(char filepath[1024], const RenderData *rd, bool preview, const char *suffix)
bool(* start_movie)(void *context_v, const Scene *scene, RenderData *rd, int rectx, int recty, ReportList *reports, bool preview, const char *suffix)
void(* context_free)(void *context_v)