don't crash when loading images > 65kB (fixes #13529)
[swfdec.git] / libswfdec / swfdec_blur_filter.c
blob3a40c40ac6199a18e2354caad32130db8adfe72e
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 (1102, 1, swfdec_blur_filter_get_blurX)
28 void
29 swfdec_blur_filter_get_blurX (SwfdecAsContext *cx, SwfdecAsObject *object,
30 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
32 SWFDEC_STUB ("BlurFilter.blurX (get)");
35 SWFDEC_AS_NATIVE (1102, 2, swfdec_blur_filter_set_blurX)
36 void
37 swfdec_blur_filter_set_blurX (SwfdecAsContext *cx, SwfdecAsObject *object,
38 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
40 SWFDEC_STUB ("BlurFilter.blurX (set)");
43 SWFDEC_AS_NATIVE (1102, 3, swfdec_blur_filter_get_blurY)
44 void
45 swfdec_blur_filter_get_blurY (SwfdecAsContext *cx, SwfdecAsObject *object,
46 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
48 SWFDEC_STUB ("BlurFilter.blurY (get)");
51 SWFDEC_AS_NATIVE (1102, 4, swfdec_blur_filter_set_blurY)
52 void
53 swfdec_blur_filter_set_blurY (SwfdecAsContext *cx, SwfdecAsObject *object,
54 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
56 SWFDEC_STUB ("BlurFilter.blurY (set)");
59 SWFDEC_AS_NATIVE (1102, 5, swfdec_blur_filter_get_quality)
60 void
61 swfdec_blur_filter_get_quality (SwfdecAsContext *cx, SwfdecAsObject *object,
62 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
64 SWFDEC_STUB ("BlurFilter.quality (get)");
67 SWFDEC_AS_NATIVE (1102, 6, swfdec_blur_filter_set_quality)
68 void
69 swfdec_blur_filter_set_quality (SwfdecAsContext *cx, SwfdecAsObject *object,
70 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
72 SWFDEC_STUB ("BlurFilter.quality (set)");
75 // constructor
76 SWFDEC_AS_NATIVE (1102, 0, swfdec_blur_filter_construct)
77 void
78 swfdec_blur_filter_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
79 guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret)
81 SWFDEC_STUB ("BlurFilter");