forked from OpenCL/GEGL-OpenCL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gegl-operation-context.h
54 lines (43 loc) · 2.5 KB
/
gegl-operation-context.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* This file is part of GEGL
*
* GEGL is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* GEGL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
*
* Copyright 2003 Calvin Williamson
* 2006-2008 Øyvind Kolås
* 2013 Daniel Sabo
*/
#ifndef __GEGL_OPERATION_CONTEXT_H__
#define __GEGL_OPERATION_CONTEXT_H__
G_BEGIN_DECLS
GeglBuffer *gegl_operation_context_get_target (GeglOperationContext *self,
const gchar *padname);
GeglBuffer *gegl_operation_context_get_source (GeglOperationContext *self,
const gchar *padname);
GObject *gegl_operation_context_get_object (GeglOperationContext *context,
const gchar *padname);
void gegl_operation_context_set_object (GeglOperationContext *context,
const gchar *padname,
GObject *data);
void gegl_operation_context_take_object (GeglOperationContext *context,
const gchar *padname,
GObject *data);
void gegl_operation_context_purge (GeglOperationContext *self);
gint gegl_operation_context_get_level (GeglOperationContext *self);
/* the rest of these functions are for internal use only */
GeglBuffer * gegl_operation_context_get_output_maybe_in_place (GeglOperation *operation,
GeglOperationContext *context,
GeglBuffer *input,
const GeglRectangle *roi);
G_END_DECLS
#endif /* __GEGL_OPERATION_CONTEXT_H__ */