]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge commit '39523030108815242178ac5e209c83070bd1baef'
Michael Niedermayer [Tue, 20 Aug 2013 10:16:31 +0000 (12:16 +0200)]
Merge commit '39523030108815242178ac5e209c83070bd1baef'

* commit '39523030108815242178ac5e209c83070bd1baef':
  mov: Set the timescale for data streams

Conflicts:
libavformat/movenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b886f5c2f1e71b3e60e4265c500158d392b4b9a4'
Michael Niedermayer [Tue, 20 Aug 2013 09:44:25 +0000 (11:44 +0200)]
Merge commit 'b886f5c2f1e71b3e60e4265c500158d392b4b9a4'

* commit 'b886f5c2f1e71b3e60e4265c500158d392b4b9a4':
  mkv: Allow flushing the current cluster in progress

Conflicts:
libavformat/matroskaenc.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '59f595921eb2b848a80a74aa81b6bb43038c9ebe'
Michael Niedermayer [Tue, 20 Aug 2013 09:30:46 +0000 (11:30 +0200)]
Merge commit '59f595921eb2b848a80a74aa81b6bb43038c9ebe'

* commit '59f595921eb2b848a80a74aa81b6bb43038c9ebe':
  mkv: Flush the old cluster before writing a new one

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '98308bd44face14ea3142b501d16226eec23b75a'
Michael Niedermayer [Tue, 20 Aug 2013 09:15:11 +0000 (11:15 +0200)]
Merge commit '98308bd44face14ea3142b501d16226eec23b75a'

* commit '98308bd44face14ea3142b501d16226eec23b75a':
  mkv: Add options for specifying cluster limits

Conflicts:
libavformat/matroskaenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '148fbdd1c2a2a88a78ba9fd152c81c840bdb205a'
Michael Niedermayer [Tue, 20 Aug 2013 09:05:02 +0000 (11:05 +0200)]
Merge commit '148fbdd1c2a2a88a78ba9fd152c81c840bdb205a'

* commit '148fbdd1c2a2a88a78ba9fd152c81c840bdb205a':
  mkv: Refactor mkv_write_packet

Conflicts:
libavformat/matroskaenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1: rename minor to micro version
Michael Niedermayer [Tue, 20 Aug 2013 01:30:36 +0000 (03:30 +0200)]
ffv1: rename minor to micro version

the version is 1.3.4 which makes 4 micro and not minor

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomov: Set the timescale for data streams
Luca Barbato [Mon, 19 Aug 2013 15:18:21 +0000 (17:18 +0200)]
mov: Set the timescale for data streams

Data streams have a defined timebase, do not ignore it.

11 years agompegvideo: Use picture_ptr instead of picture in ff_mpeg_draw_horiz_band()
Michael Niedermayer [Mon, 19 Aug 2013 22:14:24 +0000 (00:14 +0200)]
mpegvideo: Use picture_ptr instead of picture in ff_mpeg_draw_horiz_band()

Fixes strides and issue with mplayer and mpeg2 field pictures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomkv: Allow flushing the current cluster in progress
Martin Storsjö [Mon, 19 Aug 2013 07:33:14 +0000 (08:33 +0100)]
mkv: Allow flushing the current cluster in progress

Allow emitting the current cluster that is being written before
starting a new one, simplifying how to figure out where clusters
are positioned in the output stream (for live streaming).

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomkv: Flush the old cluster before writing a new one
Luca Barbato [Sun, 18 Aug 2013 18:09:41 +0000 (20:09 +0200)]
mkv: Flush the old cluster before writing a new one

This simplifies keeping track of cluster boundaries for e.g.
livestreaming of WebM.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agomkv: Add options for specifying cluster limits
Luca Barbato [Sun, 18 Aug 2013 18:09:40 +0000 (20:09 +0200)]
mkv: Add options for specifying cluster limits

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoavformat/matroskadec: add WebVTT support
Matthew Heaney [Thu, 8 Aug 2013 22:40:03 +0000 (15:40 -0700)]
avformat/matroskadec: add WebVTT support

WebM files now support inband text tracks, as described in the
following specification:

http://wiki.webmproject.org/webm-metadata/temporal-metadata/webvtt-in-webm

The Matroska demuxer now detects the presence of WebVTT tracks,
synthesizing WebVTT packets (having codec id AV_CODEC_ID_WEBVTT) and
pushing them downstream in the normal way.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale: improve dither checks
Michael Niedermayer [Mon, 19 Aug 2013 10:45:32 +0000 (12:45 +0200)]
swscale: improve dither checks

Bssed on patch by Øyvind Kolås <pippin@gimp.org>

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale: set dither to a specific value for rgb/bgr8 output
Michael Niedermayer [Mon, 19 Aug 2013 16:29:40 +0000 (18:29 +0200)]
swscale: set dither to a specific value for rgb/bgr8 output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomkv: Refactor mkv_write_packet
Luca Barbato [Sun, 18 Aug 2013 18:09:39 +0000 (20:09 +0200)]
mkv: Refactor mkv_write_packet

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoRevert "doc/RELEASE_NOTES: add a note about AVISynth"
Stephen Hutchinson [Mon, 19 Aug 2013 03:15:08 +0000 (23:15 -0400)]
Revert "doc/RELEASE_NOTES: add a note about AVISynth"

This reverts commit 3aa2257d240a5a0eb94014b9113dd91730786886.

11 years agomatroskaenc: remove unneeded wavpack tag
Paul B Mahol [Mon, 19 Aug 2013 09:41:18 +0000 (09:41 +0000)]
matroskaenc: remove unneeded wavpack tag

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 19 Aug 2013 09:11:14 +0000 (11:11 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ogg: Fix potential infinite discard loop

No change as this commit has been part of ffmpeg since a while already

See: d7b542ae294aaf818f2a00c5606e009cf931e77c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoogg: Fix potential infinite discard loop
Reimar Döffinger [Sun, 18 Aug 2013 15:40:51 +0000 (17:40 +0200)]
ogg: Fix potential infinite discard loop

Seeking in certain broken files would cause ogg_read_timestamp
to fail because ogg_packet would go into a state where all packets
of stream 1 would be discarded until the end of the stream.

Bug-Id: 553
CC: libav-stable@libav.org
Signed-off-by: Jan Gerber <j@v2v.cc>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoFix frame width and height for some targa_y216 samples.
Carl Eugen Hoyos [Sun, 18 Aug 2013 21:37:27 +0000 (23:37 +0200)]
Fix frame width and height for some targa_y216 samples.

Fixes ticket #2864.

11 years agoavformat/mpegts: resync from the smallest packet size on
Michael Niedermayer [Sun, 18 Aug 2013 20:59:04 +0000 (22:59 +0200)]
avformat/mpegts: resync from the smallest packet size on

This avoids the loss of a packet in many cases if the packet size was wrong.
It also improves detection of packet size changes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegts_get_pcr: dont loose a packet when resyncing
Michael Niedermayer [Sun, 18 Aug 2013 20:31:19 +0000 (22:31 +0200)]
mpegts_get_pcr: dont loose a packet when resyncing

This matches how read_packet() works

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegts: fix pos47_full
Michael Niedermayer [Sun, 18 Aug 2013 20:10:41 +0000 (22:10 +0200)]
mpegts: fix pos47_full

The value was off by a packet

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/mpegts: print packet size warning only if new size differs from old
Michael Niedermayer [Sun, 18 Aug 2013 19:30:19 +0000 (21:30 +0200)]
avformat/mpegts: print packet size warning only if new size differs from old

No case is known to have triggered this, but its more correct to check that the
new size differs.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoWarn the user if a pix_fmt != yuv420p was chosen for MPEG-2 video encoding.
Carl Eugen Hoyos [Sun, 18 Aug 2013 20:00:35 +0000 (22:00 +0200)]
Warn the user if a pix_fmt != yuv420p was chosen for MPEG-2 video encoding.

Fixes ticket #2870.

11 years agoavcodec/jpeg2000dec: fix near null pointer dereference
Michael Niedermayer [Sun, 18 Aug 2013 16:44:12 +0000 (18:44 +0200)]
avcodec/jpeg2000dec: fix near null pointer dereference

Fixes Ticket2840

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegts: reanalyze packet size on mismatches
Michael Niedermayer [Sun, 18 Aug 2013 14:35:38 +0000 (16:35 +0200)]
mpegts: reanalyze packet size on mismatches

Fixes Ticket1812
Fixes Ticket2838

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/error_resilience: Fix handling of matrox mpeg2
Michael Niedermayer [Sun, 18 Aug 2013 12:20:16 +0000 (14:20 +0200)]
avcodec/error_resilience: Fix handling of matrox mpeg2

Fixes Ticket2615

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompeg12dec: also print progressive seq and chroma format
Michael Niedermayer [Sun, 18 Aug 2013 11:55:57 +0000 (13:55 +0200)]
mpeg12dec: also print progressive seq and chroma format

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: add ffv1.0 test
Michael Niedermayer [Sun, 18 Aug 2013 10:43:11 +0000 (12:43 +0200)]
fate: add ffv1.0 test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 18 Aug 2013 10:01:08 +0000 (12:01 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  movenc: Indicate that negative timestamps are supported

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c34a96a5ddfa390ce2a352eca79190766c9056d4'
Michael Niedermayer [Sun, 18 Aug 2013 09:50:47 +0000 (11:50 +0200)]
Merge commit 'c34a96a5ddfa390ce2a352eca79190766c9056d4'

* commit 'c34a96a5ddfa390ce2a352eca79190766c9056d4':
  dxa: fix decoding of first I-frame by separating I/P-frame decoding

Conflicts:
libavcodec/dxa.c

See: 186e47ef6d7d90bfd8b16e77cfa5e7aeb2a497c0
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/matroskadec: check out_samplerate before using it in av_rescale()
Michael Niedermayer [Sun, 18 Aug 2013 00:20:54 +0000 (02:20 +0200)]
avformat/matroskadec: check out_samplerate before using it in av_rescale()

Prevent assertion failure with damaged input

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomatroskadec: Improve TTA duration calculation
James Almer [Sat, 17 Aug 2013 17:48:33 +0000 (14:48 -0300)]
matroskadec: Improve TTA duration calculation

Calculate the duration as accurately as possible to improve decoding of samples
where the last frame is smaller than the rest.

Example:
Take lossless-audio/luckynight-partial.tak from the FATE suit and convert it
to TTA muxed into matroska:

ffmpeg -i $(SAMPLES)/lossless-audio/luckynight-partial.tak -c:a tta lucky.mka

The framemd5 output for lucky.mka without this patch:

0,          0,          0,    46080,   184320, 7c3751ddd571d2903c3cf0ab4b3e3d0a
0,      46080,      46080,    46080,   184320, 6b70c782ba1da3f933fde2daa4f96b73
0,      92160,      92160,    46080,   184320, dcf70d89c54b9a4f0b302d4ec4fb302d
0,     138240,     138240,    46080,   184320, 48713ca38b388d2ea4abf5b86ed1226f
0,     184320,     184320,    46080,   184320, 12188a23648e7ebfb07cd6fe9197b2ea
0,     230400,     230400,    46080,   184320, 49653ab8186a5d4a044ed284671a26e0
0,     276480,     276480,    46080,   184320, 5e82c6a7fe58c7ea612c03a0a2927dd4
0,     322560,     322560,    46080,   184320, 83dc449dbd9eab5f2e8ad2b4403d6a21
0,     368640,     368640,    46080,   184320, bdd6b92c23d30978d4e802d305b0fc49

With this patch:

0,          0,          0,    46080,   184320, 7c3751ddd571d2903c3cf0ab4b3e3d0a
0,      46080,      46080,    46080,   184320, 6b70c782ba1da3f933fde2daa4f96b73
0,      92160,      92160,    46080,   184320, dcf70d89c54b9a4f0b302d4ec4fb302d
0,     138240,     138240,    46080,   184320, 48713ca38b388d2ea4abf5b86ed1226f
0,     184320,     184320,    46080,   184320, 12188a23648e7ebfb07cd6fe9197b2ea
0,     230400,     230400,    46080,   184320, 49653ab8186a5d4a044ed284671a26e0
0,     276480,     276480,    46080,   184320, 5e82c6a7fe58c7ea612c03a0a2927dd4
0,     322560,     322560,    46080,   184320, 83dc449dbd9eab5f2e8ad2b4403d6a21
0,     368640,     368640,    46080,   184320, bdd6b92c23d30978d4e802d305b0fc49
0,     414720,     414720,     4230,    16920, b50b440c5bbcecb8e9fbece643447593

The duration without this patch was calculated as 418950000000, which is bigger
than uint32_t and as such stored as 2338172288.
With this patch the duration is correctly calculated as 418950.

Signed-off-by: James Almer <jamrial@gmail.com>
Approved-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agowavpackenc: do not copy samples if they are not available
Paul B Mahol [Sat, 17 Aug 2013 22:25:49 +0000 (22:25 +0000)]
wavpackenc: do not copy samples if they are not available

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavf/matroska: Adding the new SeekPreRoll element
Vignesh Venkatasubramanian [Fri, 16 Aug 2013 18:08:06 +0000 (11:08 -0700)]
lavf/matroska: Adding the new SeekPreRoll element

In order to encapsuate Opus in Matroska, there is a new element
that has been added to the Matroska Spec, SeekPreRoll. It has the
duration in nanoseconds that has to be decoded before every seek.
Spec: http://matroska.org/technical/specs/index.html#SeekPreRoll
Proposal for encapsulateing Opus in Matroska:
http://wiki.xiph.org/MatroskaOpus

Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomovenc: Indicate that negative timestamps are supported
Martin Storsjö [Sat, 17 Aug 2013 16:05:53 +0000 (17:05 +0100)]
movenc: Indicate that negative timestamps are supported

The mov/mp4 muxer has support for handling negative timestamps
via edit lists (which customarily is used for handling the 1-frame
delay due to B-frames as well).

Using the muxer's native way of handling it is better than using
the generic offsetting. The generic offsetting is a bit too
crude when e.g. the timebase of one track is 1/fps, where the
edit lists can handle it accurately.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavcodec: fix compilation without vdpau
Michael Niedermayer [Sat, 17 Aug 2013 13:49:59 +0000 (15:49 +0200)]
avcodec: fix compilation without vdpau

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoRevert "Merge commit of 'vdpau: remove old-style decoders'"
Michael Niedermayer [Sat, 17 Aug 2013 13:31:14 +0000 (15:31 +0200)]
Revert "Merge commit of 'vdpau: remove old-style decoders'"

This reverts commit bf36dc50ea448999c8f8c7a35f6139a7040f6275, reversing
changes made to b7fc2693c70fe72936e4ce124c802ac23857c476.

Conflicts:

libavcodec/h264.c

Keeping support for the old VDPAU API has been requested by our VDPAU maintainer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/dxa: Support printing picture debug info
Michael Niedermayer [Sat, 17 Aug 2013 12:30:10 +0000 (14:30 +0200)]
avcodec/dxa: Support printing picture debug info

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavisynth: Support video input from AviSynth 2.5 properly.
Stephen Hutchinson [Fri, 16 Aug 2013 21:29:55 +0000 (17:29 -0400)]
avisynth: Support video input from AviSynth 2.5 properly.

Uses the 2.5 compatibility header included with the variant of
FFMS2 that uses AviSynth's C-interface. A copy of this header is
now provided in compat/avisynth.

avs_get_row_size_p and avs_get_height_p changed between versions
2.5 and 2.6. Since the avisynth_c.h header that avformat uses
assumes AviSynth 2.6, it would cause 2.5 to crash if given any
kind of real video (the Version() function was known to work,
though).

AvxSynth was unaffected by this issue because, despite being based
on AviSynth 2.5.8 and using 2.5.8's interface version number of 3,
it actually uses 2.6's versions of these functions.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodxa: fix decoding of first I-frame by separating I/P-frame decoding
Janne Grunau [Sat, 17 Aug 2013 10:36:36 +0000 (12:36 +0200)]
dxa: fix decoding of first I-frame by separating I/P-frame decoding

5ef7c84 broke decoding for the first keyframe due to an unnecessary
check for a reference frame.

CC: libav-stable@libav.org
11 years agodxa: fix support of decoding all frames even in the absence of references
Michael Niedermayer [Sat, 17 Aug 2013 09:12:47 +0000 (11:12 +0200)]
dxa: fix support of decoding all frames even in the absence of references

The case where decoding should only happen for keyframes and afterwards
(CODEC_FLAG2_SHOW_ALL not set) does not fully work neither before nor
after this

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodxa: only fail with an error about reference frames if the reference frame would...
Michael Niedermayer [Sat, 17 Aug 2013 09:11:45 +0000 (11:11 +0200)]
dxa: only fail with an error about reference frames if the reference frame would be used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 17 Aug 2013 08:36:19 +0000 (10:36 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dxa: Make sure the reference frame exists

See: 12eb2fd5394813a6119912b22f5dfc17b4a6b4a0
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c59967fa7cc5bc2fa06b36c17d2c207240c06b3e'
Michael Niedermayer [Sat, 17 Aug 2013 08:30:38 +0000 (10:30 +0200)]
Merge commit 'c59967fa7cc5bc2fa06b36c17d2c207240c06b3e'

* commit 'c59967fa7cc5bc2fa06b36c17d2c207240c06b3e':
  h261: check the mtype index

Conflicts:
libavcodec/h261dec.c

The right half of the check is impossible to be true and thus replaced by
an assert()

See: ec3cd74f2dab8e3e8234ccb994132b23d3098585
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1: update years in header
Michael Niedermayer [Fri, 16 Aug 2013 23:41:31 +0000 (01:41 +0200)]
ffv1: update years in header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1enc: propagate error code from write_extradata()
Michael Niedermayer [Fri, 16 Aug 2013 23:38:53 +0000 (01:38 +0200)]
ffv1enc: propagate error code from write_extradata()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1enc: check for malloc failure
Michael Niedermayer [Fri, 16 Aug 2013 23:38:32 +0000 (01:38 +0200)]
ffv1enc: check for malloc failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/tee: add support for bitstream filtering
Stefano Sabatini [Fri, 5 Jul 2013 16:33:30 +0000 (18:33 +0200)]
lavf/tee: add support for bitstream filtering

This allows to apply different bitstream filters to different outputs,
with no need to transcode.

11 years agoavcodec/dirac_dwt: Remove unused ff_spatial_idwt2()
Michael Niedermayer [Fri, 16 Aug 2013 13:56:10 +0000 (15:56 +0200)]
avcodec/dirac_dwt: Remove unused ff_spatial_idwt2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_mp: remove unused sws related functions
Michael Niedermayer [Fri, 16 Aug 2013 13:55:19 +0000 (15:55 +0200)]
avfilter/vf_mp: remove unused sws related functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter: remove ff_copy_int*_list
Michael Niedermayer [Fri, 16 Aug 2013 13:35:00 +0000 (15:35 +0200)]
avfilter: remove ff_copy_int*_list

The functions are unused

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale: change ff_dither_8x8_128 dimensions to be consistent with the others
Michael Niedermayer [Fri, 16 Aug 2013 13:01:47 +0000 (15:01 +0200)]
swscale: change ff_dither_8x8_128 dimensions to be consistent with the others

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodxa: Make sure the reference frame exists
Luca Barbato [Wed, 14 Aug 2013 14:51:53 +0000 (16:51 +0200)]
dxa: Make sure the reference frame exists

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agoh261: check the mtype index
Luca Barbato [Wed, 14 Aug 2013 14:57:21 +0000 (16:57 +0200)]
h261: check the mtype index

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
11 years agolavfi/transpose: call av_frame_copy_props()
Paul B Mahol [Wed, 14 Aug 2013 21:34:27 +0000 (21:34 +0000)]
lavfi/transpose: call av_frame_copy_props()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/transpose: support slice threading
Paul B Mahol [Wed, 14 Aug 2013 19:01:06 +0000 (19:01 +0000)]
lavfi/transpose: support slice threading

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/tile: make color of blank/unused area configurable
Paul B Mahol [Wed, 14 Aug 2013 21:51:27 +0000 (21:51 +0000)]
lavfi/tile: make color of blank/unused area configurable

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 16 Aug 2013 12:21:34 +0000 (14:21 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  altivec: perform an explicit unaligned load

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '9d86bfc259ae9ba7a76067ec931ff20fbb86ea2a'
Michael Niedermayer [Fri, 16 Aug 2013 12:04:57 +0000 (14:04 +0200)]
Merge commit '9d86bfc259ae9ba7a76067ec931ff20fbb86ea2a'

* commit '9d86bfc259ae9ba7a76067ec931ff20fbb86ea2a':
  hlsenc: Don't reset the number variable when wrapping

Conflicts:
libavformat/hlsenc.c

See: 75b9fb27f516f9db7995ab2c2abb83e25cae5813
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '09c93b1b957f2049ea5fd8fb0e6f4d82680172f2'
Michael Niedermayer [Fri, 16 Aug 2013 11:54:38 +0000 (13:54 +0200)]
Merge commit '09c93b1b957f2049ea5fd8fb0e6f4d82680172f2'

* commit '09c93b1b957f2049ea5fd8fb0e6f4d82680172f2':
  hlsenc: Append the last incomplete segment when closing the output

Conflicts:
libavformat/hlsenc.c

See: 4630dfd1ebb6550f352ea69ce7150aaaba96d413
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c9031c7c1446a1a63eff7c0bf50d1ee559adf3fb'
Michael Niedermayer [Fri, 16 Aug 2013 11:43:31 +0000 (13:43 +0200)]
Merge commit 'c9031c7c1446a1a63eff7c0bf50d1ee559adf3fb'

* commit 'c9031c7c1446a1a63eff7c0bf50d1ee559adf3fb':
  hlsenc: Add a proper dependency on the mpegts muxer

Conflicts:
libavformat/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '239f55bf3c966782b781338df284f250393b9ed6'
Michael Niedermayer [Fri, 16 Aug 2013 11:37:06 +0000 (13:37 +0200)]
Merge commit '239f55bf3c966782b781338df284f250393b9ed6'

* commit '239f55bf3c966782b781338df284f250393b9ed6':
  vp56data: Move all data tables to the .c file

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'cb214707a6cb0d3272ec0261af6f1f5d8b7dabc7'
Michael Niedermayer [Fri, 16 Aug 2013 11:19:19 +0000 (13:19 +0200)]
Merge commit 'cb214707a6cb0d3272ec0261af6f1f5d8b7dabc7'

* commit 'cb214707a6cb0d3272ec0261af6f1f5d8b7dabc7':
  vp56data: Move all shared enum/struct declarations to common header

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '38f64c03301ac66d7b54b3e4bd2bf6454f9fb2d3'
Michael Niedermayer [Fri, 16 Aug 2013 11:13:58 +0000 (13:13 +0200)]
Merge commit '38f64c03301ac66d7b54b3e4bd2bf6454f9fb2d3'

* commit '38f64c03301ac66d7b54b3e4bd2bf6454f9fb2d3':
  mpeg12decdata.h: Move all tables to the only place they are used

Conflicts:
libavcodec/mpeg12decdata.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ec6c1b1d832ec3261cc3faf93a18d7b2a84883c6'
Michael Niedermayer [Fri, 16 Aug 2013 11:08:09 +0000 (13:08 +0200)]
Merge commit 'ec6c1b1d832ec3261cc3faf93a18d7b2a84883c6'

* commit 'ec6c1b1d832ec3261cc3faf93a18d7b2a84883c6':
  mpeg12decdata: Remove unused #define

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c591d4575a6f97fbbe6145304b1ea960e8e81e14'
Michael Niedermayer [Fri, 16 Aug 2013 11:01:37 +0000 (13:01 +0200)]
Merge commit 'c591d4575a6f97fbbe6145304b1ea960e8e81e14'

* commit 'c591d4575a6f97fbbe6145304b1ea960e8e81e14':
  avcodec: Replace local extern declarations for tables with header #includes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'aa2ba8c99e5708884a56aea9c1d96e014866f8a3'
Michael Niedermayer [Fri, 16 Aug 2013 10:53:24 +0000 (12:53 +0200)]
Merge commit 'aa2ba8c99e5708884a56aea9c1d96e014866f8a3'

* commit 'aa2ba8c99e5708884a56aea9c1d96e014866f8a3':
  swscale: Move extern declarations for tables to swscale_internal.h

Conflicts:
libswscale/output.c
libswscale/swscale_internal.h
libswscale/swscale_unscaled.c
libswscale/utils.c
libswscale/yuv2rgb.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'd258531502b24cb653204fe4f003c8815755bdc4'
Michael Niedermayer [Fri, 16 Aug 2013 10:38:12 +0000 (12:38 +0200)]
Merge commit 'd258531502b24cb653204fe4f003c8815755bdc4'

* commit 'd258531502b24cb653204fe4f003c8815755bdc4':
  swscale: Mark a bunch of tables only used within one file static

Conflicts:
libswscale/swscale_unscaled.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '060ce0c697e261ca2792a7df30dfd1bae6900a4f'
Michael Niedermayer [Fri, 16 Aug 2013 10:31:39 +0000 (12:31 +0200)]
Merge commit '060ce0c697e261ca2792a7df30dfd1bae6900a4f'

* commit '060ce0c697e261ca2792a7df30dfd1bae6900a4f':
  ivi_common: Make some tables only used within the file static

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '4b054a3400f728c54470ee6a1eefe1d82420f6a2'
Michael Niedermayer [Fri, 16 Aug 2013 10:31:11 +0000 (12:31 +0200)]
Merge commit '4b054a3400f728c54470ee6a1eefe1d82420f6a2'

* commit '4b054a3400f728c54470ee6a1eefe1d82420f6a2':
  rtpproto: Check the right feature detection macro

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '163a729725c6eb0081b0af41a7279f7d19aee86e'
Michael Niedermayer [Fri, 16 Aug 2013 10:18:41 +0000 (12:18 +0200)]
Merge commit '163a729725c6eb0081b0af41a7279f7d19aee86e'

* commit '163a729725c6eb0081b0af41a7279f7d19aee86e':
  electronicarts: Let functions always returning the same value return void

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '4908c8ef2706d98022bf27a5c5bca1fe109e7529'
Michael Niedermayer [Fri, 16 Aug 2013 10:14:32 +0000 (12:14 +0200)]
Merge commit '4908c8ef2706d98022bf27a5c5bca1fe109e7529'

* commit '4908c8ef2706d98022bf27a5c5bca1fe109e7529':
  electronicarts: Improve some function/variable names

Conflicts:
libavformat/electronicarts.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a90cff137b2aca89380b0acad41cd7bb05619ece'
Michael Niedermayer [Fri, 16 Aug 2013 10:08:38 +0000 (12:08 +0200)]
Merge commit 'a90cff137b2aca89380b0acad41cd7bb05619ece'

* commit 'a90cff137b2aca89380b0acad41cd7bb05619ece':
  electronicarts: comment wording fixes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '288f2ffb57ae9e9eee2748aca26da3aeb3ca6f6c'
Michael Niedermayer [Fri, 16 Aug 2013 10:07:45 +0000 (12:07 +0200)]
Merge commit '288f2ffb57ae9e9eee2748aca26da3aeb3ca6f6c'

* commit '288f2ffb57ae9e9eee2748aca26da3aeb3ca6f6c':
  electronicarts: Remove bogus function documentation

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8747fce91fca6bb8e9936497f2de05c905cf43b5'
Michael Niedermayer [Fri, 16 Aug 2013 10:01:22 +0000 (12:01 +0200)]
Merge commit '8747fce91fca6bb8e9936497f2de05c905cf43b5'

* commit '8747fce91fca6bb8e9936497f2de05c905cf43b5':
  electronicarts: K&R formatting cosmetics

Conflicts:
libavformat/electronicarts.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e8c0defe1322f0ff281d9bc5eee91fa1b712b6aa'
Michael Niedermayer [Fri, 16 Aug 2013 09:43:26 +0000 (11:43 +0200)]
Merge commit 'e8c0defe1322f0ff281d9bc5eee91fa1b712b6aa'

* commit 'e8c0defe1322f0ff281d9bc5eee91fa1b712b6aa':
  8bps: decode 24bit files correctly as rgb32 on bigendian

Conflicts:
libavcodec/8bps.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaltivec: perform an explicit unaligned load
Kostya Shishkov [Wed, 14 Aug 2013 19:28:05 +0000 (15:28 -0400)]
altivec: perform an explicit unaligned load

Implicit vector loads on POWER7 hardware can use the VSX
instruction set instead of classic Altivec/VMX. Let's force
a VMX load in this case.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavfilter/vf_scale+aresample: minor simpification
Michael Niedermayer [Fri, 16 Aug 2013 02:25:39 +0000 (04:25 +0200)]
avfilter/vf_scale+aresample: minor simpification

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_scale: generic swscale option support
Michael Niedermayer [Thu, 15 Aug 2013 20:42:56 +0000 (22:42 +0200)]
avfilter/vf_scale: generic swscale option support

With this all AVOptions from swscale can be set without each needing
changes to vf_scale.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agohlsenc: Don't reset the number variable when wrapping
Carl Eugen Hoyos [Thu, 6 Jun 2013 10:09:38 +0000 (12:09 +0200)]
hlsenc: Don't reset the number variable when wrapping

The counter itself shouldn't be wrapped, since it is used for
determining end_pts for the next segment - only wrap the number
used for the segment file name.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohlsenc: Append the last incomplete segment when closing the output
Stefano Sabatini [Thu, 15 Aug 2013 09:33:20 +0000 (12:33 +0300)]
hlsenc: Append the last incomplete segment when closing the output

Also avoid comparing NOPTS values.

Bug-id: 551
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agohlsenc: Add a proper dependency on the mpegts muxer
Martin Storsjö [Thu, 15 Aug 2013 13:09:27 +0000 (16:09 +0300)]
hlsenc: Add a proper dependency on the mpegts muxer

The hls muxer itself doesn't have any direct (object file level)
dependencies on mpegtsenc.o, and including that object file
directly doesn't ensure that it is registered so that the muxer
actually is accessible.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agosws: add dither enum
Michael Niedermayer [Wed, 14 Aug 2013 15:19:32 +0000 (17:19 +0200)]
sws: add dither enum

This allows specifying more dither algorithms without using up flags and
without ambiguities.

Also initialize the new field based on the flags and use it.
Note, improving the logic of the checks is left to subsequent
commits, this here only switches from flags to enum.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale_unscaled: make dither_scale static, its not used elsewhere and has no prefix
Michael Niedermayer [Thu, 15 Aug 2013 18:46:57 +0000 (20:46 +0200)]
swscale_unscaled: make dither_scale static, its not used elsewhere and has no prefix

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/riff: add DM4V FourCC
Piotr Bandurski [Thu, 15 Aug 2013 12:12:47 +0000 (14:12 +0200)]
avformat/riff: add DM4V FourCC

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovp56data: Move all data tables to the .c file
Diego Biurrun [Wed, 14 Aug 2013 16:49:14 +0000 (18:49 +0200)]
vp56data: Move all data tables to the .c file

11 years agovp56data: Move all shared enum/struct declarations to common header
Diego Biurrun [Wed, 14 Aug 2013 16:39:37 +0000 (18:39 +0200)]
vp56data: Move all shared enum/struct declarations to common header

11 years agompeg12decdata.h: Move all tables to the only place they are used
Diego Biurrun [Wed, 14 Aug 2013 16:19:46 +0000 (18:19 +0200)]
mpeg12decdata.h: Move all tables to the only place they are used

11 years agompeg12decdata: Remove unused #define
Diego Biurrun [Wed, 14 Aug 2013 16:57:08 +0000 (18:57 +0200)]
mpeg12decdata: Remove unused #define

11 years agoavcodec: Replace local extern declarations for tables with header #includes
Diego Biurrun [Thu, 15 Aug 2013 10:58:41 +0000 (12:58 +0200)]
avcodec: Replace local extern declarations for tables with header #includes

11 years agoswscale: Move extern declarations for tables to swscale_internal.h
Diego Biurrun [Thu, 15 Aug 2013 11:38:12 +0000 (13:38 +0200)]
swscale: Move extern declarations for tables to swscale_internal.h

Also add missing ff_ prefixes where necessary.

11 years agoswscale: Mark a bunch of tables only used within one file static
Diego Biurrun [Thu, 15 Aug 2013 11:29:01 +0000 (13:29 +0200)]
swscale: Mark a bunch of tables only used within one file static

11 years agoivi_common: Make some tables only used within the file static
Diego Biurrun [Thu, 15 Aug 2013 11:13:01 +0000 (13:13 +0200)]
ivi_common: Make some tables only used within the file static

11 years agortpproto: Check the right feature detection macro
Martin Storsjö [Thu, 15 Aug 2013 07:36:20 +0000 (10:36 +0300)]
rtpproto: Check the right feature detection macro

IPPROTO_IPV6 is unrelated here (it's only used in udp.c for
multicast sockopts), check for support for the sockaddr_in6
struct itself.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavcodec/ffv1enc: bump minor_version for the chroma_plane fix
Michael Niedermayer [Thu, 15 Aug 2013 11:49:21 +0000 (13:49 +0200)]
avcodec/ffv1enc: bump minor_version for the chroma_plane fix

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/ffv1enc: fix chroma_plane for rgb/rgba
Michael Niedermayer [Thu, 15 Aug 2013 11:26:50 +0000 (13:26 +0200)]
avcodec/ffv1enc: fix chroma_plane for rgb/rgba

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1: fix plane_count at version 1.4
Michael Niedermayer [Thu, 15 Aug 2013 11:03:32 +0000 (13:03 +0200)]
ffv1: fix plane_count at version 1.4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1dec: support printing information about the global header
Michael Niedermayer [Thu, 15 Aug 2013 10:52:41 +0000 (12:52 +0200)]
ffv1dec: support printing information about the global header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>