9 years agodocumentation: add setdar and setsar description to filters.texi
Stefano Sabatini [Sat, 26 Mar 2011 15:14:15 +0000 (16:14 +0100)]
documentation: add setdar and setsar description to filters.texi

9 years agographparser: add a NULL check on the argument passed to strstr
Stefano Sabatini [Wed, 30 Mar 2011 19:30:31 +0000 (21:30 +0200)]
graphparser: add a NULL check on the argument passed to strstr

Fix crash in create_filter() which occurrs if a scale filter with no
args is provided.

9 years agoFix typo from e3a84542.
Michael Niedermayer [Wed, 30 Mar 2011 18:25:32 +0000 (20:25 +0200)]
Fix typo from e3a84542.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix dnxhd custom options, add AVClass in private context
Baptiste Coudurier [Wed, 30 Mar 2011 15:47:30 +0000 (08:47 -0700)]
Fix dnxhd custom options, add AVClass in private context

9 years agoIn mov muxer, fix yuv range in avid atoms used by dnxhd.
Baptiste Coudurier [Wed, 23 Mar 2011 17:22:05 +0000 (10:22 -0700)]
In mov muxer, fix yuv range in avid atoms used by dnxhd.

9 years agovaapi: allow build against older VA-API 0.31.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:29:34 +0000 (09:29 +0200)]
vaapi: allow build against older VA-API 0.31.

9 years agovaapi: require version >= 0.32.0.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:21:04 +0000 (09:21 +0200)]
vaapi: require version >= 0.32.0.

9 years agovaapi: move configure check down.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:19:50 +0000 (09:19 +0200)]
vaapi: move configure check down.

9 years agoRemove a memory allocation and the associated memcpy.
Sven C. Dack [Wed, 30 Mar 2011 15:02:29 +0000 (17:02 +0200)]
Remove a memory allocation and the associated memcpy.

9 years agoh264: permit h264 decoder to be compiled when svq3 decoder is disabled
Peter Ross [Wed, 30 Mar 2011 05:39:24 +0000 (16:39 +1100)]
h264: permit h264 decoder to be compiled when svq3 decoder is disabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoSWSCALE: Increase maximim with from 5120 to 21504
Frank Barchard [Wed, 30 Mar 2011 06:56:17 +0000 (23:56 -0700)]
SWSCALE: Increase maximim with from 5120 to 21504

Heres a benchmark

VOFW 5120  VOFW 21504    Note
10438.8    10344.2       timex ffmpeg -y -i tulip2.mp4 tulip2.yuv
25611.9    24256.9       timex ffmpeg -y -itulip2.mp4 -s 1272x724 tulip2.yuv
24485.7    26006.6
28573.1    24291.3
24069.1    26995.9
25684.95   25387.675     average

This is on a Nehalem i7.  Despite being a 500 frame, 720p video, the numbers
fluctuate, so I took an average of 4 runs.

Another reason I'd like this change is youtube accepts videos with higher
resolutions than 5120.
16384 is vp8's maximum resolution, so that should keep us amused for a
little longer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoA few points for the changelog
Michael Niedermayer [Sun, 27 Mar 2011 01:06:24 +0000 (03:06 +0200)]
A few points for the changelog

9 years agoFix compilation with win32 threads.after 'unbreak avcodec_thread_init'
Maksym Veremeyenko [Wed, 30 Mar 2011 10:36:15 +0000 (12:36 +0200)]
Fix compilation with win32 threads.after 'unbreak avcodec_thread_init'

9 years agoAlso use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.
Carl Eugen Hoyos [Sat, 26 Mar 2011 23:32:47 +0000 (00:32 +0100)]
Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.

9 years agoFix buffer overflow checks to avoid integer overflows.
Reimar Döffinger [Tue, 29 Mar 2011 19:14:55 +0000 (21:14 +0200)]
Fix buffer overflow checks to avoid integer overflows.

