Permalink
Browse files

first commit

  • Loading branch information...
teknoraver committed Apr 5, 2010
0 parents commit 3218842a8c8ddddd746dd862d9dbcb18846a93a6
Showing with 39,167 additions and 0 deletions.
  1. +1 −0 CHANGELOG
  2. +7 −0 COPYRIGHT
  3. +43 −0 Makefile
  4. +40 −0 aacplusenc.1
  5. +762 −0 aacplusenc.c
  6. +60 −0 adts.h
  7. +54 −0 au_channel.h
  8. +79 −0 configure
  9. +194 −0 debian/changelog
  10. +1 −0 debian/compat
  11. +14 −0 debian/control
  12. +30 −0 debian/rules
  13. +45 −0 libaacenc/Makefile
  14. +44 −0 libaacenc/aac_ram.c
  15. +26 −0 libaacenc/aac_ram.h
  16. +1,903 −0 libaacenc/aac_rom.c
  17. +104 −0 libaacenc/aac_rom.h
  18. +476 −0 libaacenc/aacenc.c
  19. +83 −0 libaacenc/aacenc.h
  20. +1,604 −0 libaacenc/adj_thr.c
  21. +36 −0 libaacenc/adj_thr.h
  22. +42 −0 libaacenc/adj_thr_data.h
  23. +101 −0 libaacenc/band_nrg.c
  24. +24 −0 libaacenc/band_nrg.h
  25. +1,485 −0 libaacenc/bit_cnt.c
  26. +84 −0 libaacenc/bit_cnt.h
  27. +958 −0 libaacenc/bitenc.c
  28. +30 −0 libaacenc/bitenc.h
  29. +468 −0 libaacenc/block_switch.c
  30. +40 −0 libaacenc/block_switch.h
  31. +163 −0 libaacenc/channel_map.c
  32. +20 −0 libaacenc/channel_map.h
  33. +38 −0 libaacenc/counters.h
  34. +798 −0 libaacenc/dyn_bits.c
  35. +61 −0 libaacenc/dyn_bits.h
  36. +291 −0 libaacenc/grp_data.c
  37. +24 −0 libaacenc/grp_data.h
  38. +119 −0 libaacenc/interface.c
  39. +77 −0 libaacenc/interface.h
  40. +163 −0 libaacenc/line_pe.c
  41. +41 −0 libaacenc/line_pe.h
  42. +11 −0 libaacenc/minmax.h
  43. +148 −0 libaacenc/ms_stereo.c
  44. +26 −0 libaacenc/ms_stereo.h
  45. +74 −0 libaacenc/pre_echo_control.c
  46. +19 −0 libaacenc/pre_echo_control.h
  47. +647 −0 libaacenc/psy_configuration.c
  48. +81 −0 libaacenc/psy_configuration.h
  49. +66 −0 libaacenc/psy_const.h
  50. +44 −0 libaacenc/psy_data.h
  51. +975 −0 libaacenc/psy_main.c
  52. +49 −0 libaacenc/psy_main.h
  53. +111 −0 libaacenc/qc_data.h
  54. +798 −0 libaacenc/qc_main.c
  55. +41 −0 libaacenc/qc_main.h
  56. +218 −0 libaacenc/quantize.c
  57. +26 −0 libaacenc/quantize.h
  58. +1,330 −0 libaacenc/sf_estim.c
  59. +24 −0 libaacenc/sf_estim.h
  60. +49 −0 libaacenc/spreading.c
  61. +12 −0 libaacenc/spreading.h
  62. +291 −0 libaacenc/stat_bits.c
  63. +16 −0 libaacenc/stat_bits.h
  64. +422 −0 libaacenc/stprepro.c
  65. +66 −0 libaacenc/stprepro.h
  66. +1,257 −0 libaacenc/tns.c
  67. +90 −0 libaacenc/tns.h
  68. +51 −0 libaacenc/tns_func.h
  69. +118 −0 libaacenc/tns_param.c
  70. +29 −0 libaacenc/tns_param.h
  71. +475 −0 libaacenc/transform.c
  72. +12 −0 libaacenc/transform.h
  73. +70 −0 libbitbuf/FFR_bitbuffer.h
  74. +20 −0 libbitbuf/Makefile
  75. +363 −0 libbitbuf/bitbuffer.c
  76. +28 −0 libfr/FloatFR.h
  77. +20 −0 libfr/Makefile
  78. +1,400 −0 libfr/cfftn.c
  79. +26 −0 libfr/cfftn.h
  80. +38 −0 libfr/counters.h
  81. +70 −0 libfr/transcendent.c
  82. +20 −0 libresamp/Makefile
  83. +212 −0 libresamp/iir32resample.c
  84. +19 −0 libresamp/iir32resample.h
  85. +327 −0 libresamp/resampler.c
  86. +54 −0 libresamp/resampler.h
  87. +37 −0 libsbrenc/Makefile
  88. +1,290 −0 libsbrenc/bit_sbr.c
  89. +39 −0 libsbrenc/bit_sbr.h
  90. +26 −0 libsbrenc/cmondata.h
  91. +769 −0 libsbrenc/code_env.c
  92. +72 −0 libsbrenc/code_env.h
  93. +200 −0 libsbrenc/env_bit.c
  94. +52 −0 libsbrenc/env_bit.h
  95. +1,785 −0 libsbrenc/env_est.c
  96. +69 −0 libsbrenc/env_est.h
  97. +1,775 −0 libsbrenc/fram_gen.c
  98. +124 −0 libsbrenc/fram_gen.h
  99. +849 −0 libsbrenc/freq_sca.c
  100. +43 −0 libsbrenc/freq_sca.h
  101. +428 −0 libsbrenc/hybrid.c
  102. +56 −0 libsbrenc/hybrid.h
  103. +598 −0 libsbrenc/invf_est.c
  104. +96 −0 libsbrenc/invf_est.h
  105. +1,390 −0 libsbrenc/mh_det.c
  106. +80 −0 libsbrenc/mh_det.h
  107. +614 −0 libsbrenc/nf_est.c
  108. +73 −0 libsbrenc/nf_est.h
  109. +526 −0 libsbrenc/ps_bitenc.c
  110. +26 −0 libsbrenc/ps_bitenc.h
  111. +707 −0 libsbrenc/ps_enc.c
  112. +104 −0 libsbrenc/ps_enc.h
  113. +1,282 −0 libsbrenc/qmf_enc.c
  114. +60 −0 libsbrenc/qmf_enc.h
  115. +173 −0 libsbrenc/sbr.h
  116. +185 −0 libsbrenc/sbr_def.h
  117. +1,103 −0 libsbrenc/sbr_main.c
  118. +129 −0 libsbrenc/sbr_main.h
  119. +174 −0 libsbrenc/sbr_misc.c
  120. +15 −0 libsbrenc/sbr_misc.h
  121. +159 −0 libsbrenc/sbr_ram.c
  122. +31 −0 libsbrenc/sbr_ram.h
  123. +1,458 −0 libsbrenc/sbr_rom.c
  124. +56 −0 libsbrenc/sbr_rom.h
  125. +868 −0 libsbrenc/ton_corr.c
  126. +112 −0 libsbrenc/ton_corr.h
  127. +595 −0 libsbrenc/tran_det.c
  128. +63 −0 libsbrenc/tran_det.h
