Michael Niedermayer
1d7ffd06e4
lavc: Fix assignments in if() when calling ff_af_queue_add
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Justin Ruggles
cfc0a80a1d
libvorbis: use planar sample format
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Justin Ruggles
e5aab2d7a4
libvorbis: use AVCodec.encode2()
13 years ago
Justin Ruggles
a45a1ea521
libvorbis: add/update error messages
...
also use AVERROR codes for some return values instead of -1
13 years ago
Justin Ruggles
592c4dbc7e
libvorbis: use AVFifoBuffer for output packet buffer
...
simplifies the code and does less memmove()
13 years ago
Justin Ruggles
1fe7c1be54
libvorbis: remove unneeded e_o_s check
...
vorbis_bitrate_flushpacket() does not return any packets that should not be
output in the bitstream.
13 years ago
Justin Ruggles
94025d8a99
libvorbis: check return values for functions that can return errors
13 years ago
Justin Ruggles
c5063e0348
libvorbis: use float input instead of s16
...
libvorbis takes float input, so we can just deinterleave/reorder the input
as-is instead of also converting.
13 years ago
Justin Ruggles
f15c4281dc
libvorbis: do not flush libvorbis analysis if dsp state was not initialized
...
Fixes a segfault if init() fails before initializing the dsp state
13 years ago
Justin Ruggles
147ff24a0e
libvorbis: use VBR by default, with default quality of 3
13 years ago
Justin Ruggles
182d4f1f38
libvorbis: fix use of minrate/maxrate AVOptions
...
- enable the options for audio encoding
- properly check for user-set maxrate
- use correct calling order in vorbis_encode_setup_managed()
13 years ago
Justin Ruggles
eb35ef2932
libvorbis: cosmetics: renaming/pretty-printing/comments/unused code
13 years ago
Justin Ruggles
6f600ab354
libvorbis: improve error checking in oggvorbis_encode_init()
13 years ago
Justin Ruggles
255ad8881d
audio encoders: do not set coded_frame->key_frame.
...
it is already set in avcodec_alloc_frame()
13 years ago
Justin Ruggles
91a28b0e8e
avcodec: add ff_samples_to_time_base() convenience function to internal.h
13 years ago
Diego Biurrun
d4b63054d9
cosmetics: Drop unnecessary parentheses around return values.
13 years ago
Diego Biurrun
ca5ab8cd21
libvorbis: K&R reformatting cosmetics
13 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
13 years ago
Diego Biurrun
8671488799
Use explicit struct initializers for AVCodec declarations.
13 years ago
Robert Swain
954a653216
vorbis: vpxenc: Add missing include for av_rescale*
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
b66752790a
AVOptions: make default_val a union, as proposed in AVOption2.
...
This breaks API and ABI.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
78c8b4b758
Add audio flag to libvorbis AVOption.
...
Originally committed as revision 26165 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
5d6e4c160a
Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum
...
SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
James Zern
da7548585e
Fix crash when using iblock option (when a warning is logged).
...
Patch by James Zern, jzern google
Originally committed as revision 25472 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
77336a5e12
Allow setting the impulse block bias for libvorbis through a private codec parameter.
...
First example and test of private codec parameters.
Originally committed as revision 25258 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Pascal Massimino
fd7242ddbd
remove an unneeded av_realloc()
...
Originally committed as revision 24375 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
c426562cbf
add some buffer checks
...
Originally committed as revision 24184 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Pascal Massimino
42859ddb7b
use avccontext->frame_size where appropriate
...
Originally committed as revision 24183 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
Martin Storsjö
d99659f0b3
libvorbis: Only drop 1-byte packets at end of stream
...
This fixes handling of totally silent packets during the encoding, that
also are 1 byte in size.
This fixes issue 2013
Originally committed as revision 23693 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
1204a13c48
libvorbis: Use memmove instead of memcpy for shifting data
...
Originally committed as revision 23631 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
57ebbccf9c
libvorbis: Disable strict bitrate management when not requested
...
This is 3 times faster in a quick benchmark
Originally committed as revision 23471 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ed638b5c4b
libvorbis: OV_ECTL_RATEMANAGE_AVG is depreciated in favor of
...
OV_ECTL_RATEMANAGE2_SET
Originally committed as revision 23470 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
e5a5ea9e89
libvorbis: Hook up min/max bitrate
...
Originally committed as revision 23469 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
b5f09d31c2
Make sample_fmts and channel_layouts compound literals const to reduce size of
...
.data section.
Originally committed as revision 19787 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
fb0a835ff4
add missing \n to error message
...
Originally committed as revision 19313 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
5ef251e504
Add missing av_cold in static init/close functions.
...
Patch by Daniel Verkamp daniel at drv dot nu.
Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Nicolas George
05276956ce
libvorbis: Use 0-10 range for audio quality.
...
Patch by Nicolas George (nicolas george normalesup org)
Originally committed as revision 17107 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
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
16 years ago
Diego Biurrun
99ed41a808
Fix filenames in Doxygen comments.
...
Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
a6080be7a2
Cosmetics: fix indentation after previous commit.
...
Originally committed as revision 15621 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Nicolas George
9c8f0768e3
Add a flag to avoid calling vorbis_analysis_wrote twice with an empty buffer.
...
Patch by Nicolas George: name surname normalesup org
Originally committed as revision 15620 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
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
Stefano Sabatini
162d4fc99d
Add long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago