ffmpeg.git
6 years agoh264: don't store intra pcm samples in h->mb.
Ronald S. Bultje [Sun, 17 Feb 2013 22:52:24 +0000 (14:52 -0800)]
h264: don't store intra pcm samples in h->mb.

Instead, keep them in the bitstream buffer until we read them verbatim,
this saves a memcpy() and a subsequent clearing of the target buffer.
decode_cabac+decode_mb for a sample file (CAPM3_Sony_D.jsv) goes from
6121.4 to 6095.5 cycles, i.e. 26 cycles faster.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agov4l2: try to fix build on BSD
Michael Niedermayer [Sun, 17 Feb 2013 23:46:03 +0000 (00:46 +0100)]
v4l2: try to fix build on BSD

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/noise: switch to AVLFG noise generator
Paul B Mahol [Sun, 17 Feb 2013 21:05:33 +0000 (21:05 +0000)]
lavfi/noise: switch to AVLFG noise generator

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoh264: don't initialize missing pictures when using VDPAU.
Carl Eugen Hoyos [Sun, 17 Feb 2013 21:33:40 +0000 (22:33 +0100)]
h264: don't initialize missing pictures when using VDPAU.

This fixes an assertion failure when running mplayer -vc ffh264vdpau.

Reported by irc user ioni.

6 years agoh264: avoid calling get_format() multiple times
Michael Niedermayer [Sun, 17 Feb 2013 19:41:16 +0000 (20:41 +0100)]
h264: avoid calling get_format() multiple times

Some applications do not like that.
Fixes VDA
Reduces noise for VDPAU

Tested-by: Guillaume POIRIER <poirierg@gmail.com>
Tested-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoRevert "swfenc: use av_get_audio_frame_duration() instead of AVCodecContext.frame_size"
Carl Eugen Hoyos [Sun, 17 Feb 2013 18:56:09 +0000 (19:56 +0100)]
Revert "swfenc: use av_get_audio_frame_duration() instead of AVCodecContext.frame_size"

This reverts commit 620b88a302d522f71a6a95aff500cf7bd8520043.

Fixes ticket #2272.

Conflicts:
libavformat/swfenc.c

6 years agoAdd yvu410 as a supported v4l2 input format.
Carl Eugen Hoyos [Sun, 17 Feb 2013 18:45:58 +0000 (19:45 +0100)]
Add yvu410 as a supported v4l2 input format.

6 years agoAdd gray16 as a supported v4l2 input format.
Carl Eugen Hoyos [Sun, 17 Feb 2013 18:44:13 +0000 (19:44 +0100)]
Add gray16 as a supported v4l2 input format.

6 years agofate: add print() to the tests of eval
Michael Niedermayer [Sun, 17 Feb 2013 16:16:30 +0000 (17:16 +0100)]
fate: add print() to the tests of eval

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoeval: print() support
Michael Niedermayer [Fri, 25 Jan 2013 16:51:56 +0000 (17:51 +0100)]
eval: print() support

This allows printing values via av_log from expressions.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoOnly set accelerated arm fft functions if fft is enabled.
Carl Eugen Hoyos [Sun, 17 Feb 2013 16:29:55 +0000 (17:29 +0100)]
Only set accelerated arm fft functions if fft is enabled.

Fixes lavc compilation (linking) for configurations without fft.

Reported-by: tyler wear
Tested-by: Gavin Kinsey
6 years agodoc/codecs: simple sub_charenc option documentation.
Clément Bœsch [Sun, 17 Feb 2013 15:58:08 +0000 (16:58 +0100)]
doc/codecs: simple sub_charenc option documentation.

6 years agodoc/examples: do not allocate AVFrame directly.
Nicolas George [Sat, 16 Feb 2013 10:36:32 +0000 (11:36 +0100)]
doc/examples: do not allocate AVFrame directly.

The size of the AVFrame structure is not part of the ABI;
it can grow with later versions. Therefore, applications
are not supposed to allocate AVFrame directly, they are
supposed to use avcodec_alloc_frame() instead.

6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 17 Feb 2013 13:24:01 +0000 (14:24 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  error_resilience: add required headers.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavf/subtitles: error out in case of bitmap subtitles.
Clément Bœsch [Sun, 17 Feb 2013 12:33:52 +0000 (13:33 +0100)]
lavf/subtitles: error out in case of bitmap subtitles.

6 years agolavc: fix codec_descriptor and pkt_timebase doxy.
Clément Bœsch [Sun, 17 Feb 2013 12:28:20 +0000 (13:28 +0100)]
lavc: fix codec_descriptor and pkt_timebase doxy.

6 years agotests: fix values for the unsharp test
Stefano Sabatini [Sun, 17 Feb 2013 12:11:33 +0000 (13:11 +0100)]
tests: fix values for the unsharp test

Set odd size for unsharp matrices, even values are not accepted.

6 years agolavc/utils: reindent in avcodec_decode_subtitle2() after f7963993.
Clément Bœsch [Sun, 17 Feb 2013 12:08:30 +0000 (13:08 +0100)]
lavc/utils: reindent in avcodec_decode_subtitle2() after f7963993.

6 years agolavfi/subtitles: set a different description between ass and subtitles.
Clément Bœsch [Sun, 17 Feb 2013 11:33:55 +0000 (12:33 +0100)]
lavfi/subtitles: set a different description between ass and subtitles.

6 years agolavfi: rename vf_ass.c to vf_subtitles.c
Clément Bœsch [Mon, 31 Dec 2012 10:18:29 +0000 (11:18 +0100)]
lavfi: rename vf_ass.c to vf_subtitles.c

6 years agolavfi/subtitles: support charenc option.
Clément Bœsch [Mon, 31 Dec 2012 10:15:59 +0000 (11:15 +0100)]
lavfi/subtitles: support charenc option.

6 years agolavfi/subtitles: split options between ass and subtitles.
Clément Bœsch [Mon, 31 Dec 2012 10:07:29 +0000 (11:07 +0100)]
lavfi/subtitles: split options between ass and subtitles.

6 years agolavc: support subtitles character encoding conversion.
Clément Bœsch [Mon, 7 Jan 2013 17:08:56 +0000 (18:08 +0100)]
lavc: support subtitles character encoding conversion.

6 years agolavc: mark bitmap based subtitles codecs as such.
Clément Bœsch [Sat, 5 Jan 2013 10:06:31 +0000 (11:06 +0100)]
lavc: mark bitmap based subtitles codecs as such.

6 years agolavfi/mp: drop mp=kerndeint filter
Stefano Sabatini [Sun, 17 Feb 2013 10:22:13 +0000 (11:22 +0100)]
lavfi/mp: drop mp=kerndeint filter

The filter has been natively integrated into libavfilter.

6 years agolavfi/mp: drop mp=unsharp filter
Stefano Sabatini [Fri, 15 Feb 2013 13:26:07 +0000 (14:26 +0100)]
lavfi/mp: drop mp=unsharp filter

The native filter is equivalent from the point of view of the features
and of performances.

6 years agolavfi/unsharp: add missing NULL check
Stefano Sabatini [Fri, 15 Feb 2013 13:22:21 +0000 (14:22 +0100)]
lavfi/unsharp: add missing NULL check

6 years agolavfi/unsharp: merge definition and declaration in init_filter_param()
Stefano Sabatini [Fri, 15 Feb 2013 13:19:13 +0000 (14:19 +0100)]
lavfi/unsharp: merge definition and declaration in init_filter_param()

6 years agolavfi/unsharp: directly access in-loop variables in apply_unsharp()
Stefano Sabatini [Sat, 16 Feb 2013 15:55:55 +0000 (16:55 +0100)]
lavfi/unsharp: directly access in-loop variables in apply_unsharp()

Increase performance, to match mp=unsharp.

6 years agolavfi/unsharp: add check on matrix x/y size values oddity
Stefano Sabatini [Fri, 15 Feb 2013 13:18:02 +0000 (14:18 +0100)]
lavfi/unsharp: add check on matrix x/y size values oddity

6 years agoerror_resilience: add required headers.
Anton Khirnov [Sat, 16 Feb 2013 19:58:18 +0000 (20:58 +0100)]
error_resilience: add required headers.

6 years agoChangelog: Add entry for encrypted TTA stream decoding
James Almer [Sat, 16 Feb 2013 07:49:50 +0000 (04:49 -0300)]
Changelog: Add entry for encrypted TTA stream decoding

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc/tta: Use a safer check for encrypted streams
James Almer [Sat, 16 Feb 2013 04:12:30 +0000 (01:12 -0300)]
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>
6 years agoh264: don't initialize missing pictures when using a hwaccel
Hendrik Leppkes [Sat, 16 Feb 2013 23:25:34 +0000 (00:25 +0100)]
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>
6 years agolavu: Fix checkheaders for x86/emms.h
James Almer [Sat, 16 Feb 2013 03:56:14 +0000 (00:56 -0300)]
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>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 16 Feb 2013 20:14:00 +0000 (21:14 +0100)]
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>
6 years agoMerge commit '1d0feb5d1ac04d187b335f0e8d411c9f40b3a885'
Michael Niedermayer [Sat, 16 Feb 2013 18:00:39 +0000 (19:00 +0100)]
Merge commit '1d0feb5d1ac04d187b335f0e8d411c9f40b3a885'

* commit '1d0feb5d1ac04d187b335f0e8d411c9f40b3a885':
  mpegvideo: split ff_draw_horiz_band().

Conflicts:
libavcodec/vc1dec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '54974c62982ae827becdbdb9b620b7ba75d079a0'
Michael Niedermayer [Sat, 16 Feb 2013 17:46:28 +0000 (18:46 +0100)]
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>
6 years agoChangelog: add missing empty line after the version line
Stefano Sabatini [Sat, 16 Feb 2013 15:01:01 +0000 (16:01 +0100)]
Changelog: add missing empty line after the version line

6 years agoMerge commit 'd9ebb00dcbaac3812b8b1fbc3d6e027506c11cbc'
Michael Niedermayer [Sat, 16 Feb 2013 13:30:21 +0000 (14:30 +0100)]
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>
6 years agoMerge commit '68f930d2188aba5b32624887dcbf688c23482834'
Michael Niedermayer [Sat, 16 Feb 2013 13:13:20 +0000 (14:13 +0100)]
Merge commit '68f930d2188aba5b32624887dcbf688c23482834'

* commit '68f930d2188aba5b32624887dcbf688c23482834':
  h264: simplify calls to ff_er_add_slice().

Conflicts:
libavcodec/h264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agocinepack: print an error if cinepak_decode() failed
Michael Niedermayer [Sat, 16 Feb 2013 12:49:04 +0000 (13:49 +0100)]
cinepack: print an error if cinepak_decode() failed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoyadif: remove unused variable
Michael Niedermayer [Sat, 16 Feb 2013 12:24:43 +0000 (13:24 +0100)]
yadif: remove unused variable

Found by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'd2a25c4032ce6ceabb0f51b5c1e6ca865395a793'
Michael Niedermayer [Sat, 16 Feb 2013 12:13:42 +0000 (13:13 +0100)]
Merge commit 'd2a25c4032ce6ceabb0f51b5c1e6ca865395a793'

* commit 'd2a25c4032ce6ceabb0f51b5c1e6ca865395a793':
  get_buffer(): do not initialize the data.

Conflicts:
libavcodec/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264: color frames gray
Michael Niedermayer [Sat, 16 Feb 2013 11:13:48 +0000 (12:13 +0100)]
h264: color frames gray

This prevents a regression from the removial of the buffer
initialization

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec: add avpriv_color_frame()
Michael Niedermayer [Sat, 16 Feb 2013 11:13:27 +0000 (12:13 +0100)]
avcodec: add avpriv_color_frame()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi: port MP noise filter
Paul B Mahol [Sun, 10 Feb 2013 15:18:30 +0000 (15:18 +0000)]
lavfi: port MP noise filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agompegvideo_enc: draw edges on input
Michael Niedermayer [Sat, 16 Feb 2013 09:44:38 +0000 (10:44 +0100)]
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>
6 years agoMerge commit '64ed397635ef2666b0ca0c8d8c60a8bc44581d82'
Michael Niedermayer [Sat, 16 Feb 2013 08:03:58 +0000 (09:03 +0100)]
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>
6 years agoMerge commit 'ccd70d9c1689990e5aef2de383199bbc7cf60d13'
Michael Niedermayer [Sat, 16 Feb 2013 07:48:45 +0000 (08:48 +0100)]
Merge commit 'ccd70d9c1689990e5aef2de383199bbc7cf60d13'

* commit 'ccd70d9c1689990e5aef2de383199bbc7cf60d13':
  vf_yadif: factorize initializing the filtering callbacks

Conflicts:
libavfilter/vf_yadif.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sat, 16 Feb 2013 02:03:29 +0000 (03:03 +0100)]
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>
6 years agolavfi/yadif: support 9, 12, and 14 bits per pixel
James Darnley [Fri, 15 Feb 2013 22:48:31 +0000 (23:48 +0100)]
lavfi/yadif: support 9, 12, and 14 bits per pixel

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/yadif: remove unnecessary cast
James Darnley [Fri, 15 Feb 2013 22:48:30 +0000 (23:48 +0100)]
lavfi/yadif: remove unnecessary cast

Finish what 99162f8 started

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/kerndeint: move is_rgb_packed definition to the internal context
Stefano Sabatini [Fri, 15 Feb 2013 18:44:08 +0000 (19:44 +0100)]
lavfi/kerndeint: move is_rgb_packed definition to the internal context

No need to recompute it for each new frame.

6 years agolavfi/kerndeint: use aligned linesizes for the temporary buffer.
Clément Bœsch [Sun, 6 Jan 2013 18:34:16 +0000 (19:34 +0100)]
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>
6 years agolavfi/unsharp: extend range for amount values, to reflect the behavior of mp=unsharp
Stefano Sabatini [Fri, 15 Feb 2013 13:06:05 +0000 (14:06 +0100)]
lavfi/unsharp: extend range for amount values, to reflect the behavior of mp=unsharp

Also update the documentation accordingly, and suggest a meaningful range.

6 years agodoc/filters: itemize unsharp examples
Stefano Sabatini [Fri, 15 Feb 2013 01:07:02 +0000 (02:07 +0100)]
doc/filters: itemize unsharp examples

Also drop pointless example.

6 years agolavfi/unsharp: use named options, and add missing checks on matrix size values
Stefano Sabatini [Fri, 12 Aug 2011 23:08:48 +0000 (01:08 +0200)]
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.

6 years agosws/x86: improve rounding for yuv2yuvX
Michael Niedermayer [Fri, 15 Feb 2013 20:08:51 +0000 (21:08 +0100)]
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>
6 years agolavfi/kerndeint: use av_pix_fmt_desc_get instead of directly accessing the table
Hendrik Leppkes [Fri, 15 Feb 2013 14:53:54 +0000 (15:53 +0100)]
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>
6 years agodoc: fix reference to ffmpeg-bitstream-filters.html page
Stefano Sabatini [Fri, 15 Feb 2013 12:31:09 +0000 (13:31 +0100)]
doc: fix reference to ffmpeg-bitstream-filters.html page

6 years agolavfi/ebur128: advance pointer to samples
sedacca@comcast.net [Fri, 18 Jan 2013 05:14:01 +0000 (05:14 +0000)]
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.

6 years agolavfi/ebur128: fix channel weights
David A. Sedacca [Sat, 19 Jan 2013 20:24:53 +0000 (20:24 +0000)]
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>
6 years agoh264: deMpegEncContextize
Anton Khirnov [Sun, 3 Feb 2013 10:10:05 +0000 (11:10 +0100)]
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>
6 years agompegvideo: split ff_draw_horiz_band().
Anton Khirnov [Sun, 3 Feb 2013 13:26:34 +0000 (14:26 +0100)]
mpegvideo: split ff_draw_horiz_band().

Split out dependency on MpegEncContext.

6 years agoerror_resilience: decouple ER from MpegEncContext
Anton Khirnov [Sat, 2 Feb 2013 19:42:07 +0000 (20:42 +0100)]
error_resilience: decouple ER from MpegEncContext

6 years agosvq3: remove a pointless if()
Anton Khirnov [Mon, 4 Feb 2013 10:21:10 +0000 (11:21 +0100)]
svq3: remove a pointless if()

The H264 context is always uninitialized at this point.

6 years agoh264: remove a pointless if()
Anton Khirnov [Sun, 3 Feb 2013 09:21:39 +0000 (10:21 +0100)]
h264: remove a pointless if()

!encoding is always true, we do not have a H.264 encoder

6 years agoh264: simplify calls to ff_er_add_slice().
Anton Khirnov [Sat, 2 Feb 2013 14:18:00 +0000 (15:18 +0100)]
h264: simplify calls to ff_er_add_slice().

partitioned_frame is never set for h264 (as easily seen from git grep).

6 years agoget_buffer(): do not initialize the data.
Anton Khirnov [Wed, 30 Jan 2013 15:41:08 +0000 (16:41 +0100)]
get_buffer(): do not initialize the data.

There may be more decoders that rely on this. Those should be found and
fixed.

6 years agovf_yadif: fix out-of line reads
Anton Khirnov [Thu, 7 Feb 2013 17:31:45 +0000 (18:31 +0100)]
vf_yadif: fix out-of line reads

Some changes in the border pixels, visually indistinguishable.

6 years agovf_yadif: factorize initializing the filtering callbacks
Anton Khirnov [Sat, 9 Feb 2013 07:28:37 +0000 (08:28 +0100)]
vf_yadif: factorize initializing the filtering callbacks

Do it all in config_props().

6 years agoffplay: only display frames if there are no pending events
Marton Balint [Fri, 15 Feb 2013 11:43:27 +0000 (12:43 +0100)]
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>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 15 Feb 2013 11:27:44 +0000 (12:27 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  sparc: dsputil: Simplify high_bit_depth checks

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '49fe280753e0f167ac3d9f227f0c0f7744501fc1'
Michael Niedermayer [Fri, 15 Feb 2013 11:18:37 +0000 (12:18 +0100)]
Merge commit '49fe280753e0f167ac3d9f227f0c0f7744501fc1'

* commit '49fe280753e0f167ac3d9f227f0c0f7744501fc1':
  h264idct: Replace duplicate scan8 table by appropriate #include

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '4db96649ca700db563d9da4ebe70bf9fc4c7a6ba'
Michael Niedermayer [Fri, 15 Feb 2013 11:10:08 +0000 (12:10 +0100)]
Merge commit '4db96649ca700db563d9da4ebe70bf9fc4c7a6ba'

* commit '4db96649ca700db563d9da4ebe70bf9fc4c7a6ba':
  avutil: Ensure that emms_c is always defined, even on non-x86
  configure: Move MinGW CPPFLAGS setting to libc section, where it belongs
  avutil: Move emms code to x86-specific header

Conflicts:
configure
libavutil/internal.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agobuild: fixes a "can't cd to..." issue when installing shared libraries.
Cyrille Faucheux [Tue, 12 Feb 2013 16:23:31 +0000 (17:23 +0100)]
build: fixes a "can't cd to..." issue when installing shared libraries.

The problem is reproducible with a relative prefix path.

6 years agolavf: dont try to find fps for attached pictures
Michael Niedermayer [Fri, 15 Feb 2013 01:17:39 +0000 (02:17 +0100)]
lavf: dont try to find fps for attached pictures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosparc: dsputil: Simplify high_bit_depth checks
Diego Biurrun [Fri, 15 Feb 2013 01:13:42 +0000 (02:13 +0100)]
sparc: dsputil: Simplify high_bit_depth checks

6 years agolavfi/unsharp: use the same macros used in the original MP filter
Stefano Sabatini [Fri, 12 Aug 2011 22:44:08 +0000 (00:44 +0200)]
lavfi/unsharp: use the same macros used in the original MP filter

Remove possibly pointless inconsistency with the ported code.

Also specify parameter value ranges consistent with those of the ported
filter.

6 years agoexamples/scaling_video: fix typo
Stefano Sabatini [Thu, 14 Feb 2013 23:26:04 +0000 (00:26 +0100)]
examples/scaling_video: fix typo

6 years agodoc/APIchanges: List merge commit hashes and version numbers
Michael Niedermayer [Wed, 13 Feb 2013 02:32:23 +0000 (03:32 +0100)]
doc/APIchanges: List merge commit hashes and version numbers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264idct: Replace duplicate scan8 table by appropriate #include
Diego Biurrun [Fri, 18 Jan 2013 22:00:18 +0000 (23:00 +0100)]
h264idct: Replace duplicate scan8 table by appropriate #include

6 years agoffplay: remove remains of video_clock
Marton Balint [Sun, 10 Feb 2013 00:35:45 +0000 (01:35 +0100)]
ffplay: remove remains of video_clock

We are now using a pts based approach, libavutil/libavcodec should provide the
correct pts-es anyway. This also fixes an issue when seeking to a frame with a
pts set to zero.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agoffplay: remove refresh thread to achieve more precise frame delay
Marton Balint [Sun, 3 Feb 2013 23:51:57 +0000 (00:51 +0100)]
ffplay: remove refresh thread to achieve more precise frame delay

We use a refresh loop which displays the frames and also does the polling for
pending events in a non-blocking way. If we know the required delay until the
next frame, then exactly that amount of sleeping will be done. After each
handled event we check if we have to display a frame which kind of makes
displaying the frame a high priority event.

This improves greatly the smoothness of the video output especially with 50fps
content.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agodshow: Fix MSVC support, remove av_export, which was apparently unneeded anyway.
rogerdpack [Thu, 14 Feb 2013 19:00:30 +0000 (12:00 -0700)]
dshow: Fix MSVC support, remove av_export, which was apparently unneeded anyway.

Also cleanup exported symbols

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoRemoving network.h from matroskadec.c
Vignesh Venkatasubramanian [Thu, 14 Feb 2013 22:59:30 +0000 (14:59 -0800)]
Removing network.h from matroskadec.c

Removing accidentally added include file.

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffmpeg: Check for parameter changes at the output of the audio filter graph
Michael Niedermayer [Thu, 14 Feb 2013 22:43:34 +0000 (23:43 +0100)]
ffmpeg: Check for parameter changes at the output of the audio filter graph

It is currently possible that such changes leak through from the decoder as
well as a filter could generate such changes itself.
This commit blocks such changed packets unless the encoder declares support.

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoFix a few "its" vs "it's" typo.
Clément Bœsch [Thu, 14 Feb 2013 22:45:48 +0000 (23:45 +0100)]
Fix a few "its" vs "it's" typo.

6 years agodoc/resampler: fix two typo.
Clément Bœsch [Thu, 14 Feb 2013 22:43:08 +0000 (23:43 +0100)]
doc/resampler: fix two typo.

6 years agolavfi/showspectrum: simplify intensity_color_table declaration.
Clément Bœsch [Thu, 14 Feb 2013 22:10:01 +0000 (23:10 +0100)]
lavfi/showspectrum: simplify intensity_color_table declaration.

6 years agolavfi/showspectrum: pretty-align constants.
Clément Bœsch [Thu, 14 Feb 2013 22:04:15 +0000 (23:04 +0100)]
lavfi/showspectrum: pretty-align constants.

Binary object unchanged.

6 years agoAdding AlphaMode element to Matroska Parser
Vignesh Venkatasubramanian [Mon, 4 Feb 2013 23:17:52 +0000 (15:17 -0800)]
Adding AlphaMode element to Matroska Parser

Adding support for parsing AlphaMode element in the Track header
and export that information as a metadata tag. This flag indicates
presence of alpha channel data in BlockAdditional element.

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoapichanges: fix 2 wrong hashes
Michael Niedermayer [Thu, 14 Feb 2013 20:13:32 +0000 (21:13 +0100)]
apichanges: fix 2 wrong hashes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoapichanges: Use , instead of / to seperate multiple hashes
Michael Niedermayer [Thu, 14 Feb 2013 19:34:10 +0000 (20:34 +0100)]
apichanges: Use , instead of / to seperate multiple hashes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoapichanges: fix date
Michael Niedermayer [Thu, 14 Feb 2013 19:32:24 +0000 (20:32 +0100)]
apichanges: fix date

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavutil: Ensure that emms_c is always defined, even on non-x86
Diego Biurrun [Thu, 14 Feb 2013 18:07:21 +0000 (19:07 +0100)]
avutil: Ensure that emms_c is always defined, even on non-x86

6 years agofate: Add encrypted tta stream test
James Almer [Thu, 14 Feb 2013 00:56:01 +0000 (21:56 -0300)]
fate: Add encrypted tta stream test

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomovenc: hotfix, dont store fiel for h264 / mpeg4-asp / dnxhd
Michael Niedermayer [Thu, 14 Feb 2013 16:11:34 +0000 (17:11 +0100)]
movenc: hotfix, dont store fiel for h264 / mpeg4-asp / dnxhd

Other software does not store it in this case, and the information
is provided by the codec stream

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoconfigure: Move MinGW CPPFLAGS setting to libc section, where it belongs
Diego Biurrun [Wed, 13 Feb 2013 19:00:47 +0000 (20:00 +0100)]
configure: Move MinGW CPPFLAGS setting to libc section, where it belongs