Mercurial > mplayer.hg
annotate libmpcodecs/ad.c @ 27445:9dce785d9ba6
Remove unused and untested function. It is only part of our local patchset.
author | diego |
---|---|
date | Fri, 22 Aug 2008 21:35:38 +0000 |
parents | 40057010b1fa |
children | d5d66bff938a |
rev | line source |
---|---|
5344 | 1 /* |
2 ad.c - audio decoder interface | |
3 */ | |
4 | |
5 #include <stdio.h> | |
6 #include <stdlib.h> | |
7 #include <string.h> | |
8 | |
9 #include "config.h" | |
10 | |
22599
4faee1254928
Add explicit location for headers from the stream/ directory.
diego
parents:
18765
diff
changeset
|
11 #include "stream/stream.h" |
22601
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
12 #include "libmpdemux/demuxer.h" |
ed8f90096c65
Add explicit location for headers from the libmpdemux/ directory.
diego
parents:
22599
diff
changeset
|
13 #include "libmpdemux/stheader.h" |
5344 | 14 #include "ad.h" |
15 | |
16 /* Missed vorbis, mad, dshow */ | |
17 | |
18 //extern ad_functions_t mpcodecs_ad_null; | |
19 extern ad_functions_t mpcodecs_ad_mp3lib; | |
20 extern ad_functions_t mpcodecs_ad_ffmpeg; | |
21 extern ad_functions_t mpcodecs_ad_liba52; | |
22 extern ad_functions_t mpcodecs_ad_hwac3; | |
17397
2e20dd653147
ad_hwmpa: pass-through fake audio codec for hardware mpeg decoders
nicodvb
parents:
17151
diff
changeset
|
23 extern ad_functions_t mpcodecs_ad_hwmpa; |
5344 | 24 extern ad_functions_t mpcodecs_ad_pcm; |
25 extern ad_functions_t mpcodecs_ad_dvdpcm; | |
26 extern ad_functions_t mpcodecs_ad_alaw; | |
27 extern ad_functions_t mpcodecs_ad_imaadpcm; | |
28 extern ad_functions_t mpcodecs_ad_msadpcm; | |
29 extern ad_functions_t mpcodecs_ad_dk3adpcm; | |
5519 | 30 extern ad_functions_t mpcodecs_ad_dk4adpcm; |
5344 | 31 extern ad_functions_t mpcodecs_ad_dshow; |
8326 | 32 extern ad_functions_t mpcodecs_ad_dmo; |
5344 | 33 extern ad_functions_t mpcodecs_ad_acm; |
5345 | 34 extern ad_functions_t mpcodecs_ad_msgsm; |
5356
739cad21c32c
Port dec_audio.c faad aac decoder to libmpcodecs, cleaned up code, improved buffering scheme.
atmos4
parents:
5345
diff
changeset
|
35 extern ad_functions_t mpcodecs_ad_faad; |
7174 | 36 extern ad_functions_t mpcodecs_ad_libvorbis; |
16915
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
15958
diff
changeset
|
37 extern ad_functions_t mpcodecs_ad_speex; |
5479
22b289d7f87f
libmad support, rewritten from scratch using Xine decoder as sample
arpi
parents:
5454
diff
changeset
|
38 extern ad_functions_t mpcodecs_ad_libmad; |
7174 | 39 extern ad_functions_t mpcodecs_ad_realaud; |
6927 | 40 extern ad_functions_t mpcodecs_ad_libdv; |
8008 | 41 extern ad_functions_t mpcodecs_ad_qtaudio; |
14276 | 42 extern ad_functions_t mpcodecs_ad_twin; |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
14276
diff
changeset
|
43 extern ad_functions_t mpcodecs_ad_libmusepack; |
23821 | 44 extern ad_functions_t mpcodecs_ad_libdca; |
5344 | 45 |
46 ad_functions_t* mpcodecs_ad_drivers[] = | |
47 { | |
48 // &mpcodecs_ad_null, | |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
49 #ifdef CONFIG_MP3LIB |
5344 | 50 &mpcodecs_ad_mp3lib, |
8026
b465ba5897a3
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
arpi
parents:
8008
diff
changeset
|
51 #endif |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
52 #ifdef CONFIG_LIBA52 |
5344 | 53 &mpcodecs_ad_liba52, |
54 &mpcodecs_ad_hwac3, | |
8026
b465ba5897a3
usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
arpi
parents:
8008
diff
changeset
|
55 #endif |
17397
2e20dd653147
ad_hwmpa: pass-through fake audio codec for hardware mpeg decoders
nicodvb
parents:
17151
diff
changeset
|
56 &mpcodecs_ad_hwmpa, |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
57 #ifdef CONFIG_LIBAVCODEC |
5344 | 58 &mpcodecs_ad_ffmpeg, |
59 #endif | |
60 &mpcodecs_ad_pcm, | |
61 &mpcodecs_ad_dvdpcm, | |
62 &mpcodecs_ad_alaw, | |
63 &mpcodecs_ad_imaadpcm, | |
64 &mpcodecs_ad_msadpcm, | |
65 &mpcodecs_ad_dk3adpcm, | |
5345 | 66 &mpcodecs_ad_msgsm, |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
67 #ifdef CONFIG_WIN32DLL |
5344 | 68 &mpcodecs_ad_dshow, |
8326 | 69 &mpcodecs_ad_dmo, |
5344 | 70 &mpcodecs_ad_acm, |
14276 | 71 &mpcodecs_ad_twin, |
8160 | 72 #endif |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
73 #ifdef CONFIG_QTX_CODECS |
8008 | 74 &mpcodecs_ad_qtaudio, |
5344 | 75 #endif |
27363
40057010b1fa
Change a bunch of codec-specific preprocessor directives from a HAVE_
diego
parents:
27341
diff
changeset
|
76 #ifdef CONFIG_FAAD |
5454 | 77 &mpcodecs_ad_faad, |
78 #endif | |
27363
40057010b1fa
Change a bunch of codec-specific preprocessor directives from a HAVE_
diego
parents:
27341
diff
changeset
|
79 #ifdef CONFIG_OGGVORBIS |
7174 | 80 &mpcodecs_ad_libvorbis, |
5356
739cad21c32c
Port dec_audio.c faad aac decoder to libmpcodecs, cleaned up code, improved buffering scheme.
atmos4
parents:
5345
diff
changeset
|
81 #endif |
27363
40057010b1fa
Change a bunch of codec-specific preprocessor directives from a HAVE_
diego
parents:
27341
diff
changeset
|
82 #ifdef CONFIG_SPEEX |
16915
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
15958
diff
changeset
|
83 &mpcodecs_ad_speex, |
6b1d1e4adaea
Speex support. Seeking and pts generation does not work.
reimar
parents:
15958
diff
changeset
|
84 #endif |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
85 #ifdef CONFIG_LIBMAD |
5479
22b289d7f87f
libmad support, rewritten from scratch using Xine decoder as sample
arpi
parents:
5454
diff
changeset
|
86 &mpcodecs_ad_libmad, |
22b289d7f87f
libmad support, rewritten from scratch using Xine decoder as sample
arpi
parents:
5454
diff
changeset
|
87 #endif |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
88 #ifdef CONFIG_REALCODECS |
7174 | 89 &mpcodecs_ad_realaud, |
6367 | 90 #endif |
27363
40057010b1fa
Change a bunch of codec-specific preprocessor directives from a HAVE_
diego
parents:
27341
diff
changeset
|
91 #ifdef CONFIG_LIBDV095 |
6927 | 92 &mpcodecs_ad_libdv, |
93 #endif | |
27363
40057010b1fa
Change a bunch of codec-specific preprocessor directives from a HAVE_
diego
parents:
27341
diff
changeset
|
94 #ifdef CONFIG_MUSEPACK |
15958
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
14276
diff
changeset
|
95 &mpcodecs_ad_libmusepack, |
087142ef3a2d
musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents:
14276
diff
changeset
|
96 #endif |
27341
e7c989f7a7c9
Start unifying names of internal preprocessor directives.
diego
parents:
26206
diff
changeset
|
97 #ifdef CONFIG_LIBDCA |
23821 | 98 &mpcodecs_ad_libdca, |
99 #endif | |
5344 | 100 NULL |
101 }; |