Michael Niedermayer
d375c10400
Fake-Merge remote-tracking branch 'ffmpeg-mt/master'
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
d23e3e5fea
Move ff_emulated_edge_mc() into DSPContext.
...
(cherry picked from commit 2e27959879
)
14 years ago
Ronald S. Bultje
2e27959879
Move ff_emulated_edge_mc() into DSPContext.
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
5262f7ed1d
snow: remove unused parameter to mc_block()
...
Originally committed as revision 23746 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
Måns Rullgård
33996217ca
Add ff_ prefix to dwt functions
...
Originally committed as revision 22523 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
Måns Rullgård
c26e58e32c
Add some missing #includes
...
Originally committed as revision 22258 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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
15 years ago
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
15 years ago
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
15 years ago
Jai Menon
4536c8e603
Snow : re-indent after r21093.
...
Originally committed as revision 21094 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
a4bd598541
Snow : remove pointless 'if(1)'.
...
Originally committed as revision 21093 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
2da16f288a
Snow : use non-NULL context for av_log.
...
Originally committed as revision 21089 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
8ec5a042e4
Cosmetics : remove duplicated comment.
...
Originally committed as revision 21088 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
e8c6411ce3
Snow : release buffers allocated using avctx->get_buffer.
...
Originally committed as revision 21084 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
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