summaryrefslogtreecommitdiff
path: root/libavcodec/vorbis_enc.c
Commit message (Collapse)AuthorAge
* Revert r20095: Allow compiling to vorbis again.Philipp Matthias Hahn2009-12-02
| | | | | | Original patch by Philipp Matthias Hahn, pmhahn pmhahn de Originally committed as revision 20711 to svn://svn.ffmpeg.org/ffmpeg/trunk
* put_bits can only reliably write up to 31 bit bits, above it relies onReimar Döffinger2009-10-01
| | | | | | | | undefined shift behaviour. Document this, fix the assert and add a put_bits32 to handle writing 32 bits and use that where necessary. Originally committed as revision 20124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not needlessly add 7 to put_buts_count before dividing by 8,Reimar Döffinger2009-09-30
| | | | | | flush_put_bits ensures it is divisible 8. Originally committed as revision 20103 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_put_string in vorbis encoder.Reimar Döffinger2009-09-30
| | | | Originally committed as revision 20095 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmetics, prettyprinting, K&R coding styleDiego Biurrun2009-09-29
| | | | Originally committed as revision 20080 to svn://svn.ffmpeg.org/ffmpeg/trunk
* some more linebreak and brace placement cosmeticsDiego Biurrun2009-09-28
| | | | Originally committed as revision 20071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* brace placement and linebreak cosmeticsDiego Biurrun2009-09-28
| | | | Originally committed as revision 20070 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge FFTContext and MDCTContextMåns Rullgård2009-09-20
| | | | Originally committed as revision 19931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sample_fmts and channel_layouts compound literals const to reduce size ofReimar Döffinger2009-09-06
| | | | | | .data section. Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support for getting (i)MDCT output multiplied by a constant scaling factor.Siarhei Siamashka2009-05-16
| | | | | | | | Scaling (i)MDCT output has no runtime overhead and can be used to improve performance of audio codecs. All the changes are only needed in 'ff_mdct_init' function and slow down initialization a bit. Originally committed as revision 18855 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename all vorbis encoder related typedefs to not use _t for POSIX compatibilityOded Shimon2008-12-12
| | | | Originally committed as revision 16076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use of new bitstream in vorbis_enc.c.Bartłomiej Wołowiec2008-10-15
| | | | | | Patch by Bartłomiej Wołowiec b wolowiec AT students mimuw edu pl Originally committed as revision 15622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis_enc : set coded_frame->pts value to running sample count.Jai Menon2008-09-09
| | | | | | | This is a temporary fix for issue 502 and will not be required when we start using AVFrame for audio codecs. Originally committed as revision 15285 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove mdct tmp bufferLoren Merritt2008-08-12
| | | | Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-31
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert accidental const slipping inStefan Gehrer2008-06-24
| | | | Originally committed as revision 13949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mark read-only data as constStefan Gehrer2008-06-24
| | | | Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vorbis suffers from the same sign flip issue as wma (so this lame ↵Michael Niedermayer2007-02-07
| | | | | | workaround, though it arguably doesnt matter much where the sign is fliped back) Originally committed as revision 7873 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* more forgotten free's.Oded Shimon2006-10-02
| | | | Originally committed as revision 6527 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l, wrong order in freeingOded Shimon2006-10-02
| | | | Originally committed as revision 6526 to svn://svn.ffmpeg.org/ffmpeg/trunk
* slightly saner indentionMichael Niedermayer2006-10-02
| | | | Originally committed as revision 6525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add vorbis_enc_data.h, remove codebook data from vorbis_enc.cOded Shimon2006-10-02
| | | | Originally committed as revision 6520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r114 | ods15 | 2006-10-01 21:38:37 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines blocksize -> log2_blocksize Originally committed as revision 6518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r113 | ods15 | 2006-10-01 21:35:47 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines some more static consts Originally committed as revision 6517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r112 | ods15 | 2006-10-01 20:48:39 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | | 3 lines psy change. -aq param about the same, and behaves more consistently with different content. Originally committed as revision 6516 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r111 | ods15 | 2006-10-01 19:40:50 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines update to use ff_vorbis_floor1_render_list Originally committed as revision 6515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r110 | ods15 | 2006-10-01 19:17:32 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines slight simlification for residue division by floor Originally committed as revision 6514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r109 | ods15 | 2006-10-01 19:14:52 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines 5% speed improovement by changing put_vector Originally committed as revision 6513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r108 | ods15 | 2006-10-01 18:46:06 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines prevent division/modulo Originally committed as revision 6512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r107 | ods15 | 2006-10-01 18:13:12 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines give proper error message for channels!=2 Originally committed as revision 6511 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r106 | ods15 | 2006-10-01 18:11:55 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines window -> apply_window_and_mdct Originally committed as revision 6510 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r105 | ods15 | 2006-10-01 18:09:55 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines slight simplification for channel coupling Originally committed as revision 6509 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r104 | ods15 | 2006-10-01 18:04:08 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines somewhat cosmetic formatting, use FFMAX Originally committed as revision 6508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r103 | ods15 | 2006-10-01 18:00:43 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines slight optimization, don't calculate average twice Originally committed as revision 6507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r102 | ods15 | 2006-10-01 17:58:38 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines remove ready_floor() Originally committed as revision 6506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r101 | ods15 | 2006-10-01 14:15:00 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines some cleanup Originally committed as revision 6505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r100 | ods15 | 2006-10-01 14:01:27 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines update to global functions now shared in vorbis.h Originally committed as revision 6504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r99 | ods15 | 2006-10-01 11:12:44 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines codebook init data cleanup Originally committed as revision 6503 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r98 | ods15 | 2006-10-01 10:15:33 +0200 (Sun, 01 Oct 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines switch to int8_t for residue codebook numbers, use memcpy in residue init Originally committed as revision 6502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r97 | ods15 | 2006-09-30 23:32:19 +0300 (Sat, 30 Sep 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines don't assert fail for channels != 2, exit cleanly instead... Originally committed as revision 6501 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Original Commit: r96 | ods15 | 2006-09-30 23:25:18 +0300 (Sat, 30 Sep 2006) ↵Oded Shimon2006-10-02
| | | | | | | | | 2 lines even though it doesn't do anything, use flush_put_bits() Originally committed as revision 6500 to svn://svn.ffmpeg.org/ffmpeg/trunk