Blender V4.5
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 "IMB_openexr.hh"
10
12{
13 return nullptr;
14}
15void *IMB_exr_get_handle_name(const char * /*name*/)
16{
17 return nullptr;
18}
19void IMB_exr_add_channel(void * /*handle*/,
20 const char * /*layname*/,
21 const char * /*passname*/,
22 const char * /*view*/,
23 int /*xstride*/,
24 int /*ystride*/,
25 float * /*rect*/,
26 bool /*use_half_float*/)
27{
28}
29
30bool IMB_exr_begin_read(void * /*handle*/,
31 const char * /*filepath*/,
32 int * /*width*/,
33 int * /*height*/,
34 const bool /*add_channels*/)
35{
36 return false;
37}
38bool IMB_exr_begin_write(void * /*handle*/,
39 const char * /*filepath*/,
40 int /*width*/,
41 int /*height*/,
42 const double /*ppm*/[2],
43 int /*compress*/,
44 int /*quality*/,
45 const StampData * /*stamp*/)
46{
47 return false;
48}
49
50bool IMB_exr_set_channel(void * /*handle*/,
51 const char * /*layname*/,
52 const char * /*passname*/,
53 int /*xstride*/,
54 int /*ystride*/,
55 float * /*rect*/)
56{
57 return false;
58}
59
60void IMB_exr_read_channels(void * /*handle*/) {}
61void IMB_exr_write_channels(void * /*handle*/) {}
62
63void IMB_exr_multilayer_convert(void * /*handle*/,
64 void * /*base*/,
65 void *(* /*addview*/)(void *base, const char *str),
66 void *(* /*addlayer*/)(void *base, const char *str),
67 void (* /*addpass*/)(void *base,
68 void *lay,
69 const char *str,
70 float *rect,
71 int totchan,
72 const char *chan_id,
73 const char *view))
74{
75}
76
77void IMB_exr_close(void * /*handle*/) {}
78
79void IMB_exr_add_view(void * /*handle*/, const char * /*name*/) {}
80bool IMB_exr_has_multilayer(void * /*handle*/)
81{
82 return false;
83}
84
85bool IMB_exr_get_ppm(void * /*handle*/, double /*ppm*/[2])
86{
87 return false;
88}
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_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 *)
bool IMB_exr_has_multilayer(void *)
bool IMB_exr_get_ppm(void *, double[2])
bool IMB_exr_begin_write(void *, const char *, int, int, const double[2], int, int, const StampData *)
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_exr_get_handle()
void IMB_exr_close(void *)