9 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Wed, 30 Mar 2011 01:01:41 +0000 (03:01 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  ac3enc: move compute_mantissa_size() to ac3dsp
  ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
  Remove support for stripping executables
  ac3enc: NEON optimised float_to_fixed24
  ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
  dfa: protect pointer range checks against overflows.
Duplicate:  mimic: implement multithreading.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'ffmpeg-mt/master'
Michael Niedermayer [Wed, 30 Mar 2011 00:58:38 +0000 (02:58 +0200)]
Merge remote-tracking branch 'ffmpeg-mt/master'

* ffmpeg-mt/master:
  Update todo. More items appeared...
  Fix mdec
Duplicate:  id3v1: change filesize to int64_t.
Duplicate:  id3v1: Seek back to old position after reading.


Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoac3enc: move compute_mantissa_size() to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 17:16:27 +0000 (17:16 +0000)]
ac3enc: move compute_mantissa_size() to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
Mans Rullgard [Sun, 13 Mar 2011 16:22:07 +0000 (16:22 +0000)]
ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext

These fields are only used in quantize_mantissas() and reset
on each call, no need to store them in the main context.

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agomp: add filter description to filters.texi
Stefano Sabatini [Sun, 27 Mar 2011 22:14:41 +0000 (00:14 +0200)]
mp: add filter description to filters.texi

9 years agoRemove support for stripping executables
Mans Rullgard [Tue, 29 Mar 2011 19:50:26 +0000 (20:50 +0100)]
Remove support for stripping executables

Stripping is generally best left to package management tools, and
since unstripped copies are kept in the build tree, any arguments
about saving space (no matter how insignificant) are void.

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoac3enc: NEON optimised float_to_fixed24
Mans Rullgard [Tue, 29 Mar 2011 01:30:13 +0000 (02:30 +0100)]
ac3enc: NEON optimised float_to_fixed24

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 02:49:55 +0000 (02:49 +0000)]
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agosndio: allow any endianness when recording
Reimar Döffinger [Tue, 29 Mar 2011 18:20:29 +0000 (20:20 +0200)]
sndio: allow any endianness when recording

Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.
It is possible that 8-bit recording would not have worked at all on
some systems without that change.

9 years agoSimplify: Use FFMIN.
Reimar Döffinger [Tue, 29 Mar 2011 18:18:45 +0000 (20:18 +0200)]
Simplify: Use FFMIN.

9 years agodfa: protect pointer range checks against overflows.
Ronald S. Bultje [Tue, 29 Mar 2011 14:14:44 +0000 (07:14 -0700)]
dfa: protect pointer range checks against overflows.

9 years agovaapi: filter out DELAYED_PIC_REF flag to determine field.
Gwenole Beauchesne [Mon, 28 Mar 2011 13:55:41 +0000 (15:55 +0200)]
vaapi: filter out DELAYED_PIC_REF flag to determine field.

This fixes ticket #23.

9 years agovaapi: disable if check_lib failed.
Gwenole Beauchesne [Tue, 29 Mar 2011 07:12:03 +0000 (09:12 +0200)]
vaapi: disable if check_lib failed.

9 years agovaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.
Gwenole Beauchesne [Thu, 27 Jan 2011 15:01:43 +0000 (16:01 +0100)]
vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.

9 years agomimic: implement multithreading.
Alexander Strange [Tue, 29 Mar 2011 04:44:38 +0000 (21:44 -0700)]
mimic: implement multithreading.

9 years agoFix check for new enough CrystalHD library.
Gwenole Beauchesne [Mon, 28 Mar 2011 08:18:58 +0000 (10:18 +0200)]
Fix check for new enough CrystalHD library.

Signed-off-by: Philip Langdale <philipl@overt.org>
9 years agoid3v1: change filesize to int64_t.
Carl Eugen Hoyos [Fri, 25 Mar 2011 18:46:28 +0000 (19:46 +0100)]
id3v1: change filesize to int64_t.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
9 years agoid3v1: Seek back to old position after reading.
Carl Eugen Hoyos [Fri, 25 Mar 2011 18:46:27 +0000 (19:46 +0100)]
id3v1: Seek back to old position after reading.

FFmpeg did not seek back to the original position, but to "0", making
reading a VBR tag impossible.
(issue 2645)

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
9 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Tue, 29 Mar 2011 00:46:11 +0000 (02:46 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using exponent reference blocks.
  Chronomaster DFA decoder
DUPLICATE:  framebuffer device demuxer
NOT MERGED: cosmetics: fix dashed line length after 070c5d0
  http: header field names are case insensitive


Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoAdd crystalhd maintainer
Michael Niedermayer [Tue, 29 Mar 2011 00:13:33 +0000 (02:13 +0200)]
Add crystalhd maintainer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRevert some silly renamings that leaked in from a pull.
Michael Niedermayer [Mon, 28 Mar 2011 19:57:00 +0000 (21:57 +0200)]
Revert some silly renamings that leaked in from a pull.

9 years agomp: extend syntax, make it accept mp=filter=params
Stefano Sabatini [Sun, 27 Mar 2011 22:03:19 +0000 (00:03 +0200)]
mp: extend syntax, make it accept mp=filter=params

Make the mp wrapper accept the syntax mp=filter=params as alternative
to mp=filter:params. The alternative syntax is sligthly more readable
and should simplify copy&paste of MPlayer filter strings to the mp

9 years agodocumentation: sort filter descriptions in filters.texi
Stefano Sabatini [Sun, 27 Mar 2011 21:02:24 +0000 (23:02 +0200)]
documentation: sort filter descriptions in filters.texi

Change position of the fade filter description, put it between
drawtext and fifo descriptions.

9 years agodocumentation: extend documentation for ffmpeg -aspect option
Stefano Sabatini [Sat, 26 Mar 2011 15:17:18 +0000 (16:17 +0100)]
documentation: extend documentation for ffmpeg -aspect option

9 years agosndio: prefer "FFmpeg" over "Libav" in the license header
Stefano Sabatini [Mon, 28 Mar 2011 14:07:08 +0000 (16:07 +0200)]
sndio: prefer "FFmpeg" over "Libav" in the license header

9 years agoUse consistent condition for whether to run slice-threading execute function.
Reimar Döffinger [Sun, 27 Mar 2011 12:38:21 +0000 (14:38 +0200)]
Use consistent condition for whether to run slice-threading execute function.

9 years agoUnbreak avcodec_thread_init
Reimar Döffinger [Sat, 26 Mar 2011 12:55:30 +0000 (13:55 +0100)]
Unbreak avcodec_thread_init

avcodec_thread_init currently doesn't do anything at all with pthreads enabled.

9 years agoac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using
Justin Ruggles [Mon, 28 Mar 2011 18:01:27 +0000 (14:01 -0400)]
ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using
exponent reference blocks.

9 years agoChronomaster DFA decoder
Kostya Shishkov [Tue, 15 Mar 2011 08:37:48 +0000 (09:37 +0100)]
Chronomaster DFA decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoframebuffer device demuxer
Stefano Sabatini [Mon, 7 Mar 2011 17:54:52 +0000 (18:54 +0100)]
framebuffer device demuxer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoFix compilation failure with runtime cpudetect (Ticket #22)
Michael Niedermayer [Mon, 28 Mar 2011 14:46:45 +0000 (16:46 +0200)]
Fix compilation failure with runtime cpudetect (Ticket #22)

9 years agocosmetics: fix dashed line length after 070c5d0
Janne Grunau [Mon, 28 Mar 2011 07:53:40 +0000 (09:53 +0200)]
cosmetics: fix dashed line length after 070c5d0

9 years agohttp: header field names are case insensitive
Tyler [Sun, 27 Mar 2011 00:59:09 +0000 (17:59 -0700)]
http: header field names are case insensitive

Amazon S3 sends header field names all lowercase.
This is actually acceptable according to the HTTP standard.


Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Sun, 27 Mar 2011 23:50:36 +0000 (01:50 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  ac3enc: Add codec-specific options for writing AC-3 metadata.
NOT MERGED:  Remove arrozcru URL from documentation
  sndio support for playback and record


Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoImplement interlaced scaling.
Michael Niedermayer [Sun, 27 Mar 2011 22:09:58 +0000 (00:09 +0200)]
Implement interlaced scaling.
Fixes issue2632 if interl=1 is used or the automatic interlace detection is enabled
and works. This has the advantage compared to the patch in issue2632 that it causes
no speed loss and it also works when scaling is used. The disadvantage is that
interlacing autodetection does not yet work very well it seems.
This is the same method mplayer uses

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoadd SubRip encoder
Aurelien Jacobs [Tue, 14 Sep 2010 03:55:12 +0000 (05:55 +0200)]
add SubRip encoder

Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
9 years agodrawtext: draw glyphs for the strftime()-expanded text
Stefano Sabatini [Sun, 27 Mar 2011 16:32:52 +0000 (18:32 +0200)]
drawtext: draw glyphs for the strftime()-expanded text

In draw_glyphs(), draw glyphs in dtext->expanded_text rather than in
dtext->text. Fix crash if a strftime() sequence is used.

9 years agodrawtext: fix minor errors and typos in the filter description
Stefano Sabatini [Sun, 27 Mar 2011 16:21:54 +0000 (18:21 +0200)]
drawtext: fix minor errors and typos in the filter description

9 years agoac3enc: Add codec-specific options for writing AC-3 metadata.
Justin Ruggles [Fri, 25 Mar 2011 21:12:26 +0000 (17:12 -0400)]
ac3enc: Add codec-specific options for writing AC-3 metadata.

9 years agosetdar: prefer "sar" over "par" in log info message
Stefano Sabatini [Sat, 26 Mar 2011 14:49:07 +0000 (15:49 +0100)]
setdar: prefer "sar" over "par" in log info message

This is more consistent with the terminology adopted by the aspect
filter names.

9 years agoffmpeg: warns the user when the selected pixel format is ignored
Stefano Sabatini [Sat, 26 Mar 2011 14:26:45 +0000 (15:26 +0100)]
ffmpeg: warns the user when the selected pixel format is ignored

9 years agoRemove arrozcru URL from documentation
Ramiro Polla [Sun, 27 Mar 2011 00:22:23 +0000 (21:22 -0300)]
Remove arrozcru URL from documentation

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agosndio support for playback and record
Brad [Sat, 26 Mar 2011 23:03:41 +0000 (19:03 -0400)]
sndio support for playback and record

Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Sun, 27 Mar 2011 00:40:18 +0000 (01:40 +0100)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  dsputil: allow to skip drawing of top/bottom edges.
  Split fate-psx-str-v3 into a video-only and audio-only test.


Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomake xvid less picky about unkown aspect
Michael Niedermayer [Sat, 26 Mar 2011 18:29:37 +0000 (19:29 +0100)]
make xvid less picky about unkown aspect

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoCrystalHD: Remove redundant interlaced check.
Philip Langdale [Sat, 26 Mar 2011 06:06:28 +0000 (23:06 -0700)]
CrystalHD: Remove redundant interlaced check.

Signed-off-by: Philip Langdale <philipl@overt.org>
9 years agoCrystalHD: Add 2011 to Copyright
Philip Langdale [Sat, 26 Mar 2011 05:50:08 +0000 (22:50 -0700)]
CrystalHD: Add 2011 to Copyright

Signed-off-by: Philip Langdale <philipl@overt.org>
9 years agoRevert "CrystalHD: Improve interlaced h.264 support."
Philip Langdale [Sat, 26 Mar 2011 23:04:48 +0000 (16:04 -0700)]
Revert "CrystalHD: Improve interlaced h.264 support."

This reverts commit e44073ca5e7143934ffa79d317dc65150db1637c.

9 years agoRevert "CrystalHD: Add heuristics to try and distinguish h.264 PAFF variants."
Philip Langdale [Sat, 26 Mar 2011 23:04:43 +0000 (16:04 -0700)]
Revert "CrystalHD: Add heuristics to try and distinguish h.264 PAFF variants."

This reverts commit 4ab57cffba1d151898837a9a07a6a72f78716702.

9 years agoRevert "CrystalHD: Refine heuristic logic."
Philip Langdale [Sat, 26 Mar 2011 23:04:36 +0000 (16:04 -0700)]
Revert "CrystalHD: Refine heuristic logic."

This reverts commit f968ef922d5b1e1ba29145bceaa0278ece4f88e0.

9 years agoCrystalHD: Refine heuristic logic.
Philip Langdale [Sun, 20 Mar 2011 23:29:04 +0000 (16:29 -0700)]
CrystalHD: Refine heuristic logic.

9 years agoCrystalHD: Add heuristics to try and distinguish h.264 PAFF variants.
Philip Langdale [Thu, 17 Mar 2011 05:27:51 +0000 (22:27 -0700)]
CrystalHD: Add heuristics to try and distinguish h.264 PAFF variants.

As previously discussed, the CrystalHD hardware treats some PAFF
clips different from others; even when input fields are always in
separate packets, the hardware might return a single fieldpair for
one clip and individual fields for another.

Given the bogus flags set by the hardware, it is impossible to
distinguish these two cases without knowing about the current
picture and the next one. The hardware can usually provide the
picture number of the next picture and when that is available,
we can detect the two cases.

When it is not available, we have to guess - and find out later
if we were right or wrong.

With this change, clips will play correctly unless they are PAFF
where individual fields are returned *and* no next picture number
is available. Generally speaking, the incorrect cases arise in
the first couple of seconds of a clip as the delay calibration takes
place. Once that's set, things work fine.

9 years agoCrystalHD: Improve interlaced h.264 support.
Philip Langdale [Tue, 15 Mar 2011 04:47:35 +0000 (21:47 -0700)]
CrystalHD: Improve interlaced h.264 support.

As previously discussed, the CrystalHD hardware returns exceptionally
useless information about interlaced h.264 content - to the extent
that it's not possible to distinguish MBAFF and PAFF content until
it's too late.

This change introduces use of the h264_parser to help bridge the
gap; it can indicate if the input data is PAFF fields or not.

With this clarity, some of heuristics can be removed from the code,
making this less convoluted.

Finally, I found an MBAFF clip that acts like non h.264 content so
I had to make allowances for that.

Note that I still cannot distinguish between two forms of PAFF,
where the hardware either returns individual fields or a field-pair.
It's not clear that there's even a spec relevant difference between
the two forms, as opposed to hardware ideosyncracies.

9 years agodsputil: allow to skip drawing of top/bottom edges.
Alexander Strange [Sat, 26 Mar 2011 21:31:13 +0000 (17:31 -0400)]
dsputil: allow to skip drawing of top/bottom edges.

9 years agoSplit fate-psx-str-v3 into a video-only and audio-only test.
Ronald S. Bultje [Sat, 26 Mar 2011 20:28:16 +0000 (16:28 -0400)]
Split fate-psx-str-v3 into a video-only and audio-only test.

9 years agoUse strtoul to parse rtptime and seq values.
Ilya [Sat, 26 Mar 2011 16:13:36 +0000 (17:13 +0100)]
Use strtoul to parse rtptime and seq values.

strtol could return negative values, leading to various error messages,
mainly "non-monotonically increasing dts".

9 years agoALSA: implement channel layout for playback.
Nicolas George [Thu, 10 Mar 2011 11:10:34 +0000 (12:10 +0100)]
ALSA: implement channel layout for playback.

Currently, only S16 quad, 5.1 and 7.1 are implemented.
Implementing support for other formats/layouts and capture should be

7.1 support by Carl Eugen Hoyos.

9 years agoffprobe: provide format parameters to av_open_input_file()
Stefano Sabatini [Thu, 24 Mar 2011 13:39:23 +0000 (14:39 +0100)]
ffprobe: provide format parameters to av_open_input_file()

Provide a non-NULL AVFormatParameters structure to
av_open_input_file() in open_input_file().

This is required because otherwise av_open_input_file() will allocate
and use a new format context, discarding the options set in the
provided format context.

9 years agolavf: make compute_pkt_fields2() return meaningful error values
Stefano Sabatini [Tue, 15 Mar 2011 11:34:55 +0000 (12:34 +0100)]
lavf: make compute_pkt_fields2() return meaningful error values

9 years agocmdutils: remove list_fmts(), simplify
Stefano Sabatini [Sat, 12 Mar 2011 11:44:22 +0000 (12:44 +0100)]
cmdutils: remove list_fmts(), simplify

The function was only used in opt_sample_fmt() for listing the sample
formats. Move list_fmts() functionality directly into

Als fix the warning:
ffmpeg.c: In function ‘opt_audio_sample_fmt’:
ffmpeg.c:2877: warning: passing argument 1 of ‘list_fmts’ from incompatible pointer type
cmdutils.h:163: note: expected ‘void (*)(char *, int,  int)’ but argument is of type ‘char * (*)(char *, int,  enum AVSampleFormat)’

9 years agoDPX decode: add buffer size checks.
Reimar Döffinger [Fri, 25 Mar 2011 17:58:07 +0000 (18:58 +0100)]
DPX decode: add buffer size checks.

9 years agonut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
Peter Ross [Sat, 19 Mar 2011 13:25:18 +0000 (00:25 +1100)]
nut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

9 years agorawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
Peter Ross [Sat, 19 Mar 2011 13:24:24 +0000 (00:24 +1100)]
rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE

9 years agoMake the hflip filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
Peter Ross [Sat, 19 Mar 2011 11:11:03 +0000 (22:11 +1100)]
Make the hflip filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

9 years agoMake the crop filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
Peter Ross [Sat, 19 Mar 2011 11:05:53 +0000 (22:05 +1100)]
Make the crop filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

9 years agolibswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation
Peter Ross [Thu, 17 Mar 2011 10:07:18 +0000 (21:07 +1100)]
libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementation

9 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Sat, 26 Mar 2011 01:42:40 +0000 (02:42 +0100)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.
  Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser and decoder, and vice-versa for the AC-3 encoder.
  Use audio_service_type to set stream disposition.
  Add APIchanges entry for audio_service_type.
  Add audio_service_type field to AVCodecContext for encoding and reporting of the service type in the audio bitstream.
  configure: in check_ld, place new -l flags before existing ones
  support @heading, @subheading, @subsubheading, and @subsubsection in texi2pod.pl
  doc: update build system documentation
  aacenc: indentation
  aacenc: fix the side calculation in search_for_ms
  vp8.c: rename EDGE_* to VP8_EDGE_*.


Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.
Justin Ruggles [Thu, 24 Mar 2011 16:42:05 +0000 (12:42 -0400)]
mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.

9 years agoGet audio_service_type for AC-3 based on bitstream mode in the AC-3 parser
Justin Ruggles [Thu, 24 Mar 2011 16:10:38 +0000 (12:10 -0400)]
Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser
and decoder, and vice-versa for the AC-3 encoder.

9 years agoUse audio_service_type to set stream disposition.
Justin Ruggles [Thu, 24 Mar 2011 16:09:02 +0000 (12:09 -0400)]
Use audio_service_type to set stream disposition.

9 years agoAdd APIchanges entry for audio_service_type.
Justin Ruggles [Thu, 24 Mar 2011 16:08:13 +0000 (12:08 -0400)]
Add APIchanges entry for audio_service_type.

9 years agoAdd audio_service_type field to AVCodecContext for encoding and reporting
Justin Ruggles [Thu, 24 Mar 2011 16:00:21 +0000 (12:00 -0400)]
Add audio_service_type field to AVCodecContext for encoding and reporting
of the service type in the audio bitstream.

9 years agoconfigure: in check_ld, place new -l flags before existing ones
Mans Rullgard [Fri, 25 Mar 2011 19:26:10 +0000 (19:26 +0000)]
configure: in check_ld, place new -l flags before existing ones

This fixes some library tests when --as-needed is in effect.

Signed-off-by: Mans Rullgard <mans@mansr.com>
9 years agoUpdate to latest MPlayer version.
Reimar Döffinger [Thu, 24 Mar 2011 20:23:15 +0000 (21:23 +0100)]
Update to latest MPlayer version.

Avoids warnings due to pointlessly casting away const.

9 years agolavc: Bump micro for dvd subtitle cb/cr fix Signed-off-by: Michael Niedermayer <micha...
Michael Niedermayer [Fri, 25 Mar 2011 17:41:39 +0000 (18:41 +0100)]
lavc: Bump micro for dvd subtitle cb/cr fix Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

9 years agoFix incorrect colors when decoding Blu-ray subtitles
Alexandre Colucci [Fri, 25 Mar 2011 16:31:28 +0000 (17:31 +0100)]
Fix incorrect colors when decoding Blu-ray subtitles

On Blu-ray colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications:
see System Description Blu-ray Disc Read-Only Format, Palette Definition Segment

When decoding a Blu-ray subtitle, the colors were incorrectly set.

9 years agoFix incorrect colors when decoding DVD subtitles
Alexandre Colucci [Fri, 25 Mar 2011 10:25:02 +0000 (11:25 +0100)]
Fix incorrect colors when decoding DVD subtitles

On DVD and HD-DVD colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications:
see DVD Specifications for Read-Only Disc / Part 3, 4.3 Program Chain Information (7) PGC_SP_PLT
see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (11) PGC_SDSP_PLT
see DVD Specifications for High Definition Disc, 5.2 Navigation for Standard Content (12) PGC_HDSP_PLT
see DVD Specifications for High Definition Disc, 5.5 Presentation Data (4) SET_COLOR2

When decoding a DVD or HD-DVD subtitle, the colors were incorrectly set.

9 years agoconfigure: sort filter deps entries
Stefano Sabatini [Fri, 25 Mar 2011 17:49:24 +0000 (18:49 +0100)]
configure: sort filter deps entries

9 years agoconfigure: update ffmpeg-user mailing-list address
Stefano Sabatini [Fri, 25 Mar 2011 17:47:22 +0000 (18:47 +0100)]
configure: update ffmpeg-user mailing-list address

The address recently changed from ffmpeg-user@mplayerhq.hu to

9 years agoffmpeg: include conditionally the sws_flags variable
Stefano Sabatini [Fri, 25 Mar 2011 17:42:51 +0000 (18:42 +0100)]
ffmpeg: include conditionally the sws_flags variable

The variable is not used when libavfilter is enabled.
Fix the warning:
ffmpeg.c: At top level:
ffmpeg.c:242: warning: ‘sws_flags’ defined but not used

9 years agosupport @heading, @subheading, @subsubheading, and @subsubsection in
Justin Ruggles [Thu, 24 Mar 2011 22:39:19 +0000 (18:39 -0400)]
support @heading, @subheading, @subsubheading, and @subsubsection in

9 years agoRevert "matroskadec: set default duration for simple block"
Michael Niedermayer [Fri, 25 Mar 2011 11:00:17 +0000 (12:00 +0100)]
Revert "matroskadec: set default duration for simple block"

This reverts commit 98a7d560b4f835ba5b99b9974ee1a2c096198bea.
This has been implemented differently by aurel already

9 years agodoc: update build system documentation
Luca Barbato [Mon, 21 Mar 2011 23:20:56 +0000 (00:20 +0100)]
doc: update build system documentation

Split normal build system documentation and the fate one.

Document THREADS make variable and provide an introduction to fate.
Document DESTDIR make variable and add some generic targets.

9 years agoaacenc: indentation
Young Han Lee [Fri, 25 Mar 2011 03:17:48 +0000 (12:17 +0900)]
aacenc: indentation

9 years agoaacenc: fix the side calculation in search_for_ms
Young Han Lee [Thu, 24 Mar 2011 01:49:36 +0000 (10:49 +0900)]
aacenc: fix the side calculation in search_for_ms