Måns Rullgård
94ca624fbc
Move ff_sqrt() to libavutil/intmath.h
...
Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
25ef00720b
Remove 2 useless assignments from ff_rate_control_init() found by CSA.
...
Originally committed as revision 18573 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
956177fb1d
Remove unused variable in modify_qscale() found by CSA.
...
Originally committed as revision 18563 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
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
3bff4d8b7a
Implement the fields rc_max_available_vbv_use and
...
rc_min_vbv_overflow_use in AVCodecContext, and use their values in the
ratecontrol code rather than hardcoded ones.
See the thread: "[RFC] ratecontrol buffer size magic".
Patch by Baptiste Coudurier.
Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
9b5ede5b64
Add (additional) const to many global tables.
...
Originally committed as revision 15515 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3cffbe090a
Fix rc_eq mem leak.
...
Originally committed as revision 14788 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
842eabc5f9
cosmetics: XviD is now called Xvid.
...
Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
170c0b455c
Fix typo in variable name: blured --> blurred.
...
Originally committed as revision 12556 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
04932b0d97
cosmetics: typo fixes
...
Originally committed as revision 12554 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
e3cb2c4a08
Missing const
...
Originally committed as revision 12147 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
90901860c2
stupid code (casting of void*) found by checktree.sh
...
Originally committed as revision 11117 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f612801465
fix timestamps used for ratecontrol
...
these were wrong (in pts vs dts sense) when b frames were in use
they were also wrong if the average framerate was smaller than 1/timebase
resulting in totally wrong final bitrate
Originally committed as revision 10477 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2711cb28f4
prevent assert failure with negative quant_offset
...
Originally committed as revision 9830 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
df3a80b50a
cosmetics: misc typo fixes
...
Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
82634feeb5
CONFIG_XVID --> CONFIG_LIBXVID
...
Originally committed as revision 9466 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0fa9a5ddc7
check qblur > 1 (prevent assert failure / segfault)
...
fixes sf bug #797610
Originally committed as revision 9166 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
e42dba481f
typos/grammar
...
Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
eafcac6ac8
cosmetics: Fix another common typo, dependAnt --> dependEnt.
...
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oded Shimon
bb0f1ea72f
update ratecontrol to new ff_eval API
...
Originally committed as revision 6808 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c26abfa541
Rename ABS macro to FFABS.
...
Originally committed as revision 6666 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
Panagiotis Issaris
0de9926f62
Move the ratecontrol related code from mpegvideo.h to a separate header file.
...
Originally committed as revision 6386 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
4d7b4613a1
Pull out the ff_eval* from the mpegvideo header, as it doesn't belong there and
...
put it in a separate file.
Originally committed as revision 6383 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
d80f243ae9
Make ratecontrol use ff_eval2().
...
Originally committed as revision 6354 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
4156a436e3
Handle possible failure of ff_eval.
...
Originally committed as revision 6338 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Corey Hickey
577cd173e3
second pass encoding changes:
...
- warn rather than fail when specified bitrate need not be used
- fail with a useful message when specified bitrate is too low
- print potentially useful information if verbose
patch based mostly on suggestions from Michael Niedermayer and Loren Merritt
Originally committed as revision 6176 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
353e433b96
seems the output of that code is never used
...
Originally committed as revision 6170 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Corey Hickey
29b372b9e9
error message spelling typo
...
Originally committed as revision 6168 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
2fefd23b96
fabs is better then abs for floats ...
...
Originally committed as revision 5422 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
5fe4cf7b9f
fix frametypes with xvid_rc
...
Originally committed as revision 5180 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Corey Hickey
022fad4833
make ff_rate_control_init() bail out if rc_strategy==1 and lavc wasn't
...
compiled with xvid support.
Originally committed as revision 5176 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
1953105102
10l forgot #ifdef CONFIG_XVID
...
Originally committed as revision 4895 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
64b7c5b6f6
xvid ratecontrol support
...
Originally committed as revision 4894 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
82b019cefd
better f_code guessing in 2nd pass
...
Originally committed as revision 4766 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
8ed9f9ab32
use correct qp & lambda for ME on the second pass
...
Originally committed as revision 4757 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
c0df9d75bd
switch to native time bases
...
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Mike Melanson
160d679c07
Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
...
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
6e0d8c06c7
mb_lmin/max to limit the per mb quality for the ratecontrol independant from the frame limits
...
Originally committed as revision 3928 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Christophe Massiot
957c743a23
Border processing adaptive quant patch by (Christophe Massiot |cmassiot freebox fr)
...
Originally committed as revision 3927 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
2fc8ea249f
dissallow sprintf
...
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
e9a4834a7d
normalize adaptive quantizatiuon fix (based upon a patch by (Jindrich Makovicka <makovick at kmlinux dot fjfi dot cvut dot cz>))
...
Originally committed as revision 2780 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago