2 * Copyright (C) 2003-2006 David Schleef <ds@schleef.org>
3 * 2005-2006 Eric Anholt <eric@anholt.net>
4 * 2006 Benjamin Otte <otte@gnome.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301 USA
22 #ifndef _SWFDEC_INTERNAL_H_
23 #define _SWFDEC_INTERNAL_H_
25 #include <libswfdec/swfdec_types.h>
26 #include <libswfdec/swfdec_codec_audio.h>
27 #include <libswfdec/swfdec_codec_video.h>
34 SwfdecAudioDecoder
* swfdec_audio_decoder_adpcm_new (SwfdecAudioFormat type
,
36 SwfdecAudioOut format
);
38 SwfdecAudioDecoder
* swfdec_audio_decoder_mad_new (SwfdecAudioFormat type
,
40 SwfdecAudioOut format
);
43 SwfdecAudioDecoder
* swfdec_audio_decoder_ffmpeg_new (SwfdecAudioFormat type
,
45 SwfdecAudioOut format
);
48 SwfdecAudioDecoder
* swfdec_audio_decoder_gst_new (SwfdecAudioFormat type
,
50 SwfdecAudioOut format
);
55 SwfdecVideoDecoder
* swfdec_video_decoder_screen_new (SwfdecVideoFormat format
);
57 SwfdecVideoDecoder
* swfdec_video_decoder_ffmpeg_new (SwfdecVideoFormat format
);
60 SwfdecVideoDecoder
* swfdec_video_decoder_gst_new (SwfdecVideoFormat format
);
63 /* AS engine setup code */
65 void swfdec_player_preinit_global (SwfdecAsContext
* context
,
67 void swfdec_net_connection_init_context (SwfdecPlayer
* player
,
69 void swfdec_net_stream_init_context (SwfdecPlayer
* player
,
71 void swfdec_sprite_movie_init_context (SwfdecPlayer
* player
,
73 void swfdec_video_movie_init_context (SwfdecPlayer
* player
,