Justin Ruggles
aeb987cebf
flacdec: get total number of samples from STREAMINFO
...
Originally committed as revision 16768 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ce7e82144f
move FLAC_STREAMINFO_SIZE to flac.h
...
Originally committed as revision 16766 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d38b88213e
define FLAC metadata types in flac.h
...
Originally committed as revision 16765 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9f3d3ecf92
flacdec: cosmetics: some line wrapping at 80 chars
...
Originally committed as revision 16763 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1df0390eed
flacdec: cosmetics: indentation
...
Originally committed as revision 16762 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1bec121f9e
flacdec: cosmetics: use consistent coding style (K&R)
...
Originally committed as revision 16761 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
13de8a080a
cosmetics: indentation
...
Originally committed as revision 16753 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
5305f40bb8
flacdec: change several AV_LOG_DEBUG to AV_LOG_ERROR
...
Originally committed as revision 16752 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9f2db54594
flacdec: remove another unneeded debugging statement
...
Originally committed as revision 16751 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f7f3e3bf4a
flacdec: remove unneeded debugging statements
...
Originally committed as revision 16750 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
c5706efd57
flacdec: remove some unused code
...
Originally committed as revision 16749 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
8f51144bf4
rename flac.c to flacdec.c
...
Originally committed as revision 16735 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
959e000627
flacdec: add support for 3 additional sample rate codes
...
Originally committed as revision 16723 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
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
17 years ago
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
17 years ago
Michael Niedermayer
e0168e3b9c
Support reading large metadata.
...
fixes issue187
Originally committed as revision 14281 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1e77df15dd
Make bitstream_* fields unsigned.
...
Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Stefan Gehrer
cf2baeb338
mark read-only data as const
...
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
1f4fa6a4ef
Indent.
...
Originally committed as revision 13054 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
0ec7b71de8
Do not read out of array bounds.
...
Originally committed as revision 13053 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
512b37bb28
move call to init_get_bits inside conditional
...
Originally committed as revision 13037 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
9482171bbd
share streaminfo parsing function
...
Originally committed as revision 13036 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Justin Ruggles
4bc07e78b8
change function parameters for dump_headers()
...
Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
a128cc91f3
change function parameters for metadata_streaminfo()
...
Originally committed as revision 13033 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
b88e657628
remove unused variable, min_framesize
...
Originally committed as revision 13015 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cea9642014
Fix ;;
...
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1545c5e535
const
...
Originally committed as revision 11725 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
17 years ago
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
17 years ago
Loren Merritt
d1a5c4216c
20% faster lpc, 6% overall flac decoding
...
Originally committed as revision 10627 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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
17 years ago
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
18 years ago
Alex Beregszaszi
5fc32c275e
use get_bits1(..) instead get_bits(.., 1)
...
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Benoit Fouet
71fd12253d
add and remove some parentheses
...
Originally committed as revision 9308 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Aurelien Jacobs
17c90b9d62
flac: allow reading of full metadata headers from extradata
...
Originally committed as revision 7161 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Aurelien Jacobs
75c998a219
force usage of ALT_BITSTREAM_READER where needed
...
Originally committed as revision 6118 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
9d82b0dda1
moving utf8 reading function to libavutil
...
Originally committed as revision 5664 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago