summaryrefslogtreecommitdiff
path: root/libavcodec/flac.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-121-0/+74
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: build: Fix Ogg demuxer dependencies build: Fix FLAC demuxer dependencies flac: Move flac functions shared between libraries to flac common code build: Fix CAF demuxer dependencies build: Fix MP2 muxer dependencies build: Add missing build rules for the ISMV muxer configure: Drop redundant mxf_d10 test dependency declaration Support AAC encoding via the external library fdk-aac libavcodec: Add more AAC profiles dct/fft-test: use a replacement getopt() if the system has none present. Conflicts: Changelog libavcodec/Makefile libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flac: Move flac functions shared between libraries to flac common codeDiego Biurrun2012-07-121-0/+74
| | | | | | | | This fixes a number of flac-related build dependencies.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-041-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (29 commits) lavfi: reclassify showfiltfmts as a TESTPROG graph2dot: fix printf format specifier swscale: yuv2planeX 8bit >=sse2 functions need aligned stack on x86-32. vp8: loopfilter >=sse2 functions need aligned stack on x86-32. amr: remove shift out of the AMR_BIT() macro. dsputilenc: group yasm and inline asm function pointer assignment. mov: use forward declaration of a function instead of a table. Clarify Doxygen comment for FF_API_* #defines. configure: simplify get_version() Create version.h headers for libraries that lack them gitignore: Use full path instead of relative path to specify patterns mpegvideo: remove VLAs Add XTEA encryption support in libavutil Add Blowfish encryption support in libavutil eval: Add the isinf() function and tests for it flacdec: move lpc filter to flacdsp flacdec: split off channel decorrelation as flacdsp avplay: Add an option for not limiting the input buffer size FATE: add a test for WMA cover art. FATE: add a test for apetag cover art ... Conflicts: .gitignore configure ffplay.c libavcodec/Makefile libavcodec/error_resilience.c libavcodec/mpegvideo.c libavcodec/ratecontrol.c libavdevice/avdevice.h libavfilter/Makefile libavfilter/filtfmts.c libavfilter/version.h libavformat/mov.c libavformat/version.h libavutil/Makefile libavutil/avutil.h libavutil/version.h libswscale/swscale.h libswscale/x86/swscale_mmx.c tests/fate/libavutil.mak tests/lavfi-regression.sh tools/graph2dot.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flac: make FLAC_CHMODE_* constants consecutiveMans Rullgard2012-07-041-1/+2
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Revert "Set channel layout in flac decoder."Michael Niedermayer2012-02-241-3/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 2ef2496cd19eb833f4ad22a5051c11be80d09598. Conflicts: libavcodec/Makefile Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Revert "Fix channel layout for some stereo flac files."Michael Niedermayer2012-02-241-1/+0
| | | | | | | | This reverts commit d2ee3c913d6fec3cb8c0c1b67347007c7cd604e1.
* | Fix channel layout for some stereo flac files.Carl Eugen Hoyos2011-04-291-0/+1
| |
* | Set channel layout in flac decoder.Carl Eugen Hoyos2011-04-231-0/+3
|/
* cosmetics: line wrap after last commitJustin Ruggles2010-12-071-7/+14
| | | | Originally committed as revision 25913 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be usedMichael Chinen2010-12-071-9/+9
| | | | | | | to optionally silence the error messages. Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them inMichael Chinen2010-12-071-3/+4
| | | | | | | ff_flac_decode_frame_header(). Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25911 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check validity of the frame sync code in ff_flac_decode_frame_header().Michael Chinen2010-12-071-1/+7
| | | | | | Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move decode_frame_header() from flacdec.c to flac.c/h to share with theMichael Chinen2010-12-071-0/+94
| | | | | | | forthcoming FLAC parser. Patch by Michael Chinen [mchinen at gmail] Originally committed as revision 25909 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a function to calculate a more accurate estimate for maximum FLACJustin Ruggles2009-03-211-0/+43
| | | | | | frame size and use the function in the FLAC decoder and FLAC encoder Originally committed as revision 18092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename flac.c to flacdec.cJustin Ruggles2009-01-231-795/+0
| | | | Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacdec: add support for 3 additional sample rate codesJustin Ruggles2009-01-221-2/+3
| | | | Originally committed as revision 16723 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix issue 616 on roundup : decoding of short flac filesJai Menon2008-09-031-1/+1
| | | | Originally committed as revision 15177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modify all codecs to report their supported input and output sample format(s).Peter Ross2008-07-311-0/+1
| | | | Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support reading large metadata.Michael Niedermayer2008-07-181-1/+14
| | | | | | fixes issue187 Originally committed as revision 14281 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make bitstream_* fields unsigned.Michael Niedermayer2008-07-181-2/+2
| | | | Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only realloc() bitstream buffer when the needed size increased,Michael Niedermayer2008-07-181-1/+2
| | | | | | this is needed to prevent loosing bitstream data with large metadata. Originally committed as revision 14279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If metadata has been parsed goto end instead of trying toMichael Niedermayer2008-07-181-3/+3
| | | | | | decorrelate and output somehing nonexistng. Originally committed as revision 14278 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make our flac decoder decode all the data at EOF.Michael Niedermayer2008-07-131-1/+2
| | | | | | Fixes issue524 Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mark read-only data as constStefan Gehrer2008-06-241-3/+3
| | | | 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-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-091-1/+1
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Indent.Ramiro Polla2008-05-041-4/+4
| | | | Originally committed as revision 13054 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not read out of array bounds.Ramiro Polla2008-05-041-0/+4
| | | | Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move call to init_get_bits inside conditionalJustin Ruggles2008-05-021-1/+1
| | | | Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* share streaminfo parsing functionJustin Ruggles2008-05-021-8/+7
| | | | Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split out some decoder context params to a shared macroJustin Ruggles2008-05-021-4/+4
| | | | Originally committed as revision 13035 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change function parameters for dump_headers()Justin Ruggles2008-05-021-8/+8
| | | | Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change function parameters for metadata_streaminfo()Justin Ruggles2008-05-021-17/+20
| | | | Originally committed as revision 13033 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused variable, min_framesizeJustin Ruggles2008-04-291-3/+3
| | | | Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add long names to many AVCodec declarations.Stefano Sabatini2008-04-271-0/+1
| | | | | | 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-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ;;Michael Niedermayer2008-02-191-1/+1
| | | | Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constMichael Niedermayer2008-02-011-1/+1
| | | | Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* improve CRC APIAurelien Jacobs2008-01-041-1/+2
| | | | | | | - don't export any global var - provide either generated or hardcoded tables Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add decoding support for variable block size FLAC files using the latest FLACJosh Coalson2007-11-041-2/+2
| | | | | | specification. Patch by Josh Coalson. Originally committed as revision 10916 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for FLAC's new RICE2 entropy coding method. Patch by Josh Coalson.Josh Coalson2007-11-031-3/+3
| | | | Originally committed as revision 10915 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 20% faster lpc, 6% overall flac decodingLoren Merritt2007-09-301-15/+18
| | | | Originally committed as revision 10627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace FIR with finite differences.Loren Merritt2007-09-301-16/+17
| | | | | | | 3x faster decode_subframe_fixed(). overall flac decoding: 10% faster if file was encoded with fixed predictors. Originally committed as revision 10626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize decode_subframe_lpc()Loren Merritt2007-09-251-3/+18
| | | | | | 50%/67%/43% faster on core2/k8/p4, making flac decoding overall 24%/25%/11% faster Originally committed as revision 10586 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use get_bits1(..) instead get_bits(.., 1)Alex Beregszaszi2007-08-091-1/+1
| | | | Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add and remove some parenthesesBenoit Fouet2007-06-141-3/+3
| | | | Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 8- and 24-bit FLAC decodingMichael Donaghy2007-06-121-14/+3
| | | | | | | | | Patch by Michael Donaghy %md401 A cam P ac P uk% Original thread: date: Jun 10, 2007 4:48 PM subject: [FFmpeg-devel] [PATCH] Bugfix: decoding 8- and 24-bit FLAC files Originally committed as revision 9286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash when pred_order greater s->blocksize >> rice_order.Reimar Döffinger2007-01-211-0/+4
| | | | | | Fixes http://sam.zoy.org/zzuf/lol-mplayer.flac Originally committed as revision 7595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avcodec_decode_audio2()Michael Niedermayer2007-01-141-2/+8
| | | | | | difference to avcodec_decode_audio() is that the user can pass the allocated size of the output buffer to the decoder and the decoder can check if theres enough space Originally committed as revision 7518 to svn://svn.ffmpeg.org/ffmpeg/trunk