OSDN Git Service

android-x86/external-ffmpeg.git
12 years agofilters.texi: remove confusing reference to never integrated -af option
Stefano Sabatini [Fri, 9 Dec 2011 14:52:40 +0000 (15:52 +0100)]
filters.texi: remove confusing reference to never integrated -af option

12 years agocljrenc: Add dither to avoid the banding artifcats caused by the very low
Michael Niedermayer [Fri, 9 Dec 2011 00:11:06 +0000 (01:11 +0100)]
cljrenc: Add dither to avoid the banding artifcats caused by the very low
number of bits used to represent brightness levels.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 8 Dec 2011 23:05:51 +0000 (00:05 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  cljr: K&R cosmetics
  cljr: return a more sensible value when encountering invalid headers
  cljr: drop unnecessary emms_c() calls without MMX code
  cljr: remove useless casts
  cljr: group encode/decode parts under single ifdefs
  cljr: remove stray semicolon
  cljr: add missing return statement in decode_end()
  doc: add pulseaudio to the input list
  avconv: remove unsubstantiated comment
  shorten: avoid abort() on unknown audio types
  cljr: add encoder
  build: merge lists of HTML documentation targets
  tests/examples: Mark some variables only used within their files as static.
  tests/tools/examples: Replace direct exit() calls by return.
  x86 cpuid: set vendor union members separately
  cljr: release picture at end of decoding
  rv40: NEON optimised rv40 qpel motion compensation

Conflicts:
doc/examples/muxing.c
libavcodec/cljr.c
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAPIchanges: add entry after av_buffersink_poll_frame() addition
Stefano Sabatini [Thu, 8 Dec 2011 21:55:33 +0000 (22:55 +0100)]
APIchanges: add entry after av_buffersink_poll_frame() addition

12 years agoMerge remote-tracking branch 'tjoppen/opatom_demuxing_and_seeking'
Michael Niedermayer [Thu, 8 Dec 2011 20:29:27 +0000 (21:29 +0100)]
Merge remote-tracking branch 'tjoppen/opatom_demuxing_and_seeking'

* tjoppen/opatom_demuxing_and_seeking:
  mxfdec: Index table driven demuxing and seeking
  mxfdec: Compute packet offsets properly
  mxfdec: Use MaterialPackage - Track - TrackID instead of the system_item hack
  mxfdec: Parse more values in PartitionPack
  mxfdec: Parse TemporalOffsets
  mxfdec: av_dlog():ify 'no corresponding source package found'
  mxfdec: Compute essence container offsets and lengths into mxf->partitions
  mxfdec: Make mxf->partitions sorted by offset
  mxfdec: Parse ThisPartition
  mxfdec: Speed up metadata and index parsing
  mxfdec: Make sure DataDefinition is consistent between material track and source track
  mxfdec: Add EssenceContainer UL found in 0001GL00.MXF.A1.mxf_opatom.mxf

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibnut: NULL priv->nut after nut_demuxer_uninit() as a saftey precaution.
Michael Niedermayer [Wed, 7 Dec 2011 22:35:57 +0000 (23:35 +0100)]
libnut: NULL priv->nut after nut_demuxer_uninit() as a saftey precaution.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibnut: Check nut_demuxer_init() return value.
Michael Niedermayer [Wed, 7 Dec 2011 22:35:21 +0000 (23:35 +0100)]
libnut: Check nut_demuxer_init() return value.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibnut: check for av_malloc failure.
Michael Niedermayer [Mon, 28 Nov 2011 04:23:48 +0000 (05:23 +0100)]
libnut: check for av_malloc failure.

No, ive no testcase, i just spoted these when looking ...

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: Use the buffer sinks poll instead of its input.
Michael Niedermayer [Tue, 6 Dec 2011 16:03:07 +0000 (17:03 +0100)]
ffmpeg: Use the buffer sinks poll instead of its input.
This fixes the case that the buffer sinks fifo contains frames which
would not show up on the poll from its input

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobuffersink: Implement a poll function.
Michael Niedermayer [Tue, 6 Dec 2011 16:02:15 +0000 (17:02 +0100)]
buffersink: Implement a poll function.
With this the application can find out how many frames are available.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomxfdec: Index table driven demuxing and seeking
Tomas Härdin [Thu, 8 Dec 2011 19:28:49 +0000 (20:28 +0100)]
mxfdec: Index table driven demuxing and seeking

This adds OPAtom support and proper seeking.
D-10 and non-seekable OP1a streams still use the old demuxing/seeking code.

12 years agocljr: K&R cosmetics
Diego Biurrun [Thu, 8 Dec 2011 14:51:38 +0000 (15:51 +0100)]
cljr: K&R cosmetics

12 years agocljr: return a more sensible value when encountering invalid headers
Diego Biurrun [Thu, 8 Dec 2011 14:53:27 +0000 (15:53 +0100)]
cljr: return a more sensible value when encountering invalid headers

12 years agocljr: drop unnecessary emms_c() calls without MMX code
Diego Biurrun [Thu, 8 Dec 2011 14:38:49 +0000 (15:38 +0100)]
cljr: drop unnecessary emms_c() calls without MMX code

12 years agodocs: Minor project name cleanup
Michael Niedermayer [Thu, 8 Dec 2011 19:07:32 +0000 (20:07 +0100)]
docs: Minor project name cleanup

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoindevs.texi: fix application name to match the code
Michael Niedermayer [Thu, 8 Dec 2011 19:02:53 +0000 (20:02 +0100)]
indevs.texi: fix application name to match the code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: more exact comment about libavformat.
Michael Niedermayer [Thu, 8 Dec 2011 18:34:53 +0000 (19:34 +0100)]
ffmpeg: more exact comment about libavformat.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomxfdec: Compute packet offsets properly
Tomas Härdin [Thu, 8 Dec 2011 11:23:36 +0000 (12:23 +0100)]
mxfdec: Compute packet offsets properly

This replaces the old essence_offset code

12 years agomxfdec: Use MaterialPackage - Track - TrackID instead of the system_item hack
Tomas Härdin [Thu, 8 Dec 2011 10:53:57 +0000 (11:53 +0100)]
mxfdec: Use MaterialPackage - Track - TrackID instead of the system_item hack

12 years agomxfdec: Parse more values in PartitionPack
Tomas Härdin [Thu, 8 Dec 2011 16:45:35 +0000 (17:45 +0100)]
mxfdec: Parse more values in PartitionPack

These values include KAGSize, HeaderByteCount and IndexByteCount.
The length of the pack itself is also stored, and KAGSize is sanity checked.
The FATE sample has KAGSize == 0, which is adjusted to 512.
Other bad KAGSizes are set to 1.

12 years agoFix typo: Correctly parse 64 byte umid tags in bext metadata.
Carl Eugen Hoyos [Thu, 8 Dec 2011 18:00:55 +0000 (19:00 +0100)]
Fix typo: Correctly parse 64 byte umid tags in bext metadata.

12 years agolavu: introduce av_log_format_line.
Nicolas George [Thu, 8 Dec 2011 12:54:05 +0000 (13:54 +0100)]
lavu: introduce av_log_format_line.

12 years agoMerge remote-tracking branch 'shariman/wmall'
Michael Niedermayer [Thu, 8 Dec 2011 17:44:37 +0000 (18:44 +0100)]
Merge remote-tracking branch 'shariman/wmall'

* shariman/wmall:
  Pass pointer to integer buffer instead of integer to memcpy

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegtsenc: recognize .mts as MPEG Transport Stream (encoding)
jb@kdenlive.org [Thu, 8 Dec 2011 14:16:48 +0000 (15:16 +0100)]
mpegtsenc: recognize .mts as MPEG Transport Stream (encoding)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAdd Escape 130 to the documentation
Paul B Mahol [Thu, 8 Dec 2011 12:13:42 +0000 (12:13 +0000)]
Add Escape 130 to the documentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoescape130: replace can_safely_read() by get_bits_left()
Michael Niedermayer [Thu, 8 Dec 2011 12:50:25 +0000 (13:50 +0100)]
escape130: replace can_safely_read() by get_bits_left()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoescape130: give all av_log() a context
Michael Niedermayer [Thu, 8 Dec 2011 12:48:24 +0000 (13:48 +0100)]
escape130: give all av_log() a context

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoescape130: The minimum read in and after decode_skip_count() is 4 bits.
Michael Niedermayer [Thu, 8 Dec 2011 12:43:01 +0000 (13:43 +0100)]
escape130: The minimum read in and after decode_skip_count() is 4 bits.
Thus we can check for 4 being available.
If the next block is skiped we need 4 bits to encode the skip. If the
next block is not skiped then we need 1 bit for the skip code and
at least 3 bits for the block.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoescape130: Check dimensions to be a multiple of the block size.
Michael Niedermayer [Thu, 8 Dec 2011 12:38:13 +0000 (13:38 +0100)]
escape130: Check dimensions to be a multiple of the block size.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomxfdec: Parse TemporalOffsets
Tomas Härdin [Thu, 8 Dec 2011 10:39:59 +0000 (11:39 +0100)]
mxfdec: Parse TemporalOffsets

12 years agomxfdec: av_dlog():ify 'no corresponding source package found'
Tomas Härdin [Thu, 8 Dec 2011 10:21:58 +0000 (11:21 +0100)]
mxfdec: av_dlog():ify 'no corresponding source package found'

This isn't an error. It's also expected behavior for OPAtom files.

12 years agomxfdec: Compute essence container offsets and lengths into mxf->partitions
Tomas Härdin [Thu, 8 Dec 2011 10:18:21 +0000 (11:18 +0100)]
mxfdec: Compute essence container offsets and lengths into mxf->partitions

12 years agoPass pointer to integer buffer instead of integer to memcpy
Mashiat Sarker Shakkhar [Thu, 8 Dec 2011 16:52:16 +0000 (22:52 +0600)]
Pass pointer to integer buffer instead of integer to memcpy

12 years agoSilence a warning when compiling Escape 130 decoder.
Carl Eugen Hoyos [Thu, 8 Dec 2011 16:14:47 +0000 (17:14 +0100)]
Silence a warning when compiling Escape 130 decoder.

Fixes:
libavcodec/escape130.c:177:17: warning: ISO C90 forbids mixed declarations and code

Reviewed-by: Paul B Mahol
12 years agocljr: remove useless casts
Mans Rullgard [Thu, 8 Dec 2011 14:50:48 +0000 (14:50 +0000)]
cljr: remove useless casts

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agocljr: group encode/decode parts under single ifdefs
Mans Rullgard [Thu, 8 Dec 2011 14:48:12 +0000 (14:48 +0000)]
cljr: group encode/decode parts under single ifdefs

This groups the encode/decode parts under single ifdefs and
eliminates the encode_init() function as it merely calls
common_init().  Also fix whitespace in moved code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agocljr: remove stray semicolon
Mans Rullgard [Thu, 8 Dec 2011 14:45:36 +0000 (14:45 +0000)]
cljr: remove stray semicolon

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agocljr: add missing return statement in decode_end()
Paul B Mahol [Thu, 8 Dec 2011 12:39:47 +0000 (12:39 +0000)]
cljr: add missing return statement in decode_end()

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoescape130: 10l for myself for not initializing y_base.
Michael Niedermayer [Thu, 8 Dec 2011 12:20:25 +0000 (13:20 +0100)]
escape130: 10l for myself for not initializing y_base.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: lower the log level of "parser not found".
Nicolas George [Thu, 8 Dec 2011 11:07:29 +0000 (12:07 +0100)]
lavf: lower the log level of "parser not found".

The information is relevant, but under normal circumstances
it raises far too many false alarms.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc: add pulseaudio to the input list
Luca Barbato [Sat, 3 Dec 2011 20:53:09 +0000 (21:53 +0100)]
doc: add pulseaudio to the input list

12 years agoavconv: remove unsubstantiated comment
Luca Barbato [Thu, 8 Dec 2011 01:17:18 +0000 (02:17 +0100)]
avconv: remove unsubstantiated comment

All the currently supported OS-es manage to use return values
properly.

12 years agoshorten: avoid abort() on unknown audio types
John Brooks [Thu, 8 Dec 2011 09:16:21 +0000 (09:16 +0000)]
shorten: avoid abort() on unknown audio types

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agomxfdec: Make mxf->partitions sorted by offset
Tomas Härdin [Thu, 8 Dec 2011 10:06:23 +0000 (11:06 +0100)]
mxfdec: Make mxf->partitions sorted by offset

This also zeroes new entries for good measure (used by future patches).

12 years agocljr: add encoder
Paul B Mahol [Thu, 8 Dec 2011 00:05:23 +0000 (00:05 +0000)]
cljr: add encoder

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoescape130: Fix y_base handling, this fixes some artifacts, vissible in most videos.
Michael Niedermayer [Thu, 8 Dec 2011 05:00:19 +0000 (06:00 +0100)]
escape130: Fix y_base handling, this fixes some artifacts, vissible in most videos.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoescape130: make sure cliping is done on signed values.
Michael Niedermayer [Thu, 8 Dec 2011 04:59:36 +0000 (05:59 +0100)]
escape130: make sure cliping is done on signed values.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'richardpl/escape130'
Michael Niedermayer [Thu, 8 Dec 2011 04:47:00 +0000 (05:47 +0100)]
Merge remote-tracking branch 'richardpl/escape130'

* richardpl/escape130:
  escape130: fix colors
  escape130: remove trailing whitespace
  rpl: enable escape130 codec
  escape130: minimal effort to make it compile without warnings
  Escape 130 (RPL) decoder

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMark one colour as transparent in the gif image encoder
Carl Eugen Hoyos [Thu, 8 Dec 2011 01:48:31 +0000 (02:48 +0100)]
Mark one colour as transparent in the gif image encoder

if the input palette contains at least one colour
that is more than 50% transparent.

Fixes ticket #715.

12 years agoDecode RGB ljpeg to RGB24.
Carl Eugen Hoyos [Thu, 8 Dec 2011 01:17:44 +0000 (02:17 +0100)]
Decode RGB ljpeg to RGB24.

No alpha channel is decoded, the output used to be completely transparent.

12 years agoSupport decoding 56 byte BMP Bitmap Information Header.
Carl Eugen Hoyos [Thu, 8 Dec 2011 01:14:36 +0000 (02:14 +0100)]
Support decoding 56 byte BMP Bitmap Information Header.

Fixes ticket #719.

12 years agopthread: fixed thread initialization issues related to thread-safe buffer allocator
Anatoliy Wasserman [Wed, 7 Dec 2011 22:14:49 +0000 (14:14 -0800)]
pthread: fixed thread initialization issues related to thread-safe buffer allocator

Signed-off-by: Anatoliy Wasserman <anatoliy.wasserman@yandex.ru>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobuild: merge lists of HTML documentation targets
Diego Biurrun [Wed, 7 Dec 2011 20:49:53 +0000 (21:49 +0100)]
build: merge lists of HTML documentation targets

12 years agotests/examples: Mark some variables only used within their files as static.
Diego Biurrun [Wed, 21 Sep 2011 16:44:41 +0000 (18:44 +0200)]
tests/examples: Mark some variables only used within their files as static.

12 years agotests/tools/examples: Replace direct exit() calls by return.
Diego Biurrun [Wed, 21 Sep 2011 16:46:56 +0000 (18:46 +0200)]
tests/tools/examples: Replace direct exit() calls by return.

12 years agox86 cpuid: set vendor union members separately
Sean McGovern [Wed, 7 Dec 2011 21:51:28 +0000 (21:51 +0000)]
x86 cpuid: set vendor union members separately

Solaris Studio (suncc) has difficulty with filling in
members of a union. Instead, let's retrieve and store the
cpuid() results separately. This is still a compiler bug,
however this fix does not cause a regression on other platforms.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agoMerge remote-tracking branch 'shariman/wmall'
Michael Niedermayer [Wed, 7 Dec 2011 23:37:55 +0000 (00:37 +0100)]
Merge remote-tracking branch 'shariman/wmall'

* shariman/wmall:
  Partially fix CDLMS prediction

Conflicts:
libavcodec/wmalosslessdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocljr: release picture at end of decoding
Paul B. Mahol [Tue, 6 Dec 2011 04:14:55 +0000 (04:14 +0000)]
cljr: release picture at end of decoding

Otherwise after transcoding from cljr we get: Found 1 unreleased buffers!

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 7 Dec 2011 23:23:37 +0000 (00:23 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  drawtext: remove typo
  pcm-mpeg: implement new audio decoding api
  w32thread: port fixes to pthread_cond_broadcast() from x264.
  doc: add editor configuration section with Vim and Emacs settings
  dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9
  avformat/utils: Drop unused goto label.
  doxygen: Replace '\' by '@' in Doxygen markup tags.
  cosmetics: drop some completely pointless parentheses
  cljr: simplify CLJRContext
  drawtext: introduce rand(min, max)
  drawtext: introduce explicit draw/hide variable
  rtmp: Use nb_invokes for all invoke commands

Conflicts:
libavcodec/mpegvideo.c
libavfilter/vf_drawtext.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorv40: NEON optimised rv40 qpel motion compensation
Mans Rullgard [Wed, 7 Dec 2011 22:28:00 +0000 (22:28 +0000)]
rv40: NEON optimised rv40 qpel motion compensation

Based on patch by Janne Grunau.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoPartially fix CDLMS prediction
Mashiat Sarker Shakkhar [Wed, 7 Dec 2011 21:57:21 +0000 (03:57 +0600)]
Partially fix CDLMS prediction

12 years agoOne last try to get zmbv test to work across all fate machines.
Reimar Döffinger [Wed, 7 Dec 2011 20:45:19 +0000 (21:45 +0100)]
One last try to get zmbv test to work across all fate machines.

Change compression level to 0 this time.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoqtrledec: Fix artifacts in tickets/226/qt_rle_bw.mov
Michael Niedermayer [Wed, 7 Dec 2011 19:29:38 +0000 (20:29 +0100)]
qtrledec: Fix artifacts in tickets/226/qt_rle_bw.mov

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoqtrle.c: Fix for ticket #226.
Alexis Ballier [Wed, 7 Dec 2011 12:27:20 +0000 (09:27 -0300)]
qtrle.c: Fix for ticket #226.

In 1bpp mode, interpret skip&0x80 as "start a new line" instead of "go to next line", this is almost the same except for the first line which was always skipped before and caused to try to write an extra line at the end of the frame (ticket #226).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodrawtext: remove typo
Luca Barbato [Wed, 7 Dec 2011 19:30:55 +0000 (20:30 +0100)]
drawtext: remove typo

It slipped through the last two iterations.

12 years agopcm-mpeg: implement new audio decoding api
Hendrik Leppkes [Sun, 4 Dec 2011 22:15:51 +0000 (23:15 +0100)]
pcm-mpeg: implement new audio decoding api

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agow32thread: port fixes to pthread_cond_broadcast() from x264.
Ronald S. Bultje [Wed, 7 Dec 2011 04:42:55 +0000 (20:42 -0800)]
w32thread: port fixes to pthread_cond_broadcast() from x264.

12 years agodoc: add editor configuration section with Vim and Emacs settings
Diego Biurrun [Mon, 5 Dec 2011 12:18:27 +0000 (13:18 +0100)]
doc: add editor configuration section with Vim and Emacs settings

based on a patch by Victor Vasiliev, vasilvv gmail com

12 years agomxfdec: Parse ThisPartition
Tomas Härdin [Wed, 7 Dec 2011 16:43:36 +0000 (17:43 +0100)]
mxfdec: Parse ThisPartition

12 years agomxfdec: Speed up metadata and index parsing
Tomas Härdin [Mon, 14 Mar 2011 16:00:21 +0000 (17:00 +0100)]
mxfdec: Speed up metadata and index parsing

Specifically, this means parsing as before until we run into essence.
At that point we seek to the footer and parse until EOF. After that we start
seeking backward to the previous partition and parse that until we run into
essence or the next partition. This procedure is repeated until we encounter
the last partition we parsed in the forward direction.

The end result of all this is that large essence containers aren't needlessly
parsed. This speeds up parsing large files a lot.

12 years agodxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9
Rafaël Carré [Wed, 7 Dec 2011 15:23:52 +0000 (10:23 -0500)]
dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agomxfdec: Make sure DataDefinition is consistent between material track and source...
Tomas Härdin [Mon, 28 Nov 2011 09:51:00 +0000 (10:51 +0100)]
mxfdec: Make sure DataDefinition is consistent between material track and source track

This fixes 0001GL.MXF.V1.mxf_opatom.mxf and 0001GL00.MXF.A1.mxf_opatom.mxf
getting two streams each due to both using the same SourcePackageID.

12 years agomxfdec: Add EssenceContainer UL found in 0001GL00.MXF.A1.mxf_opatom.mxf
Tomas Härdin [Mon, 28 Nov 2011 08:53:10 +0000 (09:53 +0100)]
mxfdec: Add EssenceContainer UL found in 0001GL00.MXF.A1.mxf_opatom.mxf

12 years agoMAINTAINERS: ask maintainers to help keep their entries in this file upto date.
Michael Niedermayer [Wed, 7 Dec 2011 14:47:19 +0000 (15:47 +0100)]
MAINTAINERS: ask maintainers to help keep their entries in this file upto date.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agogxfenc: support timecode option
Matthieu Bouron [Tue, 6 Dec 2011 20:56:01 +0000 (21:56 +0100)]
gxfenc: support timecode option

Reviewed-by: Baptiste Coudurier
12 years agoavformat/utils: Drop unused goto label.
Diego Biurrun [Wed, 7 Dec 2011 10:30:07 +0000 (11:30 +0100)]
avformat/utils: Drop unused goto label.

libavformat/utils.c:2165:2: warning: label ‘fail’ defined but not used

12 years agodoxygen: Replace '\' by '@' in Doxygen markup tags.
Diego Biurrun [Wed, 7 Dec 2011 12:43:36 +0000 (13:43 +0100)]
doxygen: Replace '\' by '@' in Doxygen markup tags.

12 years agocosmetics: drop some completely pointless parentheses
Diego Biurrun [Wed, 7 Dec 2011 12:48:58 +0000 (13:48 +0100)]
cosmetics: drop some completely pointless parentheses

12 years ago cljr: simplify CLJRContext
Paul B. Mahol [Tue, 6 Dec 2011 17:45:37 +0000 (17:45 +0000)]
 cljr: simplify CLJRContext

There is no need to have delta, offset and gb in CLJRContext.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
12 years agodrawtext: introduce rand(min, max)
Luca Barbato [Sun, 4 Dec 2011 23:56:21 +0000 (00:56 +0100)]
drawtext: introduce rand(min, max)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agodrawtext: introduce explicit draw/hide variable
Luca Barbato [Sun, 4 Dec 2011 20:13:56 +0000 (21:13 +0100)]
drawtext: introduce explicit draw/hide variable

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoDo not ignore full transparency when writing png palette.
Carl Eugen Hoyos [Wed, 7 Dec 2011 10:31:27 +0000 (11:31 +0100)]
Do not ignore full transparency when writing png palette.

This reverts r6689, "Make PNG produce correct 8-bit pictures".

12 years agortmp: Use nb_invokes for all invoke commands
Martin Storsjö [Mon, 5 Dec 2011 10:35:06 +0000 (12:35 +0200)]
rtmp: Use nb_invokes for all invoke commands

704af3e29c3ddbc22ac5c8f40e5a0f860d53ac4c broke publishing
of rtmp streams, at least publishing to Wowza servers.

This changes all invoke commands to use nb_invokes.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomovenc: Always write EDTS when we are able to.
Michael Niedermayer [Wed, 7 Dec 2011 04:06:13 +0000 (05:06 +0100)]
movenc: Always write EDTS when we are able to.

Inspired by a patch from Michael Root
Idea-by: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'shariman/wmall'
Michael Niedermayer [Wed, 7 Dec 2011 03:49:42 +0000 (04:49 +0100)]
Merge remote-tracking branch 'shariman/wmall'

* shariman/wmall:
  Fix lms_update()
  Move num_lms reading out of a loop
  Use correct value for range
  Fix some int / int16_t / int32_t confusion
  Implement revert_mclms() and associated functions
  Fix two more int16_t vs. int confusion
  Init s->cdlms[][].recent to order - 1
  Add a size argument to dump_int_buffer()
  Get rid of logging that are not required anymore
  Fix some int vs. int16_t confusion

Conflicts:
libavcodec/wmalosslessdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoimg2: 10l typo
Michael Niedermayer [Wed, 7 Dec 2011 02:19:42 +0000 (03:19 +0100)]
img2: 10l typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAllow auto-detection of ljpg images.
Carl Eugen Hoyos [Wed, 7 Dec 2011 01:32:59 +0000 (02:32 +0100)]
Allow auto-detection of ljpg images.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 7 Dec 2011 01:04:00 +0000 (02:04 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Code cleanup - mpegvideo.c - 500-1000line
  rv40: NEON optimised weighted prediction
  rv40: NEON optimised chroma MC
  ARM: move NEON H264 chroma mc to a separate file
  rv34: NEON optimised inverse transform functions

Conflicts:
libavcodec/mpegvideo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: init prev_frame_num to -1 on init
Michael Niedermayer [Tue, 6 Dec 2011 21:41:24 +0000 (22:41 +0100)]
h264: init prev_frame_num to -1 on init
Fixes Ticket711

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: Fix memleaks on close, reset more fields
Michael Niedermayer [Tue, 6 Dec 2011 21:40:43 +0000 (22:40 +0100)]
h264: Fix memleaks on close, reset more fields

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix 8BPS RGB32 output, the alpha channel was ignored.
Carl Eugen Hoyos [Tue, 6 Dec 2011 22:06:27 +0000 (23:06 +0100)]
Fix 8BPS RGB32 output, the alpha channel was ignored.

Reviewed-by: Roberto Togni
12 years agoCode cleanup - mpegvideo.c - 500-1000line
Konstantin Todorov [Mon, 5 Dec 2011 16:40:28 +0000 (18:40 +0200)]
Code cleanup - mpegvideo.c - 500-1000line

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoChoose compression level 6 for zmbv test.
Reimar Döffinger [Tue, 6 Dec 2011 18:48:16 +0000 (19:48 +0100)]
Choose compression level 6 for zmbv test.

The default of 9 gives different results on different FATE systems.
However the zlib test using compression level 6 works, so
try this instead.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agomovdec: remove redundant size<=8 check.
Michael Niedermayer [Tue, 6 Dec 2011 16:40:40 +0000 (17:40 +0100)]
movdec: remove redundant size<=8 check.
Its checked a few lines below too.
The only difference is that empty atoms with size=0 will now get parsed too.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomovdec: Read extended 64bit size before the debug av_log() and only when there
Michael Niedermayer [Tue, 6 Dec 2011 16:35:52 +0000 (17:35 +0100)]
movdec: Read extended 64bit size before the debug av_log() and only when there
was enough space to read the 32bit size.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomovdec: Fix bad computed size for atoms with size 0 in MOV files
Mihnea Balta [Tue, 6 Dec 2011 07:29:47 +0000 (09:29 +0200)]
movdec: Fix bad computed size for atoms with size 0 in MOV files

The computed size doesn't contain the header size because it's already
skipped by incrementing total_size, but then it's skipped again in the
last line. The atom comes out 8 bytes short and the function
mov_read_chan() aborts the whole parsing process. I think the computed
size should be atom.size - total_size + 8.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomov: increase total_size only when it actually increases.
Michael Niedermayer [Tue, 6 Dec 2011 16:21:05 +0000 (17:21 +0100)]
mov: increase total_size only when it actually increases.
This is just cosmetic as the if() is always true.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomovenc: support spliting fragments based on bytesize instead of duration.
Michael Niedermayer [Tue, 6 Dec 2011 15:21:10 +0000 (16:21 +0100)]
movenc: support spliting fragments based on bytesize instead of duration.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomovenc: fragment support
Michael Niedermayer [Tue, 6 Dec 2011 15:15:35 +0000 (16:15 +0100)]
movenc: fragment support

Reviewed-by: Baptiste Coudurier
Tested-with-QT: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: Warn if filters poll & request frame behave wrongly.
Michael Niedermayer [Tue, 6 Dec 2011 15:01:21 +0000 (16:01 +0100)]
ffmpeg: Warn if filters poll & request frame behave wrongly.

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