ffmpeg.git
7 years agofftools: add -report option.
Nicolas George [Thu, 8 Dec 2011 13:42:24 +0000 (14:42 +0100)]
fftools: add -report option.

7 years agoSeparate mxf_essence_container_uls for audio and video.
Carl Eugen Hoyos [Sat, 10 Dec 2011 13:58:57 +0000 (14:58 +0100)]
Separate mxf_essence_container_uls for audio and video.

It is a really bad idea to assign a video codec id
when we have set codec_type to audio and vice versa.

Fixes ticket #721.

7 years agomxfdec: do not try to use an obviously broken index.
Reimar Döffinger [Sat, 10 Dec 2011 10:51:41 +0000 (11:51 +0100)]
mxfdec: do not try to use an obviously broken index.

Also fixes a memleak.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agolavc: 1000l, unbreak ABI
Michael Niedermayer [Sat, 10 Dec 2011 06:03:20 +0000 (07:03 +0100)]
lavc: 1000l, unbreak ABI

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavi: add escape130 support
Michael Niedermayer [Sat, 10 Dec 2011 05:54:05 +0000 (06:54 +0100)]
avi: add escape130 support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoamvenc: support videos with heights that are not a multiple of 16.
Michael Niedermayer [Sat, 10 Dec 2011 05:39:57 +0000 (06:39 +0100)]
amvenc: support videos with heights that are not a multiple of 16.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowavdec: add ignore length option to ignore incorrect lengthes
Michael Niedermayer [Sat, 10 Dec 2011 04:42:18 +0000 (05:42 +0100)]
wavdec: add ignore length option to ignore incorrect lengthes
like SOX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoadd missing long_name for amv and dca encoder
Paul B Mahol [Sat, 10 Dec 2011 03:29:41 +0000 (03:29 +0000)]
add missing long_name for amv and dca encoder

Reviewed-by: Carl Eugen Hoyos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMakefile: disable compiling avconv by default.
Michael Niedermayer [Sat, 10 Dec 2011 03:41:43 +0000 (04:41 +0100)]
Makefile: disable compiling avconv by default.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomlp: Use correct speaker locations in TrueHD channel layout.
Hendrik Leppkes [Sun, 4 Dec 2011 21:54:22 +0000 (22:54 +0100)]
mlp: Use correct speaker locations in TrueHD channel layout.
(cherry picked from commit d7787835ad737d4f4d8b6f17e04d981632eeaa91)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 10 Dec 2011 00:25:15 +0000 (01:25 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  isom: sort and pretty-print codec_movaudio_tags[]
  isom: remove pointless comments in codec_movaudio_tags[]
  isom: remove commented-out tag for vorbis
  movenc: write 'chan' tag for AC-3 in MOV
  mov: add support for reading and writing the 'chan' tag
  audioconvert: add some additional channel and channel layout macros
  audioconvert: change 7.1 "wide" layout to use side surround channels
  movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs
  doc: update documentation to use avconv
  doc: update demuxers section
  doc: extend external library coverage
  doc: split platform specific information
  doc: port the git-howto to texinfo
  doc: provide fallback css and customize @float
  doc: document fate in a texinfo
  doxy: change hue value to match our green

Conflicts:
doc/fate.txt
doc/ffserver.texi
doc/general.texi
doc/muxers.texi
doc/protocols.texi
doc/t2h.init
libavformat/isom.c
libavformat/mov.c
libavutil/avutil.h
tests/ref/acodec/pcm_s16be
tests/ref/acodec/pcm_s24be
tests/ref/acodec/pcm_s32be
tests/ref/acodec/pcm_s8
tests/ref/lavf/mov

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovb: Add some checks on input buffer related values.
Michael Niedermayer [Fri, 9 Dec 2011 22:46:16 +0000 (23:46 +0100)]
vb: Add some checks on input buffer related values.
Fixes crash with INTRO_FAIL.VB

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibx264: workaround a bug in some versions of flash player
Michael Niedermayer [Fri, 9 Dec 2011 21:34:11 +0000 (22:34 +0100)]
libx264: workaround a bug in some versions of flash player
Fixes Ticket570

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoisom: sort and pretty-print codec_movaudio_tags[]
Justin Ruggles [Tue, 6 Dec 2011 23:02:14 +0000 (18:02 -0500)]
isom: sort and pretty-print codec_movaudio_tags[]

original order is retained within the same tag or codec id to maintain the
muxing/demuxing priority.

7 years agoisom: remove pointless comments in codec_movaudio_tags[]
Justin Ruggles [Tue, 6 Dec 2011 22:54:07 +0000 (17:54 -0500)]
isom: remove pointless comments in codec_movaudio_tags[]

7 years agoisom: remove commented-out tag for vorbis
Justin Ruggles [Tue, 6 Dec 2011 22:51:54 +0000 (17:51 -0500)]
isom: remove commented-out tag for vorbis

7 years agomovenc: write 'chan' tag for AC-3 in MOV
Justin Ruggles [Tue, 6 Dec 2011 22:35:37 +0000 (17:35 -0500)]
movenc: write 'chan' tag for AC-3 in MOV

7 years agomov: add support for reading and writing the 'chan' tag
Justin Ruggles [Sat, 3 Dec 2011 18:32:45 +0000 (13:32 -0500)]
mov: add support for reading and writing the 'chan' tag

This implements reading the tag in the demuxer and adds support for writing it
in the muxer. Some example channel layout tables for muxing are included for
ac3, aac, and alac, but they are not utilized yet.

7 years agoaudioconvert: add some additional channel and channel layout macros
Justin Ruggles [Tue, 6 Dec 2011 20:53:02 +0000 (15:53 -0500)]
audioconvert: add some additional channel and channel layout macros

7 years agoaudioconvert: change 7.1 "wide" layout to use side surround channels
Justin Ruggles [Tue, 6 Dec 2011 20:38:55 +0000 (15:38 -0500)]
audioconvert: change 7.1 "wide" layout to use side surround channels

7 years agomovenc: simplify handling of pcm vs. adpcm vs. other compressed codecs
Justin Ruggles [Fri, 2 Dec 2011 20:51:52 +0000 (15:51 -0500)]
movenc: simplify handling of pcm vs. adpcm vs. other compressed codecs

Use Sound Sample Description Version 2 for all MOV files.
Updated FATE references accordingly.
Note that ADPCM is treated as compressed audio in version 2.

7 years agocljrenc: 2x2 ordered dither support.
Michael Niedermayer [Fri, 9 Dec 2011 17:32:29 +0000 (18:32 +0100)]
cljrenc: 2x2 ordered dither support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agocljrenc: add AVOption to disable dither
Michael Niedermayer [Fri, 9 Dec 2011 05:01:15 +0000 (06:01 +0100)]
cljrenc: add AVOption to disable dither

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc: update documentation to use avconv
Luca Barbato [Thu, 8 Dec 2011 16:39:28 +0000 (17:39 +0100)]
doc: update documentation to use avconv

7 years agodoc: update demuxers section
Luca Barbato [Thu, 8 Dec 2011 16:20:17 +0000 (17:20 +0100)]
doc: update demuxers section

Cleanup tags usage and update commandline examples.

7 years agodoc: extend external library coverage
Luca Barbato [Sat, 3 Dec 2011 20:50:19 +0000 (21:50 +0100)]
doc: extend external library coverage

7 years agodoc: split platform specific information
Luca Barbato [Sat, 3 Dec 2011 20:25:04 +0000 (21:25 +0100)]
doc: split platform specific information

Move the platform-specific information in its own file.

7 years agodoc: port the git-howto to texinfo
Luca Barbato [Sat, 3 Dec 2011 17:06:14 +0000 (18:06 +0100)]
doc: port the git-howto to texinfo

7 years agodoc: provide fallback css and customize @float
Luca Barbato [Sat, 3 Dec 2011 22:24:50 +0000 (23:24 +0100)]
doc: provide fallback css and customize @float

Add "note" or "important" class to the generated div.

7 years agodoc: document fate in a texinfo
Luca Barbato [Fri, 2 Dec 2011 00:33:07 +0000 (01:33 +0100)]
doc: document fate in a texinfo

Summarize the information provided in the wiki and the one provided
in fate.txt

7 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

7 years agodoxy: change hue value to match our green
Luca Barbato [Thu, 8 Dec 2011 13:29:26 +0000 (14:29 +0100)]
doxy: change hue value to match our green

7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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.

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

7 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

7 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

7 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>
7 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>
7 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>
7 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

7 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

7 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.

7 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.

7 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.

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agomxfdec: Parse TemporalOffsets
Tomas Härdin [Thu, 8 Dec 2011 10:39:59 +0000 (11:39 +0100)]
mxfdec: Parse TemporalOffsets

7 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.

7 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

7 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

7 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
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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.

7 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>
7 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).

7 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>
7 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>
7 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>
7 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>
7 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.

7 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.

7 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.

7 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>
7 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

7 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.

7 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.

7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoPartially fix CDLMS prediction
Mashiat Sarker Shakkhar [Wed, 7 Dec 2011 21:57:21 +0000 (03:57 +0600)]
Partially fix CDLMS prediction

7 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>
7 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>
7 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>
7 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.

7 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>
7 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.

7 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

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