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