@@ -0,0 +1,7 @@
+AAC encoder and SBR algorithm
+Copyright (c) Coding Technologies 2003
+All Rights Reserved
+
+Wav and ADTS header handling routines
+Copyright (c) Matteo Croce 2006-2007
+All Rights Reserved
@@ -0,0 +1,43 @@
+include config.mak
+TOPDIR=$(CURDIR)
+export CFLAGS=-Wall -pedantic -O3 -ftree-vectorize -I$(TOPDIR)/libaacenc -I$(TOPDIR)/libbitbuf -I$(TOPDIR)/libfr -I$(TOPDIR)/libsbrenc -I$(TOPDIR)/libresamp $(EXTRACFLAGS)
+SUBDIRS=libaacenc libbitbuf libfr libsbrenc libresamp
+LIBS=libaacenc/libaacenc.a libbitbuf/libbitbuf.a libfr/libfr.a libsbrenc/libsbrenc.a libresamp/libresamp.a
+TARGET=aacplusenc
+
+LDFLAGS=-lm
+LDFLAGS+=-L$(TOPDIR)/libaacenc -L$(TOPDIR)/libbitbuf -L$(TOPDIR)/libfr -L$(TOPDIR)/libsbrenc -L$(TOPDIR)/libresamp
+LDFLAGS+=-laacenc -lbitbuf -lfr -lsbrenc -lresamp
+
+ifdef FFTW3
+ LDFLAGS+=-lfftw3f
+endif
+
+
+INSTDIR=/usr/local
+
+%.a:
+ $(MAKE) -C $$(dirname $*)
+
+all: config.h $(TARGET)
+
+$(TARGET): $(LIBS) au_channel.h adts.h aacplusenc.c
+ for i in $(LIBS) ; do \
+ $(MAKE) $$i ;\
+ done
+ $(CC) $(CFLAGS) -o $(TARGET) aacplusenc.c $(LDFLAGS)
+
+.PHONY: clean
+clean:
+ rm -f $(ofiles) $(TARGET) config.* test-*
+ for i in $(SUBDIRS) ; do \
+ $(MAKE) -C $$i clean ;\
+ done
+
+install: all
+ mkdir -p $(INSTDIR)/bin
+ cp aacplusenc $(INSTDIR)/bin
+ strip -s -R.comment $(INSTDIR)/bin/aacplusenc
+
+config.mak:
+ ./configure
@@ -0,0 +1,40 @@
+.TH "AACPLUSENC" "1" "19 January 2008" "Matteo Croce" "Debian GNU/Linux"
+.SH "NAME"
+aacplusenc \- AAC+ encoder
+.SH "SYNOPSIS"
+.B aacplusenc
+.I inputfile.wav outputfile.aac bitrate
+.PP
+.SH "DESCRIPTION"
+\fBaacplusenc\fP is an \fIHE\-AACv2\fP encoder.
+
+It accepts as input a \fIWAV\fP file and outputs an \fIAAC\fP file, with \fIRAW ADTS\fP header.
+.PP
+.SH "OPTIONS"
+.TP 8
+.B inputfile.wav
+The file to encode
+.TP 8
+.B outputfile.aac
+The desired filename of the encoded file
+.TP 8
+.B bitrate
+The encoding bitrate, in kbps
+.TP 8
+both inputfile and outputfile can be \fI"\-"\fP to specify stdin and stdout respectively
+.SH "NOTES"
+On 64 bit platform there are issues with Parametric Stereo (PS) an algorithm to give
+better quality on stereo tracks.
+.PP
+As PS is enabled for bitrates lower than 45 kbps, a 64 bit build of \fBaacplusenc\fP can only encode
+mono tracks or stereo tracks encoded with bitrates of 45 kbps and over
+.SH "AUTHOR"
+\fBaacplusenc\fP is written by Matteo Croce <\fIrootkit85@yahoo.it\fP> and its based on 3GPP sources.
+
+Get the latest version from \fIhttp://teknoraver.campuslife.it/software/mp4tools/\fP
+
+The 3GPP project used by \fBaacplusenc\fP: for more info visit \fIhttp://www.3gpp.org/ftp/Specs/archive/26_series/26.410/\fP
+
+AAC+ is licensed by Coding Technologies, for info read: \fIhttp://codingtechnologies.com/products/aacPlus.htm\fP
+
+This manpage was written by Matteo Croce <\fIrootkit85@yahoo.it\fP> and licensed under the terms of the GNU General Public License.
Oops, something went wrong.

0 comments on commit 3218842

Please sign in to comment.