Vittorio Giovara
17c45d4d05
libtheora: Check frame allocation
10 years ago
Clément Bœsch
546d69eb43
avcodec: use av_frame_free() for coded_frame
10 years ago
Michael Niedermayer
67d4d5f5db
avcodec/libtheoraenc: Check for av_fast_realloc() failure
...
Fixes CID1257799
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
27216bf314
avcodec/libtheoraenc: Check for stats allocation failure
...
Fixes CID1257785
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Alexandra Khirnova
9b8d11a76a
avcodec: Use av_reallocp where suitable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Anton Khirnov
5b9c3b4505
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
11 years ago
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Stefano Sabatini
37fce84e27
lavc/libtheoraenc: clarify comment about global_quality to quality conversion
12 years ago
Maximilian Seesslen
055b373080
libtheoraenc: fix granularity of video quality
...
The floating point version of av_clip has to be used when
converting the quality level.
Signed-off-by: Maximilian Seesslen <mes@seesslen.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Maximilian Seesslen
467c033858
fixed granularity of video quality when encoding with theora codec
...
The floating point version of av_clip has to be used when converting the quality level.
Signed-off-by: Maximilian Seesslen <mes@seesslen.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
511cf612ac
miscellaneous typo fixes
12 years ago
Luca Barbato
83f9ed42ec
libtheoraenc: add missing pixdesc.h header
...
Was left out from c1a02e884a
.
12 years ago
Luca Barbato
c1a02e884a
pixdesc: add av_pix_fmt_get_chroma_sub_sample
...
Deprecate avcodec_get_chroma_sub_sample.
12 years ago
Stefano Sabatini
8cb76ef275
lavc/libtheoraenc: return proper error codes
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
ae2c33b0c2
cosmetics: remove superfluous curly brackets
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b611ffc5d0
libtheoraenc: switch to ff_alloc_packet2().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
f7fa73ac91
libtheoraenc: switch to encode2().
13 years ago
Diego Biurrun
2f5df0b12c
Replace ffmpeg references with more accurate libav* references.
13 years ago
Michael Niedermayer
2d2b5a1421
10l, commit that should have been stashed into the merge.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
6001dad6e2
Replace more FFmpeg references by Libav.
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ò
e7e2df27f8
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>
(cherry picked from commit d36beb3f69
)
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
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Howard Chu
784824a68c
Use AV_BASE64_SIZE() macro
...
Originally committed as revision 23462 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
Diego Biurrun
4311ff776b
cosmetics: Switch Doxygen comments to JavaDoc style.
...
Originally committed as revision 22919 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
David Conrad
a4914ac708
Clarify comment: although still hacky, it is correct for existing libtheora
...
Originally committed as revision 20817 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
c39b94be60
libtheoraenc.c: mark keyframes
...
Originally committed as revision 20816 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
800841fd0c
Support compiling against libtheora older than 1.1
...
Originally committed as revision 20609 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
6c2289b52e
Set colorspace for libtheora encoding
...
Originally committed as revision 20583 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
af89b1781f
Support 4:2:2 and 4:4:4 subsampling in libtheora encoding
...
Originally committed as revision 20582 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
b0a6d9ca86
Add support for two pass encoding in libtheora
...
Originally committed as revision 20581 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
bdc8c48893
Update libtheora wrapper to use the 1.0 API
...
Originally committed as revision 20580 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
96ff02f1b4
Get rid of some pointless '== NULL' / '!= 0' conditions in if statements.
...
Originally committed as revision 20325 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
8767fb4cad
whitespace cosmetics: prettyprinting, K&R style
...
Originally committed as revision 20313 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
11eb3cea73
Remove pointless parentheses.
...
Originally committed as revision 20311 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
3bb984987c
Hack: set the coded frame PTS to the incoming PTS.
...
This is not correct, but libtheora does not seem to provide a way
to get the correct value, and this is necessary to make encoding
produce sensible time stamps when encoded content is variable
FPS or the time base is simply different from FPS.
Somewhat fixes issue 1197.
Originally committed as revision 20199 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
6945c2bc4c
Support constant-quant encoding for libtheora
...
Based on a patch by j f (gonzaz-z # operamail (d) com)
Originally committed as revision 20109 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
3e962f315b
Fix "warning: assignment discards qualifiers from pointer target type"
...
Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
870ee6f715
Fix memory leak in libtheora encoder
...
Patch by Art Clarke [aclark , xuggle . com]
Originally committed as revision 19423 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
cc0aae4343
Fix libtheora encoding for non-mod16 sizes
...
Originally committed as revision 18899 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
Diego Biurrun
99ed41a808
Fix filenames in Doxygen comments.
...
Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d9513de67c
Add missing inclusion of libavutil/intreadwrite.h, fix compilation when
...
libtheora is enabled.
Originally committed as revision 16562 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago