Michael Niedermayer
c267bb038e
Fix 1 pass RC in snow.
...
Fixes issue547.
Originally committed as revision 20706 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
d773d85515
Reorder functions so that encoding functions are disabled by the preprocessor.
...
Fixes compilation with disabled optimizations and enabled Snow decoder.
Originally committed as revision 19914 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
2b2b7f41de
snow decoder uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19104 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
9a3eaeebad
Correct x/ymin to avoid segfault due to out of picture reads.
...
Originally committed as revision 18771 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3788e661f1
Optimize sign handling in get_symbol().
...
Originally committed as revision 18672 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e1b3d27272
Remove 2 useless FFMIN().
...
Originally committed as revision 18664 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
7bdf2eb8c4
Remove apparently redundant code.
...
Originally committed as revision 18663 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Lars Täuber
a4873f7d9d
Fix indention, patch by Lars Täuber.
...
Originally committed as revision 18594 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
29322398fc
Remove unused variable from slice_buffer_release() found by CSA.
...
Originally committed as revision 18570 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
75eaa91c15
Remove unused variables from slice_buffer_load_line() found by CSA.
...
Originally committed as revision 18561 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
64bde1974b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
...
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
cc0241283b
Make sure the next used frame is released so get_buffer() wont fail.
...
Originally committed as revision 18399 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
38fd076c21
Move release_buffer() up so it is prior to a future call to it.
...
Originally committed as revision 18398 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0a08b5735b
Factorize release_buffer()
...
Originally committed as revision 18397 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
eebbb33abf
Make sure spatial_decomposition_count is not too large for picture size.
...
this led to an infinite loop in mirror().
Originally committed as revision 18396 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
69409ccb80
Skip non intra frames that have no reference frames.
...
Originally committed as revision 18395 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
440882f7be
Make sure spatial_decomposition_count is >0.
...
Originally committed as revision 18394 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
dc7f45a08e
Make sure the block array is of the correct size.
...
This might have been exploitable.
Originally committed as revision 18393 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
bc4350a333
Check spatial_decomposition_count too, fixes another crash.
...
Originally committed as revision 18392 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
45d1d9794d
10l, forgot to remove old code, which broke snow.
...
Originally committed as revision 18391 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
158f189f82
Factorize check of read symbols.
...
Originally committed as revision 18390 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
a794356602
Fix spatial_decomposition_type validity check.
...
Fixes infinite loop (did no investigate why exactly it got stuck).
Originally committed as revision 18389 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f0812be883
Fix crash when max_ref_frames was out of range.
...
This might have been exploitable.
Fixes first crash of issue840.
Originally committed as revision 18388 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
ccc745cdf4
Move declaration of prn before any assignment.
...
Originally committed as revision 18255 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
294eaa2643
Replace random() usage in test programs by av_lfg_*().
...
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
578f90a8d5
Align test program output columns.
...
Originally committed as revision 18068 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 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
Michael Niedermayer
fe5c7e588d
More POSIX _t namespace cleanup.
...
Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
a6f2c0d6e5
Fix regression test failure with pthreads on multiprocessor systems.
...
Fixes issue517
Originally committed as revision 15976 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
bd2b6b33bf
snow: move scratch buffer from stack to malloced buffer in context
...
This is required to ensure 16-byte alignment.
Originally committed as revision 15934 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Mathieu Malaterre
7942269b71
cosmetics: s/const static/static const/g
...
patch by Mathieu Malaterre, mathieu.malaterre gmail com
Originally committed as revision 14850 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
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
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
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
Diego Biurrun
e73e4e75f9
cosmetics: Fix indentation in a few more places.
...
Originally committed as revision 12381 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ef3dfbd427
cosmetics: Normalize {} placement after for, while, if.
...
Originally committed as revision 12380 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
5a6a9e78ab
move draw_edges() into dsputil
...
Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b5a33ff124
suppress the second warning
...
Originally committed as revision 12276 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
94ae6788e2
cosmetics: Demplayerify indentation.
...
Originally committed as revision 12240 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
301df48074
Add comments to some #endif directives.
...
Originally committed as revision 12239 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e6464f8b5e
cosmetics: spelling/grammar
...
Originally committed as revision 12238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
d248905ba5
Remove START_TIMER and STOP_TIMER macros.
...
Originally committed as revision 12227 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
4847a997aa
Remove commented-out av_log calls.
...
Originally committed as revision 12222 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2936438a38
Make diego happy.
...
Originally committed as revision 12220 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7e2ea58313
some const
...
Originally committed as revision 11746 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago