Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19 13:33:20 +00:00
Ronald S. Bultje
2e27959879
Move ff_emulated_edge_mc() into DSPContext.
2011-01-28 22:13:26 -05:00
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>
2011-01-26 16:08:45 +00:00
Måns Rullgård
5262f7ed1d
snow: remove unused parameter to mc_block()
...
Originally committed as revision 23746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23 23:44:48 +00:00
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
2010-03-30 23:30:55 +00:00
Måns Rullgård
33996217ca
Add ff_ prefix to dwt functions
...
Originally committed as revision 22523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 17:50:16 +00:00
Måns Rullgård
05aec7bb87
Separate DWT from snow and dsputil
...
This moves the DWT functions from snow.c and dsputil.c to a file of
their own. A new struct, DWTContext, holds the function pointers
previously part of DSPContext.
Originally committed as revision 22522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 17:50:12 +00:00
Måns Rullgård
94ca624fbc
Move ff_sqrt() to libavutil/intmath.h
...
Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 21:19:56 +00:00
Måns Rullgård
c26e58e32c
Add some missing #includes
...
Originally committed as revision 22258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-06 22:36:36 +00:00
Michael Niedermayer
2c8077621b
Optimize ff_snow_horizontal_compose97i.
...
this makes the 9/7 C wavelet at the decoder side 22% faster.
The old code is changed to match the new in terms of the order of operations
(which also makes it sligtly faster)
Originally committed as revision 21132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 02:52:50 +00:00
Michael Niedermayer
233a8b3d6b
Merge vertical_compose53iL0*()
...
8% faster C 5/3 wavelet at the decoder side.
Originally committed as revision 21131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 01:00:50 +00:00
Michael Niedermayer
2a84512a74
Optimize horizontal_compose53i() by inlining inv_lift() and optimizing the
...
resulting code slightly. ~30% faster C 5/3 wavelet at the decoder side.
Originally committed as revision 21130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11 00:54:48 +00:00
Jai Menon
4536c8e603
Snow : re-indent after r21093.
...
Originally committed as revision 21094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 16:37:32 +00:00
Jai Menon
a4bd598541
Snow : remove pointless 'if(1)'.
...
Originally committed as revision 21093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 16:34:50 +00:00
Jai Menon
2da16f288a
Snow : use non-NULL context for av_log.
...
Originally committed as revision 21089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 14:45:24 +00:00
Jai Menon
8ec5a042e4
Cosmetics : remove duplicated comment.
...
Originally committed as revision 21088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 14:33:35 +00:00
Jai Menon
e8c6411ce3
Snow : release buffers allocated using avctx->get_buffer.
...
Originally committed as revision 21084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08 05:09:17 +00:00
Michael Niedermayer
c267bb038e
Fix 1 pass RC in snow.
...
Fixes issue547.
Originally committed as revision 20706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-02 20:07:23 +00:00
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
2009-09-18 19:45:09 +00:00
Baptiste Coudurier
2b2b7f41de
snow decoder uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-05 08:40:31 +00:00
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
2009-05-08 15:14:36 +00:00
Michael Niedermayer
3788e661f1
Optimize sign handling in get_symbol().
...
Originally committed as revision 18672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-24 00:26:49 +00:00
Michael Niedermayer
e1b3d27272
Remove 2 useless FFMIN().
...
Originally committed as revision 18664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-22 22:05:34 +00:00
Michael Niedermayer
7bdf2eb8c4
Remove apparently redundant code.
...
Originally committed as revision 18663 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-22 21:44:41 +00:00
Lars Täuber
a4873f7d9d
Fix indention, patch by Lars Täuber.
...
Originally committed as revision 18594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-17 19:29:54 +00:00
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
2009-04-17 17:39:09 +00:00
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
2009-04-17 15:01:58 +00:00
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
2009-04-10 17:23:38 +00:00
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
2009-04-09 21:19:25 +00:00
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
2009-04-09 21:17:53 +00:00
Michael Niedermayer
0a08b5735b
Factorize release_buffer()
...
Originally committed as revision 18397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 20:44:18 +00:00
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
2009-04-09 20:23:13 +00:00
Michael Niedermayer
69409ccb80
Skip non intra frames that have no reference frames.
...
Originally committed as revision 18395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 20:13:35 +00:00
Michael Niedermayer
440882f7be
Make sure spatial_decomposition_count is >0.
...
Originally committed as revision 18394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 19:45:10 +00:00
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
2009-04-09 18:47:50 +00:00
Michael Niedermayer
bc4350a333
Check spatial_decomposition_count too, fixes another crash.
...
Originally committed as revision 18392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 18:37:26 +00:00
Michael Niedermayer
45d1d9794d
10l, forgot to remove old code, which broke snow.
...
Originally committed as revision 18391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 18:29:54 +00:00
Michael Niedermayer
158f189f82
Factorize check of read symbols.
...
Originally committed as revision 18390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09 18:21:51 +00:00
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
2009-04-09 15:33:02 +00:00
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
2009-04-09 15:17:03 +00:00
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
2009-04-07 15:59:50 +00:00
Benoit Fouet
ccc745cdf4
Move declaration of prn before any assignment.
...
Originally committed as revision 18255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-31 07:37:55 +00:00
Diego Biurrun
294eaa2643
Replace random() usage in test programs by av_lfg_*().
...
Originally committed as revision 18070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 11:48:27 +00:00
Diego Biurrun
578f90a8d5
Align test program output columns.
...
Originally committed as revision 18068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 11:40:05 +00:00
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
2009-01-18 22:57:40 +00:00
Aurelien Jacobs
9ce6c13879
export gcd function as av_gcd()
...
Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 11:13:33 +00:00
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
2009-01-13 23:44:16 +00:00
Michael Niedermayer
fe5c7e588d
More POSIX _t namespace cleanup.
...
Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 16:21:23 +00:00
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
2008-12-02 10:43:08 +00:00
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
2008-11-25 00:20:49 +00:00