Justin Ruggles
e951b6d94c
vorbisdec: cosmetics: rename variable avccontext to avctx
...
This is consistent with the rest of libavcodec.
12 years ago
Ronald S. Bultje
1768e43ceb
vorbisdsp: change block_size type from int to intptr_t.
...
This saves one instruction in the x86-64 assembly.
12 years ago
Diego Biurrun
e4cbf7529b
Give all anonymously typedeffed structs in headers a name
...
Anonymous structs cannot be forward declared and have no benefit.
12 years ago
Alex Converse
ecf79c4d3e
vorbis: Validate that the floor 1 X values contain no duplicates.
...
Duplicate values in this vector are explicitly banned by the Vorbis I spec
and cause divide-by-zero crashes later on.
13 years ago
Martin Storsjö
27cfdc3e4f
vorbis: Add ff_ prefix to nonstatic symbols
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
cc276c85d1
Make channel layout masks unsigned
...
It makes more sense for a bit mask to use an unsigned type.
The change should be source and binary compatible on all
supported systems, hence micro version bump.
Fixes a few invalid shifts.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
0a6b1a9f21
Replace int_fast integer types with their sized standard posix counterparts.
...
The _fast integer types provide no realworld benefits, but may introduce
portability issues and are just plain ugly.
14 years ago
Diego Biurrun
cf3ac54339
vorbis: Replace sized int_fast integer types with plain int/unsigned.
...
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
James Darnley
9577838f2f
Fix libvorbis encoding with more than 2 channels
...
Fixes issue 1325.
Patch by James Darnley, james dot darnley at gmail
Originally committed as revision 23818 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
3da1180409
Move some prototypes from dsputil.c to reasonable header files
...
Originally committed as revision 22260 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Robert Swain
4a27f326c5
Add support for vorbis 6.1 and 7.1 channel configurations as per the new spec
...
http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9
Originally committed as revision 21527 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Robert Swain
53a71e1ba4
Add vorbis channel layout support according to those defined in the Vorbis I
...
specification
Originally committed as revision 20148 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
5e56b30e1f
brace placement and linebreak cosmetics
...
Originally committed as revision 20070 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Oded Shimon
05dee1b7df
Rename all vorbis encoder related typedefs to not use _t for POSIX compatibility
...
Originally committed as revision 16076 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 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
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
Oded Shimon
7f09a56091
remove render_line from vorbis.h, add ff_vorbis_floor1_render_list instead
...
Originally committed as revision 6409 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Oded Shimon
e8f42cc0f5
prevent warning in vorbis_data.c
...
Originally committed as revision 6404 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Oded Shimon
ded515b241
100l, broke ffmpeg compilation, ABS() and uint* types not defined in vorbis_data.c
...
Originally committed as revision 6403 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Oded Shimon
6c29d7c8f3
make some more functions global so they can be shared with vorbis_enc.c
...
Originally committed as revision 6402 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Oded Shimon
9f963af5a0
make ready_floor1_list() shared for vorbis_enc.c
...
Originally committed as revision 6401 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Oded Shimon
cc0ba5a58f
vorbis.h -> vorbis_data.c
...
move tables from vorbis.h to a C file so they can be used later in
vorbis_enc.c
Originally committed as revision 6398 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Loren Merritt
0e0adae0ba
vorbis cosmetics: mdct0,mdct1 => mdct[2]
...
Originally committed as revision 5978 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Loren Merritt
eb4825b5d4
sse and 3dnow implementations of float->int conversion and mdct windowing.
...
15% faster vorbis.
Originally committed as revision 5975 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Loren Merritt
2dac4acfc0
sse & sse2 implementations of vorbis channel coupling.
...
9% faster vorbis (on a K8).
Originally committed as revision 5898 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Alexander Strasser
04c669ba98
Correct the relation between floors of type 0 and block sizes.
...
Originally committed as revision 4941 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Alexander Strasser
f9c5c13af5
Cosmetic: Fix indentation.
...
Originally committed as revision 4935 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Alexander Strasser
43eb59087b
Added support for vorbis files containing floor type 0.
...
Originally committed as revision 4933 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
5a408f91e6
decrease V_NB_BITS if possible
...
Originally committed as revision 4327 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
13c2469d7f
Vorbis sse fix by (Balatoni Denes: dbalatoni, programozo hu)
...
Originally committed as revision 4317 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
0bde73d907
Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
...
Originally committed as revision 4261 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago