Stefano Sabatini
7ca2f8b113
lavfi/mp: drop mp=kerndeint filter
...
The filter has been natively integrated into libavfilter.
12 years ago
Stefano Sabatini
8c85a9f046
lavfi/mp: drop mp=unsharp filter
...
The native filter is equivalent from the point of view of the features
and of performances.
12 years ago
Stefano Sabatini
89505f2c3f
lavfi/unsharp: add missing NULL check
12 years ago
Stefano Sabatini
64e592eef2
lavfi/unsharp: merge definition and declaration in init_filter_param()
12 years ago
Stefano Sabatini
d2cadea3f0
lavfi/unsharp: directly access in-loop variables in apply_unsharp()
...
Increase performance, to match mp=unsharp.
12 years ago
Stefano Sabatini
ef4c71e8f8
lavfi/unsharp: add check on matrix x/y size values oddity
12 years ago
James Almer
b8bb661dab
Changelog: Add entry for encrypted TTA stream decoding
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Almer
2e988fd689
lavc/tta: Use a safer check for encrypted streams
...
The user can provide a password even when the stream
is not encrypted, so check the value of s->format
instead of s->pass in ttafilter_init().
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
1d6f6ff4d9
h264: don't initialize missing pictures when using a hwaccel
...
Writing into uninitialized hw surfaces is not supported and triggers an assert inside avpriv_color_frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Almer
a56fd9edab
lavu: Fix checkheaders for x86/emms.h
...
internal.h doesn't need to include cpu.h anymore since
the relevant code was moved to x86/emms.h
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b7fe35c9e5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
h264: deMpegEncContextize
Conflicts:
libavcodec/dxva2_h264.c
libavcodec/h264.c
libavcodec/h264.h
libavcodec/h264_cabac.c
libavcodec/h264_cavlc.c
libavcodec/h264_loopfilter.c
libavcodec/h264_mb_template.c
libavcodec/h264_parser.c
libavcodec/h264_ps.c
libavcodec/h264_refs.c
libavcodec/h264_sei.c
libavcodec/svq3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ddbbfd95be
Merge commit '1d0feb5d1ac04d187b335f0e8d411c9f40b3a885'
...
* commit '1d0feb5d1ac04d187b335f0e8d411c9f40b3a885':
mpegvideo: split ff_draw_horiz_band().
Conflicts:
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1fad547cef
Merge commit '54974c62982ae827becdbdb9b620b7ba75d079a0'
...
* commit '54974c62982ae827becdbdb9b620b7ba75d079a0':
error_resilience: decouple ER from MpegEncContext
Conflicts:
libavcodec/error_resilience.c
libavcodec/h263dec.c
libavcodec/h264.c
libavcodec/mpegvideo.c
libavcodec/vc1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
2bac1535db
Changelog: add missing empty line after the version line
12 years ago
Michael Niedermayer
8b7568cc34
Merge commit 'd9ebb00dcbaac3812b8b1fbc3d6e027506c11cbc'
...
* commit 'd9ebb00dcbaac3812b8b1fbc3d6e027506c11cbc':
svq3: remove a pointless if()
h264: remove a pointless if()
Conflicts:
libavcodec/h264.c
libavcodec/svq3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
131b9c924d
Merge commit '68f930d2188aba5b32624887dcbf688c23482834'
...
* commit '68f930d2188aba5b32624887dcbf688c23482834':
h264: simplify calls to ff_er_add_slice().
Conflicts:
libavcodec/h264.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0a707da37b
cinepack: print an error if cinepak_decode() failed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b4bb996d6f
yadif: remove unused variable
...
Found by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bb29ee62e9
Merge commit 'd2a25c4032ce6ceabb0f51b5c1e6ca865395a793'
...
* commit 'd2a25c4032ce6ceabb0f51b5c1e6ca865395a793':
get_buffer(): do not initialize the data.
Conflicts:
libavcodec/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1c5b8b916d
h264: color frames gray
...
This prevents a regression from the removial of the buffer
initialization
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a53b144ec0
avcodec: add avpriv_color_frame()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
af882e1819
lavfi: port MP noise filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
1e78679768
mpegvideo_enc: draw edges on input
...
Improves Motion estimation, avoids using out of picture areas for %16 != 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
446f7c62a2
Merge commit '64ed397635ef2666b0ca0c8d8c60a8bc44581d82'
...
* commit '64ed397635ef2666b0ca0c8d8c60a8bc44581d82':
vf_yadif: fix out-of line reads
Conflicts:
libavfilter/vf_yadif.c
tests/ref/fate/filter-yadif-mode0
tests/ref/fate/filter-yadif-mode1
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
fab8a89abe
Merge commit 'ccd70d9c1689990e5aef2de383199bbc7cf60d13'
...
* commit 'ccd70d9c1689990e5aef2de383199bbc7cf60d13':
vf_yadif: factorize initializing the filtering callbacks
Conflicts:
libavfilter/vf_yadif.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b9c544891b
Merge remote-tracking branch 'cus/stable'
...
* cus/stable:
ffplay: only display frames if there are no pending events
ffplay: remove remains of video_clock
ffplay: remove refresh thread to achieve more precise frame delay
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Darnley
87d359ff8f
lavfi/yadif: support 9, 12, and 14 bits per pixel
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
James Darnley
724061888b
lavfi/yadif: remove unnecessary cast
...
Finish what 99162f8
started
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
f84ef19f3f
lavfi/kerndeint: move is_rgb_packed definition to the internal context
...
No need to recompute it for each new frame.
12 years ago
Clément Bœsch
51ba843f19
lavfi/kerndeint: use aligned linesizes for the temporary buffer.
...
This improves the performances just enough to match mp=kerndeint.
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years ago
Stefano Sabatini
2042cd3769
lavfi/unsharp: extend range for amount values, to reflect the behavior of mp=unsharp
...
Also update the documentation accordingly, and suggest a meaningful range.
12 years ago
Stefano Sabatini
37b42bcb7d
doc/filters: itemize unsharp examples
...
Also drop pointless example.
12 years ago
Stefano Sabatini
fbcc584d3a
lavfi/unsharp: use named options, and add missing checks on matrix size values
...
In particular, avoid out-of-buffer access and crashes with too big
values, and rework documentation accordingly.
12 years ago
Michael Niedermayer
5e947aeb59
sws/x86: improve rounding for yuv2yuvX
...
This tries to compensate for the errors introduced by
the rounding of pmulhw
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
5ad43af9a6
lavfi/kerndeint: use av_pix_fmt_desc_get instead of directly accessing the table
...
Fixes FATE in MSVC DLL builds.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
0018221c03
doc: fix reference to ffmpeg-bitstream-filters.html page
12 years ago
sedacca@comcast.net
b64de24fd7
lavfi/ebur128: advance pointer to samples
...
Correct the advancement of a pointer to skip over LFE samples as
intended in the loudness computation.
This suggested patch is 3 of 3 for Ticket #2144 "libavfilter ebur128
loudness inaccuracy, irregular time interval, LFE interference".
This suggested patch supersedes the contribution of January 15, 2013
in the thread “[PATCH] lavfi: EBU R.128 irreg time, ch weights, skip
LFE” which combined multiple fixes in one batch.
12 years ago
David A. Sedacca
de21e6736e
lavfi/ebur128: fix channel weights
...
Correct the recognition of channel layouts for good channel weight
in the loudness computation.
This suggested patch is 2 of 3 for Ticket #2144 "libavfilter ebur128
loudness inaccuracy, irregular time interval, LFE interference".
Signed-off-by: David A. Sedacca <sedacca at comcast.net>
12 years ago
Anton Khirnov
2c54155407
h264: deMpegEncContextize
...
Most of the changes are just trivial are just trivial replacements of
fields from MpegEncContext with equivalent fields in H264Context.
Everything in h264* other than h264.c are those trivial changes.
The nontrivial parts are:
1) extracting a simplified version of the frame management code from
mpegvideo.c. We don't need last/next_picture anymore, since h264 uses
its own more complex system already and those were set only to appease
the mpegvideo parts.
2) some tables that need to be allocated/freed in appropriate places.
3) hwaccels -- mostly trivial replacements.
for dxva, the draw_horiz_band() call is moved from
ff_dxva2_common_end_frame() to per-codec end_frame() callbacks,
because it's now different for h264 and MpegEncContext-based
decoders.
4) svq3 -- it does not use h264 complex reference system, so I just
added some very simplistic frame management instead and dropped the
use of ff_h264_frame_start(). Because of this I also had to move some
initialization code to svq3.
Additional fixes for chroma format and bit depth changes by
Janne Grunau <janne-libav@jannau.net>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
1d0feb5d1a
mpegvideo: split ff_draw_horiz_band().
...
Split out dependency on MpegEncContext.
12 years ago
Anton Khirnov
54974c6298
error_resilience: decouple ER from MpegEncContext
12 years ago
Anton Khirnov
d9ebb00dcb
svq3: remove a pointless if()
...
The H264 context is always uninitialized at this point.
12 years ago
Anton Khirnov
2491f9ee29
h264: remove a pointless if()
...
!encoding is always true, we do not have a H.264 encoder
12 years ago
Anton Khirnov
68f930d218
h264: simplify calls to ff_er_add_slice().
...
partitioned_frame is never set for h264 (as easily seen from git grep).
12 years ago
Anton Khirnov
d2a25c4032
get_buffer(): do not initialize the data.
...
There may be more decoders that rely on this. Those should be found and
fixed.
12 years ago
Anton Khirnov
64ed397635
vf_yadif: fix out-of line reads
...
Some changes in the border pixels, visually indistinguishable.
12 years ago
Anton Khirnov
ccd70d9c16
vf_yadif: factorize initializing the filtering callbacks
...
Do it all in config_props().
12 years ago
Marton Balint
77ab702a84
ffplay: only display frames if there are no pending events
...
Otherwise events could just pile up if displaying a frame takes more time than
the duration of the frame.
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years ago
Michael Niedermayer
f98598942f
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
sparc: dsputil: Simplify high_bit_depth checks
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
048ecbd3f8
Merge commit '49fe280753e0f167ac3d9f227f0c0f7744501fc1'
...
* commit '49fe280753e0f167ac3d9f227f0c0f7744501fc1':
h264idct: Replace duplicate scan8 table by appropriate #include
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago