Blender  V2.93
openexr_stub.cpp
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * Copyright by Gernot Ziegler <gz@lysator.liu.se>.
17  * All rights reserved.
18  */
19 
24 #include "openexr_api.h"
25 #include "openexr_multi.h"
26 
27 void *IMB_exr_get_handle(void)
28 {
29  return nullptr;
30 }
31 void *IMB_exr_get_handle_name(const char * /*name*/)
32 {
33  return nullptr;
34 }
35 void IMB_exr_add_channel(void * /*handle*/,
36  const char * /*layname*/,
37  const char * /*passname*/,
38  const char * /*view*/,
39  int /*xstride*/,
40  int /*ystride*/,
41  float * /*rect*/,
42  bool /*use_half_float*/)
43 {
44 }
45 
46 int IMB_exr_begin_read(void * /*handle*/,
47  const char * /*filename*/,
48  int * /*width*/,
49  int * /*height*/)
50 {
51  return 0;
52 }
53 int IMB_exr_begin_write(void * /*handle*/,
54  const char * /*filename*/,
55  int /*width*/,
56  int /*height*/,
57  int /*compress*/,
58  const struct StampData * /*stamp*/)
59 {
60  return 0;
61 }
62 void IMB_exrtile_begin_write(void * /*handle*/,
63  const char * /*filename*/,
64  int /*mipmap*/,
65  int /*width*/,
66  int /*height*/,
67  int /*tilex*/,
68  int /*tiley*/)
69 {
70 }
71 
72 void IMB_exr_set_channel(void * /*handle*/,
73  const char * /*layname*/,
74  const char * /*passname*/,
75  int /*xstride*/,
76  int /*ystride*/,
77  float * /*rect*/)
78 {
79 }
80 float *IMB_exr_channel_rect(void * /*handle*/,
81  const char * /*layname*/,
82  const char * /*passname*/,
83  const char * /*view*/)
84 {
85  return nullptr;
86 }
87 
88 void IMB_exr_read_channels(void * /*handle*/)
89 {
90 }
91 void IMB_exr_write_channels(void * /*handle*/)
92 {
93 }
94 void IMB_exrtile_write_channels(void * /*handle*/,
95  int /*partx*/,
96  int /*party*/,
97  int /*level*/,
98  const char * /*viewname*/,
99  bool /*empty*/)
100 {
101 }
102 void IMB_exr_clear_channels(void * /*handle*/)
103 {
104 }
105 
106 void IMB_exr_multilayer_convert(void * /*handle*/,
107  void * /*base*/,
108  void *(*/*addview*/)(void *base, const char *str),
109  void *(*/*addlayer*/)(void *base, const char *str),
110  void (*/*addpass*/)(void *base,
111  void *lay,
112  const char *str,
113  float *rect,
114  int totchan,
115  const char *chan_id,
116  const char *view))
117 {
118 }
119 
120 void IMB_exr_close(void * /*handle*/)
121 {
122 }
123 
124 void IMB_exr_add_view(void * /*handle*/, const char * /*name*/)
125 {
126 }
127 bool IMB_exr_has_multilayer(void * /*handle*/)
128 {
129  return false;
130 }
static AppView * view
#define str(s)
void IMB_exr_write_channels(void *)
void * IMB_exr_get_handle_name(const char *)
int IMB_exr_begin_write(void *, const char *, int, int, int, const struct StampData *)
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)
int IMB_exr_begin_read(void *, const char *, int *, int *)
void IMB_exr_set_channel(void *, const char *, const char *, int, int, float *)
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 *)