Blender V5.0
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
8
9#include "BLI_string_ref.hh"
10#include "IMB_openexr.hh"
11
12ExrHandle *IMB_exr_get_handle(bool /*write_multipart*/)
13{
14 return nullptr;
15}
17 blender::StringRefNull /*layerpassname*/,
18 blender::StringRefNull /*channelnames*/,
19 blender::StringRefNull /*viewname*/,
20 blender::StringRefNull /*colorspace*/,
21 size_t /*xstride*/,
22 size_t /*ystride*/,
23 float * /*rect*/,
24 bool /*use_half_float*/)
25{
26}
27
28bool IMB_exr_begin_read(ExrHandle * /*handle*/,
29 const char * /*filepath*/,
30 int * /*width*/,
31 int * /*height*/,
32 const bool /*add_channels*/)
33{
34 return false;
35}
37 const char * /*filepath*/,
38 int /*width*/,
39 int /*height*/,
40 const double /*ppm*/[2],
41 int /*compress*/,
42 int /*quality*/,
43 const StampData * /*stamp*/)
44{
45 return false;
46}
47
49 blender::StringRefNull /*full_name*/,
50 int /*xstride*/,
51 int /*ystride*/,
52 float * /*rect*/)
53{
54 return false;
55}
56
57void IMB_exr_read_channels(ExrHandle * /*handle*/) {}
58void IMB_exr_write_channels(ExrHandle * /*handle*/) {}
59
61 void * /*base*/,
62 void *(* /*addview*/)(void *base, const char *str),
63 void *(* /*addlayer*/)(void *base, const char *str),
64 void (* /*addpass*/)(void *base,
65 void *lay,
66 const char *str,
67 float *rect,
68 int totchan,
69 const char *chan_id,
70 const char *view))
71{
72}
73
74void IMB_exr_close(ExrHandle * /*handle*/) {}
75
76void IMB_exr_add_view(ExrHandle * /*handle*/, const char * /*name*/) {}
78{
79 return false;
80}
81
82bool IMB_exr_get_ppm(ExrHandle * /*handle*/, double /*ppm*/[2])
83{
84 return false;
85}
static AppView * view
#define str(s)
void IMB_exr_read_channels(ExrHandle *)
void IMB_exr_multilayer_convert(ExrHandle *, 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))
bool IMB_exr_begin_read(ExrHandle *, const char *, int *, int *, const bool)
bool IMB_exr_has_multilayer(ExrHandle *)
bool IMB_exr_begin_write(ExrHandle *, const char *, int, int, const double[2], int, int, const StampData *)
bool IMB_exr_get_ppm(ExrHandle *, double[2])
ExrHandle * IMB_exr_get_handle(bool)
bool IMB_exr_set_channel(ExrHandle *, blender::StringRefNull, int, int, float *)
void IMB_exr_add_view(ExrHandle *, const char *)
void IMB_exr_close(ExrHandle *)
void IMB_exr_write_channels(ExrHandle *)
void IMB_exr_add_channels(ExrHandle *, blender::StringRefNull, blender::StringRefNull, blender::StringRefNull, blender::StringRefNull, size_t, size_t, float *, bool)