oops, I shifted the wrong value.
[swfdec.git] / swfdec / swfdec_convolution_filter.c
blobbcb6309732d09c5f6865551a0647715c8de727b3
1 /* Swfdec
2 * Copyright (C) 2007 Pekka Lampila <pekka.lampila@iki.fi>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301 USA
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
24 #include "swfdec_as_internal.h"
25 #include "swfdec_debug.h"
27 SWFDEC_AS_NATIVE (1109, 1, swfdec_convolution_filter_get_matrixX)
28 void
29 swfdec_convolution_filter_get_matrixX (SwfdecAsContext *cx,
30 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
31 SwfdecAsValue *ret)
33 SWFDEC_STUB ("ConvolutionFilter.matrixX (get)");
36 SWFDEC_AS_NATIVE (1109, 2, swfdec_convolution_filter_set_matrixX)
37 void
38 swfdec_convolution_filter_set_matrixX (SwfdecAsContext *cx,
39 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
40 SwfdecAsValue *ret)
42 SWFDEC_STUB ("ConvolutionFilter.matrixX (set)");
45 SWFDEC_AS_NATIVE (1109, 3, swfdec_convolution_filter_get_matrixY)
46 void
47 swfdec_convolution_filter_get_matrixY (SwfdecAsContext *cx,
48 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
49 SwfdecAsValue *ret)
51 SWFDEC_STUB ("ConvolutionFilter.matrixY (get)");
54 SWFDEC_AS_NATIVE (1109, 4, swfdec_convolution_filter_set_matrixY)
55 void
56 swfdec_convolution_filter_set_matrixY (SwfdecAsContext *cx,
57 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
58 SwfdecAsValue *ret)
60 SWFDEC_STUB ("ConvolutionFilter.matrixY (set)");
63 SWFDEC_AS_NATIVE (1109, 5, swfdec_convolution_filter_get_matrix)
64 void
65 swfdec_convolution_filter_get_matrix (SwfdecAsContext *cx,
66 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
67 SwfdecAsValue *ret)
69 SWFDEC_STUB ("ConvolutionFilter.matrix (get)");
72 SWFDEC_AS_NATIVE (1109, 6, swfdec_convolution_filter_set_matrix)
73 void
74 swfdec_convolution_filter_set_matrix (SwfdecAsContext *cx,
75 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
76 SwfdecAsValue *ret)
78 SWFDEC_STUB ("ConvolutionFilter.matrix (set)");
81 SWFDEC_AS_NATIVE (1109, 7, swfdec_convolution_filter_get_divisor)
82 void
83 swfdec_convolution_filter_get_divisor (SwfdecAsContext *cx,
84 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
85 SwfdecAsValue *ret)
87 SWFDEC_STUB ("ConvolutionFilter.divisor (get)");
90 SWFDEC_AS_NATIVE (1109, 8, swfdec_convolution_filter_set_divisor)
91 void
92 swfdec_convolution_filter_set_divisor (SwfdecAsContext *cx,
93 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
94 SwfdecAsValue *ret)
96 SWFDEC_STUB ("ConvolutionFilter.divisor (set)");
99 SWFDEC_AS_NATIVE (1109, 9, swfdec_convolution_filter_get_bias)
100 void
101 swfdec_convolution_filter_get_bias (SwfdecAsContext *cx,
102 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
103 SwfdecAsValue *ret)
105 SWFDEC_STUB ("ConvolutionFilter.bias (get)");
108 SWFDEC_AS_NATIVE (1109, 10, swfdec_convolution_filter_set_bias)
109 void
110 swfdec_convolution_filter_set_bias (SwfdecAsContext *cx,
111 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
112 SwfdecAsValue *ret)
114 SWFDEC_STUB ("ConvolutionFilter.bias (set)");
117 SWFDEC_AS_NATIVE (1109, 11, swfdec_convolution_filter_get_preserveAlpha)
118 void
119 swfdec_convolution_filter_get_preserveAlpha (SwfdecAsContext *cx,
120 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
121 SwfdecAsValue *ret)
123 SWFDEC_STUB ("ConvolutionFilter.preserveAlpha (get)");
126 SWFDEC_AS_NATIVE (1109, 12, swfdec_convolution_filter_set_preserveAlpha)
127 void
128 swfdec_convolution_filter_set_preserveAlpha (SwfdecAsContext *cx,
129 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
130 SwfdecAsValue *ret)
132 SWFDEC_STUB ("ConvolutionFilter.preserveAlpha (set)");
135 SWFDEC_AS_NATIVE (1109, 13, swfdec_convolution_filter_get_clamp)
136 void
137 swfdec_convolution_filter_get_clamp (SwfdecAsContext *cx,
138 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
139 SwfdecAsValue *ret)
141 SWFDEC_STUB ("ConvolutionFilter.clamp (get)");
144 SWFDEC_AS_NATIVE (1109, 14, swfdec_convolution_filter_set_clamp)
145 void
146 swfdec_convolution_filter_set_clamp (SwfdecAsContext *cx,
147 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
148 SwfdecAsValue *ret)
150 SWFDEC_STUB ("ConvolutionFilter.clamp (set)");
153 SWFDEC_AS_NATIVE (1109, 15, swfdec_convolution_filter_get_color)
154 void
155 swfdec_convolution_filter_get_color (SwfdecAsContext *cx,
156 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
157 SwfdecAsValue *ret)
159 SWFDEC_STUB ("ConvolutionFilter.color (get)");
162 SWFDEC_AS_NATIVE (1109, 16, swfdec_convolution_filter_set_color)
163 void
164 swfdec_convolution_filter_set_color (SwfdecAsContext *cx,
165 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
166 SwfdecAsValue *ret)
168 SWFDEC_STUB ("ConvolutionFilter.color (set)");
171 SWFDEC_AS_NATIVE (1109, 17, swfdec_convolution_filter_get_alpha)
172 void
173 swfdec_convolution_filter_get_alpha (SwfdecAsContext *cx,
174 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
175 SwfdecAsValue *ret)
177 SWFDEC_STUB ("ConvolutionFilter.alpha (get)");
180 SWFDEC_AS_NATIVE (1109, 18, swfdec_convolution_filter_set_alpha)
181 void
182 swfdec_convolution_filter_set_alpha (SwfdecAsContext *cx,
183 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
184 SwfdecAsValue *ret)
186 SWFDEC_STUB ("ConvolutionFilter.alpha (set)");
189 // constructor
190 SWFDEC_AS_NATIVE (1109, 0, swfdec_convolution_filter_contruct)
191 void
192 swfdec_convolution_filter_contruct (SwfdecAsContext *cx,
193 SwfdecAsObject *object, guint argc, SwfdecAsValue *argv,
194 SwfdecAsValue *ret)
196 SWFDEC_STUB ("ConvolutionFilter");