Blender  V3.3
openexr_stub.cpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright by Gernot Ziegler <gz@lysator.liu.se>. All rights reserved. */
3 
8 #include "openexr_api.h"
9 
10 #include "IMB_openexr.h"
11 
12 void *IMB_exr_get_handle(void)
13 {
14  return nullptr;
15 }
16 void *IMB_exr_get_handle_name(const char * /*name*/)
17 {
18  return nullptr;
19 }
20 void IMB_exr_add_channel(void * /*handle*/,
21  const char * /*layname*/,
22  const char * /*passname*/,
23  const char * /*view*/,
24  int /*xstride*/,
25  int /*ystride*/,
26  float * /*rect*/,
27  bool /*use_half_float*/)
28 {
29 }
30 
31 bool IMB_exr_begin_read(void * /*handle*/,
32  const char * /*filepath*/,
33  int * /*width*/,
34  int * /*height*/,
35  const bool /*add_channels*/)
36 {
37  return false;
38 }
39 bool IMB_exr_begin_write(void * /*handle*/,
40  const char * /*filepath*/,
41  int /*width*/,
42  int /*height*/,
43  int /*compress*/,
44  const struct StampData * /*stamp*/)
45 {
46  return false;
47 }
48 void IMB_exrtile_begin_write(void * /*handle*/,
49  const char * /*filepath*/,
50  int /*mipmap*/,
51  int /*width*/,
52  int /*height*/,
53  int /*tilex*/,
54  int /*tiley*/)
55 {
56 }
57 
58 void IMB_exr_set_channel(void * /*handle*/,
59  const char * /*layname*/,
60  const char * /*passname*/,
61  int /*xstride*/,
62  int /*ystride*/,
63  float * /*rect*/)
64 {
65 }
66 float *IMB_exr_channel_rect(void * /*handle*/,
67  const char * /*layname*/,
68  const char * /*passname*/,
69  const char * /*view*/)
70 {
71  return nullptr;
72 }
73 
74 void IMB_exr_read_channels(void * /*handle*/)
75 {
76 }
77 void IMB_exr_write_channels(void * /*handle*/)
78 {
79 }
80 void IMB_exrtile_write_channels(void * /*handle*/,
81  int /*partx*/,
82  int /*party*/,
83  int /*level*/,
84  const char * /*viewname*/,
85  bool /*empty*/)
86 {
87 }
88 void IMB_exr_clear_channels(void * /*handle*/)
89 {
90 }
91 
92 void IMB_exr_multilayer_convert(void * /*handle*/,
93  void * /*base*/,
94  void *(*/*addview*/)(void *base, const char *str),
95  void *(*/*addlayer*/)(void *base, const char *str),
96  void (*/*addpass*/)(void *base,
97  void *lay,
98  const char *str,
99  float *rect,
100  int totchan,
101  const char *chan_id,
102  const char *view))
103 {
104 }
105 
106 void IMB_exr_close(void * /*handle*/)
107 {
108 }
109 
110 void IMB_exr_add_view(void * /*handle*/, const char * /*name*/)
111 {
112 }
113 bool IMB_exr_has_multilayer(void * /*handle*/)
114 {
115  return false;
116 }
static AppView * view
#define str(s)
void IMB_exr_write_channels(void *)
bool IMB_exr_begin_read(void *, const char *, int *, int *, const bool)
void * IMB_exr_get_handle_name(const char *)
void IMB_exr_multilayer_convert(void *, void *, void *(*)(void *base, const char *str), void *(*)(void *base, const char *str), void(*)(void *base, void *lay, const char *str, float *rect, int totchan, const char *chan_id, const char *view))
void IMB_exr_read_channels(void *)
void IMB_exr_add_view(void *, const char *)
void IMB_exrtile_write_channels(void *, int, int, int, const char *, bool)
bool IMB_exr_has_multilayer(void *)
void IMB_exr_add_channel(void *, const char *, const char *, const char *, int, int, float *, bool)
void IMB_exr_set_channel(void *, const char *, const char *, int, int, float *)
bool IMB_exr_begin_write(void *, const char *, int, int, int, const struct StampData *)
void IMB_exrtile_begin_write(void *, const char *, int, int, int, int, int)
void * IMB_exr_get_handle(void)
void IMB_exr_clear_channels(void *)
float * IMB_exr_channel_rect(void *, const char *, const char *, const char *)
void IMB_exr_close(void *)