Blender  V3.3
BKE_writeavi.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
4 #pragma once
5 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /* generic blender movie support, could move to own module */
15 
16 struct RenderData;
17 struct ReportList;
18 struct Scene;
19 
20 typedef struct bMovieHandle {
21  int (*start_movie)(void *context_v,
22  const struct Scene *scene,
23  struct RenderData *rd,
24  int rectx,
25  int recty,
26  struct ReportList *reports,
27  bool preview,
28  const char *suffix);
29  int (*append_movie)(void *context_v,
30  struct RenderData *rd,
31  int start_frame,
32  int frame,
33  int *pixels,
34  int rectx,
35  int recty,
36  const char *suffix,
37  struct ReportList *reports);
38  void (*end_movie)(void *context_v);
39 
40  /* Optional function. */
41  void (*get_movie_path)(char *string,
42  const struct RenderData *rd,
43  bool preview,
44  const char *suffix);
45 
46  void *(*context_create)(void);
47  void (*context_free)(void *context_v);
49 
51 
55 void BKE_movie_filepath_get(char *string,
56  const struct RenderData *rd,
57  bool preview,
58  const char *suffix);
59 
60 #ifdef __cplusplus
61 }
62 #endif
struct bMovieHandle bMovieHandle
bMovieHandle * BKE_movie_handle_get(char imtype)
Definition: writeavi.c:98
void BKE_movie_filepath_get(char *string, const struct RenderData *rd, bool preview, const char *suffix)
Scene scene
SyclQueue void void size_t num_bytes void
static const pxr::TfToken preview("preview", pxr::TfToken::Immortal)
void(* get_movie_path)(char *string, const struct RenderData *rd, bool preview, const char *suffix)
Definition: BKE_writeavi.h:41
void(* end_movie)(void *context_v)
Definition: BKE_writeavi.h:38
int(* start_movie)(void *context_v, const struct Scene *scene, struct RenderData *rd, int rectx, int recty, struct ReportList *reports, bool preview, const char *suffix)
Definition: BKE_writeavi.h:21
void(* context_free)(void *context_v)
Definition: BKE_writeavi.h:47
int(* append_movie)(void *context_v, struct RenderData *rd, int start_frame, int frame, int *pixels, int rectx, int recty, const char *suffix, struct ReportList *reports)
Definition: BKE_writeavi.h:29