Michael Niedermayer
388b7ac07a
Revert "Set channel layout in flac decoder."
...
This reverts commit 2ef2496cd1
.
Conflicts:
libavcodec/Makefile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-02-24 04:22:20 +01:00
Michael Niedermayer
003e024bfb
Revert "Fix channel layout for some stereo flac files."
...
This reverts commit d2ee3c913d
.
2012-02-24 04:21:16 +01:00
Carl Eugen Hoyos
d2ee3c913d
Fix channel layout for some stereo flac files.
2011-04-29 10:42:43 +02:00
Carl Eugen Hoyos
2ef2496cd1
Set channel layout in flac decoder.
2011-04-23 13:37:28 +02:00
Justin Ruggles
ed4e1e5833
cosmetics: line wrap after last commit
...
Originally committed as revision 25913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07 14:02:42 +00:00
Michael Chinen
3c795698d0
Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
...
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
2010-12-07 14:00:38 +00:00
Michael Chinen
71b6fc216c
Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
...
ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07 13:50:13 +00:00
Michael Chinen
7f4e432148
Check validity of the frame sync code in ff_flac_decode_frame_header().
...
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07 13:42:52 +00:00
Michael Chinen
625daac4bd
Move decode_frame_header() from flacdec.c to flac.c/h to share with the
...
forthcoming FLAC parser.
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-07 13:30:18 +00:00
Justin Ruggles
0fb2182d46
add a function to calculate a more accurate estimate for maximum FLAC
...
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
2009-03-21 01:54:31 +00:00
Justin Ruggles
8f51144bf4
rename flac.c to flacdec.c
...
Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 22:27:19 +00:00
Justin Ruggles
959e000627
flacdec: add support for 3 additional sample rate codes
...
Originally committed as revision 16723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-22 22:23:58 +00:00
Jai Menon
d3ce0792c2
fix issue 616 on roundup : decoding of short flac files
...
Originally committed as revision 15177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-03 13:31:33 +00:00
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 10:47:31 +00:00
Michael Niedermayer
e0168e3b9c
Support reading large metadata.
...
fixes issue187
Originally committed as revision 14281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 12:03:21 +00:00
Michael Niedermayer
1e77df15dd
Make bitstream_* fields unsigned.
...
Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 11:39:41 +00:00
Michael Niedermayer
cfcd396bae
Only realloc() bitstream buffer when the needed size increased,
...
this is needed to prevent loosing bitstream data with large metadata.
Originally committed as revision 14279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 11:38:53 +00:00
Michael Niedermayer
2b4b8c824e
If metadata has been parsed goto end instead of trying to
...
decorrelate and output somehing nonexistng.
Originally committed as revision 14278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-18 11:08:15 +00:00
Michael Niedermayer
4c453ddbbc
Make our flac decoder decode all the data at EOF.
...
Fixes issue524
Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:51:29 +00:00
Stefan Gehrer
cf2baeb338
mark read-only data as const
...
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-24 20:01:31 +00:00
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-12 21:50:13 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Ramiro Polla
1f4fa6a4ef
Indent.
...
Originally committed as revision 13054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 01:08:40 +00:00
Ramiro Polla
0ec7b71de8
Do not read out of array bounds.
...
Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-04 01:07:46 +00:00
Justin Ruggles
512b37bb28
move call to init_get_bits inside conditional
...
Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:35:32 +00:00
Justin Ruggles
9482171bbd
share streaminfo parsing function
...
Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:34:34 +00:00
Justin Ruggles
9d48410f14
split out some decoder context params to a shared macro
...
Originally committed as revision 13035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:33:14 +00:00
Justin Ruggles
4bc07e78b8
change function parameters for dump_headers()
...
Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:30:32 +00:00
Justin Ruggles
a128cc91f3
change function parameters for metadata_streaminfo()
...
Originally committed as revision 13033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-02 21:29:49 +00:00
Justin Ruggles
b88e657628
remove unused variable, min_framesize
...
Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-29 01:29:35 +00:00
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-04-27 10:52:44 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Michael Niedermayer
cea9642014
Fix ;;
...
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Michael Niedermayer
1545c5e535
const
...
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:46 +00:00
Aurelien Jacobs
3abe5fbdc4
improve CRC API
...
- don't export any global var
- provide either generated or hardcoded tables
Originally committed as revision 11409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-04 23:09:58 +00:00
Josh Coalson
0cb2774a4a
Add decoding support for variable block size FLAC files using the latest FLAC
...
specification. Patch by Josh Coalson.
Originally committed as revision 10916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-04 00:06:33 +00:00
Josh Coalson
e471443ab5
Add support for FLAC's new RICE2 entropy coding method. Patch by Josh Coalson.
...
Originally committed as revision 10915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-03 23:54:50 +00:00
Loren Merritt
d1a5c4216c
20% faster lpc, 6% overall flac decoding
...
Originally committed as revision 10627 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-30 03:01:56 +00:00
Loren Merritt
08965b22e2
replace FIR with finite differences.
...
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
2007-09-30 02:12:03 +00:00
Loren Merritt
bd49d4fd49
optimize decode_subframe_lpc()
...
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
2007-09-25 23:31:13 +00:00
Alex Beregszaszi
5fc32c275e
use get_bits1(..) instead get_bits(.., 1)
...
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 00:13:31 +00:00
Benoit Fouet
71fd12253d
add and remove some parentheses
...
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-14 09:32:04 +00:00
Michael Donaghy
3cce801a0b
fix 8- and 24-bit FLAC decoding
...
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
2007-06-12 07:59:43 +00:00
Reimar Döffinger
5484dad7f6
Fix crash when pred_order greater s->blocksize >> rice_order.
...
Fixes http://sam.zoy.org/zzuf/lol-mplayer.flac
Originally committed as revision 7595 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 09:55:28 +00:00
Michael Niedermayer
ac66834c75
avcodec_decode_audio2()
...
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
2007-01-14 23:50:06 +00:00
Aurelien Jacobs
17c90b9d62
flac: allow reading of full metadata headers from extradata
...
Originally committed as revision 7161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-23 22:22:03 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Aurelien Jacobs
75c998a219
force usage of ALT_BITSTREAM_READER where needed
...
Originally committed as revision 6118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-28 18:46:01 +00:00
Michael Niedermayer
9d82b0dda1
moving utf8 reading function to libavutil
...
Originally committed as revision 5664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:43:32 +00:00
Michael Niedermayer
c448303df6
seems i forgot to commit this simplification ...
...
Originally committed as revision 5662 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 22:41:43 +00:00