New upstream version 2.8.6
Fabian Greffrath
6 years ago
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for faad2 2.8.5. | |
2 | # Generated by GNU Autoconf 2.69 for faad2 2.8.6. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
586 | 586 | # Identity of this package. |
587 | 587 | PACKAGE_NAME='faad2' |
588 | 588 | PACKAGE_TARNAME='faad2' |
589 | PACKAGE_VERSION='2.8.5' | |
590 | PACKAGE_STRING='faad2 2.8.5' | |
589 | PACKAGE_VERSION='2.8.6' | |
590 | PACKAGE_STRING='faad2 2.8.6' | |
591 | 591 | PACKAGE_BUGREPORT='' |
592 | 592 | PACKAGE_URL='' |
593 | 593 | |
1343 | 1343 | # Omit some internal or obsolete options to make the list less imposing. |
1344 | 1344 | # This message is too long to be a string in the A/UX 3.1 sh. |
1345 | 1345 | cat <<_ACEOF |
1346 | \`configure' configures faad2 2.8.5 to adapt to many kinds of systems. | |
1346 | \`configure' configures faad2 2.8.6 to adapt to many kinds of systems. | |
1347 | 1347 | |
1348 | 1348 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1349 | 1349 | |
1414 | 1414 | |
1415 | 1415 | if test -n "$ac_init_help"; then |
1416 | 1416 | case $ac_init_help in |
1417 | short | recursive ) echo "Configuration of faad2 2.8.5:";; | |
1417 | short | recursive ) echo "Configuration of faad2 2.8.6:";; | |
1418 | 1418 | esac |
1419 | 1419 | cat <<\_ACEOF |
1420 | 1420 | |
1530 | 1530 | test -n "$ac_init_help" && exit $ac_status |
1531 | 1531 | if $ac_init_version; then |
1532 | 1532 | cat <<\_ACEOF |
1533 | faad2 configure 2.8.5 | |
1533 | faad2 configure 2.8.6 | |
1534 | 1534 | generated by GNU Autoconf 2.69 |
1535 | 1535 | |
1536 | 1536 | Copyright (C) 2012 Free Software Foundation, Inc. |
2070 | 2070 | This file contains any messages produced by compilers while |
2071 | 2071 | running configure, to aid debugging if configure makes a mistake. |
2072 | 2072 | |
2073 | It was created by faad2 $as_me 2.8.5, which was | |
2073 | It was created by faad2 $as_me 2.8.6, which was | |
2074 | 2074 | generated by GNU Autoconf 2.69. Invocation command line was |
2075 | 2075 | |
2076 | 2076 | $ $0 $@ |
2933 | 2933 | |
2934 | 2934 | # Define the identity of the package. |
2935 | 2935 | PACKAGE='faad2' |
2936 | VERSION='2.8.5' | |
2936 | VERSION='2.8.6' | |
2937 | 2937 | |
2938 | 2938 | |
2939 | 2939 | cat >>confdefs.h <<_ACEOF |
18295 | 18295 | # report actual input values of CONFIG_FILES etc. instead of their |
18296 | 18296 | # values after options handling. |
18297 | 18297 | ac_log=" |
18298 | This file was extended by faad2 $as_me 2.8.5, which was | |
18298 | This file was extended by faad2 $as_me 2.8.6, which was | |
18299 | 18299 | generated by GNU Autoconf 2.69. Invocation command line was |
18300 | 18300 | |
18301 | 18301 | CONFIG_FILES = $CONFIG_FILES |
18361 | 18361 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
18362 | 18362 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
18363 | 18363 | ac_cs_version="\\ |
18364 | faad2 config.status 2.8.5 | |
18364 | faad2 config.status 2.8.6 | |
18365 | 18365 | configured by $0, generated by GNU Autoconf 2.69, |
18366 | 18366 | with options \\"\$ac_cs_config\\" |
18367 | 18367 |
7 | 7 | dnl - mpeg4ip plugin (requires mpeg4ip's libmp4v2 to be installed) |
8 | 8 | |
9 | 9 | AC_PREREQ(2.50) |
10 | AC_INIT(faad2, 2.8.5) | |
10 | AC_INIT(faad2, 2.8.6) | |
11 | 11 | AC_CONFIG_AUX_DIR(.) |
12 | 12 | AM_INIT_AUTOMAKE([subdir-objects]) |
13 | 13 |
23 | 23 | |
24 | 24 | Summary: C library and frontend for decoding MPEG2/4 AAC |
25 | 25 | Name: faad2 |
26 | Version: 2.8.5 | |
26 | Version: 2.8.6 | |
27 | 27 | Release: 1 |
28 | 28 | License: GPL |
29 | 29 | Group: Applications/Multimedia |
177 | 177 | if (memcmp("soun", buf, 4)) |
178 | 178 | { |
179 | 179 | if (mp4config.verbose.header) |
180 | fprintf(stderr, "unsuported, skipping\n"); | |
180 | fprintf(stderr, "unsupported, skipping\n"); | |
181 | 181 | return ERR_UNSUPPORTED; |
182 | 182 | } |
183 | 183 | else |
59 | 59 | |
60 | 60 | #ifdef _WIN32 |
61 | 61 | #pragma pack(push, 8) |
62 | #ifndef NEAACDECAPI | |
63 | #define NEAACDECAPI __cdecl | |
64 | #endif | |
62 | #define NEAACDECAPI __declspec(dllexport) | |
65 | 63 | #elif defined(__GNUC__) && __GNUC__ >= 4 |
66 | #ifndef NEAACDECAPI | |
67 | #define NEAACDECAPI __attribute__((visibility("default"))) | |
68 | #endif | |
64 | #define NEAACDECAPI __attribute__((visibility("default"))) | |
69 | 65 | #else |
70 | #ifndef NEAACDECAPI | |
71 | #define NEAACDECAPI | |
72 | #endif | |
66 | #define NEAACDECAPI | |
73 | 67 | #endif |
74 | 68 | |
75 | 69 | #define FAAD2_VERSION "unknown" |
201 | 195 | unsigned char ps; |
202 | 196 | } NeAACDecFrameInfo; |
203 | 197 | |
204 | char NEAACDECAPI *NeAACDecGetErrorMessage(unsigned char errcode); | |
205 | ||
206 | unsigned long NEAACDECAPI NeAACDecGetCapabilities(void); | |
207 | ||
208 | NeAACDecHandle NEAACDECAPI NeAACDecOpen(void); | |
209 | ||
210 | NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); | |
211 | ||
212 | unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hDecoder, | |
198 | NEAACDECAPI char* NeAACDecGetErrorMessage(unsigned char errcode); | |
199 | ||
200 | NEAACDECAPI unsigned long NeAACDecGetCapabilities(void); | |
201 | ||
202 | NEAACDECAPI NeAACDecHandle NeAACDecOpen(void); | |
203 | ||
204 | NEAACDECAPI NeAACDecConfigurationPtr NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); | |
205 | ||
206 | NEAACDECAPI unsigned char NeAACDecSetConfiguration(NeAACDecHandle hDecoder, | |
213 | 207 | NeAACDecConfigurationPtr config); |
214 | 208 | |
215 | 209 | /* Init the library based on info from the AAC file (ADTS/ADIF) */ |
216 | long NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, | |
210 | NEAACDECAPI long NeAACDecInit(NeAACDecHandle hDecoder, | |
217 | 211 | unsigned char *buffer, |
218 | 212 | unsigned long buffer_size, |
219 | 213 | unsigned long *samplerate, |
220 | 214 | unsigned char *channels); |
221 | 215 | |
222 | 216 | /* Init the library using a DecoderSpecificInfo */ |
223 | char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, | |
217 | NEAACDECAPI char NeAACDecInit2(NeAACDecHandle hDecoder, | |
224 | 218 | unsigned char *pBuffer, |
225 | 219 | unsigned long SizeOfDecoderSpecificInfo, |
226 | 220 | unsigned long *samplerate, |
227 | 221 | unsigned char *channels); |
228 | 222 | |
229 | 223 | /* Init the library for DRM */ |
230 | char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate, | |
224 | NEAACDECAPI char NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate, | |
231 | 225 | unsigned char channels); |
232 | 226 | |
233 | void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame); | |
234 | ||
235 | void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder); | |
236 | ||
237 | void NEAACDECAPI *NeAACDecDecode(NeAACDecHandle hDecoder, | |
227 | NEAACDECAPI void NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame); | |
228 | ||
229 | NEAACDECAPI void NeAACDecClose(NeAACDecHandle hDecoder); | |
230 | ||
231 | NEAACDECAPI void* NeAACDecDecode(NeAACDecHandle hDecoder, | |
238 | 232 | NeAACDecFrameInfo *hInfo, |
239 | 233 | unsigned char *buffer, |
240 | 234 | unsigned long buffer_size); |
241 | 235 | |
242 | void NEAACDECAPI *NeAACDecDecode2(NeAACDecHandle hDecoder, | |
236 | NEAACDECAPI void* NeAACDecDecode2(NeAACDecHandle hDecoder, | |
243 | 237 | NeAACDecFrameInfo *hInfo, |
244 | 238 | unsigned char *buffer, |
245 | 239 | unsigned long buffer_size, |
246 | 240 | void **sample_buffer, |
247 | 241 | unsigned long sample_buffer_size); |
248 | 242 | |
249 | char NEAACDECAPI NeAACDecAudioSpecificConfig(unsigned char *pBuffer, | |
243 | NEAACDECAPI char NeAACDecAudioSpecificConfig(unsigned char *pBuffer, | |
250 | 244 | unsigned long buffer_size, |
251 | 245 | mp4AudioSpecificConfig *mp4ASC); |
252 | 246 | |
253 | 247 | /* Get version and copyright strings */ |
254 | int NEAACDECAPI NeAACDecGetVersion(char **faad_id_string, | |
248 | NEAACDECAPI int NeAACDecGetVersion(char **faad_id_string, | |
255 | 249 | char **faad_copyright_string); |
256 | 250 | |
257 | 251 | #ifdef _WIN32 |
63 | 63 | NeAACDecFrameInfo *hInfo); |
64 | 64 | |
65 | 65 | |
66 | int NEAACDECAPI NeAACDecGetVersion(char **faad_id_string, | |
66 | int NeAACDecGetVersion(char **faad_id_string, | |
67 | 67 | char **faad_copyright_string) |
68 | 68 | { |
69 | 69 | static char *libfaadName = PACKAGE_VERSION; |
80 | 80 | |
81 | 81 | return 0; |
82 | 82 | } |
83 | char NEAACDECAPI *NeAACDecGetErrorMessage(unsigned char errcode) | |
83 | ||
84 | char* NeAACDecGetErrorMessage(unsigned char errcode) | |
84 | 85 | { |
85 | 86 | if (errcode >= NUM_ERROR_MESSAGES) |
86 | 87 | return NULL; |
87 | 88 | return err_msg[errcode]; |
88 | 89 | } |
89 | 90 | |
90 | unsigned long NEAACDECAPI NeAACDecGetCapabilities(void) | |
91 | unsigned long NeAACDecGetCapabilities(void) | |
91 | 92 | { |
92 | 93 | uint32_t cap = 0; |
93 | 94 | |
114 | 115 | } |
115 | 116 | |
116 | 117 | const unsigned char mes[] = { 0x67,0x20,0x61,0x20,0x20,0x20,0x6f,0x20,0x72,0x20,0x65,0x20,0x6e,0x20,0x20,0x20,0x74,0x20,0x68,0x20,0x67,0x20,0x69,0x20,0x72,0x20,0x79,0x20,0x70,0x20,0x6f,0x20,0x63 }; |
117 | NeAACDecHandle NEAACDECAPI NeAACDecOpen(void) | |
118 | NeAACDecHandle NeAACDecOpen(void) | |
118 | 119 | { |
119 | 120 | uint8_t i; |
120 | 121 | NeAACDecStruct *hDecoder = NULL; |
175 | 176 | return hDecoder; |
176 | 177 | } |
177 | 178 | |
178 | NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder) | |
179 | NeAACDecConfigurationPtr NeAACDecGetCurrentConfiguration(NeAACDecHandle hpDecoder) | |
179 | 180 | { |
180 | 181 | NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; |
181 | 182 | if (hDecoder) |
188 | 189 | return NULL; |
189 | 190 | } |
190 | 191 | |
191 | unsigned char NEAACDECAPI NeAACDecSetConfiguration(NeAACDecHandle hpDecoder, | |
192 | unsigned char NeAACDecSetConfiguration(NeAACDecHandle hpDecoder, | |
192 | 193 | NeAACDecConfigurationPtr config) |
193 | 194 | { |
194 | 195 | NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; |
251 | 252 | } |
252 | 253 | |
253 | 254 | |
254 | long NEAACDECAPI NeAACDecInit(NeAACDecHandle hpDecoder, | |
255 | long NeAACDecInit(NeAACDecHandle hpDecoder, | |
255 | 256 | unsigned char *buffer, |
256 | 257 | unsigned long buffer_size, |
257 | 258 | unsigned long *samplerate, |
385 | 386 | } |
386 | 387 | |
387 | 388 | /* Init the library using a DecoderSpecificInfo */ |
388 | char NEAACDECAPI NeAACDecInit2(NeAACDecHandle hpDecoder, | |
389 | char NeAACDecInit2(NeAACDecHandle hpDecoder, | |
389 | 390 | unsigned char *pBuffer, |
390 | 391 | unsigned long SizeOfDecoderSpecificInfo, |
391 | 392 | unsigned long *samplerate, |
479 | 480 | } |
480 | 481 | |
481 | 482 | #ifdef DRM |
482 | char NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hpDecoder, | |
483 | char NeAACDecInitDRM(NeAACDecHandle *hpDecoder, | |
483 | 484 | unsigned long samplerate, |
484 | 485 | unsigned char channels) |
485 | 486 | { |
522 | 523 | } |
523 | 524 | #endif |
524 | 525 | |
525 | void NEAACDECAPI NeAACDecClose(NeAACDecHandle hpDecoder) | |
526 | void NeAACDecClose(NeAACDecHandle hpDecoder) | |
526 | 527 | { |
527 | 528 | uint8_t i; |
528 | 529 | NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; |
576 | 577 | if (hDecoder) faad_free(hDecoder); |
577 | 578 | } |
578 | 579 | |
579 | void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, long frame) | |
580 | void NeAACDecPostSeekReset(NeAACDecHandle hpDecoder, long frame) | |
580 | 581 | { |
581 | 582 | NeAACDecStruct* hDecoder = (NeAACDecStruct*)hpDecoder; |
582 | 583 | if (hDecoder) |
806 | 807 | } |
807 | 808 | } |
808 | 809 | |
809 | void NEAACDECAPI *NeAACDecDecode(NeAACDecHandle hpDecoder, | |
810 | void* NeAACDecDecode(NeAACDecHandle hpDecoder, | |
810 | 811 | NeAACDecFrameInfo *hInfo, |
811 | 812 | unsigned char *buffer, |
812 | 813 | unsigned long buffer_size) |
815 | 816 | return aac_frame_decode(hDecoder, hInfo, buffer, buffer_size, NULL, 0); |
816 | 817 | } |
817 | 818 | |
818 | void NEAACDECAPI *NeAACDecDecode2(NeAACDecHandle hpDecoder, | |
819 | void* NeAACDecDecode2(NeAACDecHandle hpDecoder, | |
819 | 820 | NeAACDecFrameInfo *hInfo, |
820 | 821 | unsigned char *buffer, |
821 | 822 | unsigned long buffer_size, |