ffmpeg.git
5 years agoMerge commit 'b7ab6e18eecad43593ad2a0e9fc9eba7f24751cb'
Hendrik Leppkes [Sat, 12 Sep 2015 11:29:29 +0000 (13:29 +0200)]
Merge commit 'b7ab6e18eecad43593ad2a0e9fc9eba7f24751cb'

* commit 'b7ab6e18eecad43593ad2a0e9fc9eba7f24751cb':
  mmaldec: disable timestamp interpolation

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '6b652c0273d79f2e0c52ad91450bd0737cf3c8a6'
Hendrik Leppkes [Sat, 12 Sep 2015 11:29:16 +0000 (13:29 +0200)]
Merge commit '6b652c0273d79f2e0c52ad91450bd0737cf3c8a6'

* commit '6b652c0273d79f2e0c52ad91450bd0737cf3c8a6':
  mmaldec: fix problems with flush logic

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'b84675d63aaede8f6944b901250a10456c5477e6'
Hendrik Leppkes [Sat, 12 Sep 2015 11:29:10 +0000 (13:29 +0200)]
Merge commit 'b84675d63aaede8f6944b901250a10456c5477e6'

* commit 'b84675d63aaede8f6944b901250a10456c5477e6':
  mmaldec: hack against buffering problems on broken input

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '5788623d29c3e806a7879210986110aced758dc2'
Hendrik Leppkes [Sat, 12 Sep 2015 11:25:38 +0000 (13:25 +0200)]
Merge commit '5788623d29c3e806a7879210986110aced758dc2'

* commit '5788623d29c3e806a7879210986110aced758dc2':
  jpeg2000: Split codeblock decoding from the main tile decoding

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'db53a2306f62f05faa67e6f3c60ee55a9b8e4776'
Hendrik Leppkes [Sat, 12 Sep 2015 11:16:13 +0000 (13:16 +0200)]
Merge commit 'db53a2306f62f05faa67e6f3c60ee55a9b8e4776'

* commit 'db53a2306f62f05faa67e6f3c60ee55a9b8e4776':
  jpeg2000: Do not warn about known and skippable markers

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '9b5a4a9cce3042558e107ae1ed30d9bf3d867a35'
Hendrik Leppkes [Sat, 12 Sep 2015 11:14:26 +0000 (13:14 +0200)]
Merge commit '9b5a4a9cce3042558e107ae1ed30d9bf3d867a35'

* commit '9b5a4a9cce3042558e107ae1ed30d9bf3d867a35':
  mmvideo: Make sure the rle does not write over the frame boundaries

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '41ed749fe987e60b0485fa721ad869590651324d'
Hendrik Leppkes [Sat, 12 Sep 2015 11:05:01 +0000 (13:05 +0200)]
Merge commit '41ed749fe987e60b0485fa721ad869590651324d'

* commit '41ed749fe987e60b0485fa721ad869590651324d':
  ogg: Do not try to use the parser if it is not present

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f'
Hendrik Leppkes [Sat, 12 Sep 2015 11:03:04 +0000 (13:03 +0200)]
Merge commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f'

* commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f':
  pixdesc: Document the component order

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agovp9: Fix emu[] edge overflow conditions for >8bpp/non-420.
Ronald S. Bultje [Fri, 11 Sep 2015 17:59:17 +0000 (13:59 -0400)]
vp9: Fix emu[] edge overflow conditions for >8bpp/non-420.

5 years agovp9: re-initialize internal buffers on bpp change also.
Ronald S. Bultje [Fri, 11 Sep 2015 17:24:48 +0000 (13:24 -0400)]
vp9: re-initialize internal buffers on bpp change also.

5 years agoMerge commit 'c7ed26ad6035793c7212c17545b0ded18b72db69'
Hendrik Leppkes [Sat, 12 Sep 2015 11:00:31 +0000 (13:00 +0200)]
Merge commit 'c7ed26ad6035793c7212c17545b0ded18b72db69'

* commit 'c7ed26ad6035793c7212c17545b0ded18b72db69':
  pixdesc: Add missing alpha flag for yuva420p9be

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMerge commit 'e336c51e6ffcdb93fbcf3c6153d378400608526b'
Hendrik Leppkes [Sat, 12 Sep 2015 10:54:25 +0000 (12:54 +0200)]
Merge commit 'e336c51e6ffcdb93fbcf3c6153d378400608526b'

* commit 'e336c51e6ffcdb93fbcf3c6153d378400608526b':
  pixdesc: Consistently order components

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agommaldec: disable timestamp interpolation
wm4 [Tue, 8 Sep 2015 17:42:24 +0000 (19:42 +0200)]
mmaldec: disable timestamp interpolation

This MMAL feature fills in missing timestamps from the framerate set on
the input port. This is generally unwanted, since libavcodec decoders
merely pass through timestamps without ever "fixing" them. The framerate
is also unknown, and even the timebase doesn't have to be set.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agommaldec: fix problems with flush logic
wm4 [Tue, 8 Sep 2015 17:42:23 +0000 (19:42 +0200)]
mmaldec: fix problems with flush logic

Don't try to do a blocking wait for MMAL output if we haven't even sent
a single real packet, but only flush packets. Obviously we can't expect
to get anything back.

Additionally, don't send a flush packet to MMAL in the same case. It
appears the MMAL decoder will sometimes hang in mmal_vc_port_disable()
(called from ffmmal_close_decoder()), waiting for a reply from the GPU
which never arrives. Either MMAL disallows sending flush packets without
preceding real data, or it's a MMAL bug.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agommaldec: hack against buffering problems on broken input
wm4 [Tue, 8 Sep 2015 17:42:22 +0000 (19:42 +0200)]
mmaldec: hack against buffering problems on broken input

I can't come up with a nice way to handle this. It's hard to keep the
lock-stepped input/output in this case. You can't predict whether the
MMAL decoder will output a picture (because it's asynchronous), so
you have to assume in general that any packet could produce 0 or 1
frames. You can't continue to write input packets to the decoder,
because then you might get too many output frames, which you can't
get rid of because the lavc decoding API does not allow the decoder
to return an output frame without consuming an input frame (except
when flushing).

The ideal fix is a M:N decoding API (preferably asynchronous), which
would make this code potentially much cleaner. For now, this hack
will do.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agox86: port PSIGNW to cpuflags
James Almer [Sat, 12 Sep 2015 01:02:42 +0000 (22:02 -0300)]
x86: port PSIGNW to cpuflags

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoffserver: remove redundant comment, clarify another one
Reynaldo H. Verdejo Pinochet [Sat, 12 Sep 2015 00:07:52 +0000 (17:07 -0700)]
ffserver: remove redundant comment, clarify another one

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
5 years agoffserver: unify exit path in http_server()
Reynaldo H. Verdejo Pinochet [Fri, 11 Sep 2015 22:05:48 +0000 (15:05 -0700)]
ffserver: unify exit path in http_server()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
5 years agoffserver: unify fail path in socket_open_listen()
Reynaldo H. Verdejo Pinochet [Fri, 11 Sep 2015 21:53:09 +0000 (14:53 -0700)]
ffserver: unify fail path in socket_open_listen()

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
5 years agovp9: save one (PSIGNW) instruction in iadst16_1d sse2/ssse3.
Ronald S. Bultje [Fri, 11 Sep 2015 16:00:50 +0000 (12:00 -0400)]
vp9: save one (PSIGNW) instruction in iadst16_1d sse2/ssse3.

5 years agolavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.
Simon Thelen [Fri, 11 Sep 2015 19:49:07 +0000 (21:49 +0200)]
lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.

Not requiring this can end up producing hilariously broken files
together with -c:s copy (e.g. a webvtt file containing binary subtitle data).

Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolibvpxdec: apply RGB to 444P16 instead of 422P16.
Ronald S. Bultje [Fri, 11 Sep 2015 17:43:02 +0000 (13:43 -0400)]
libvpxdec: apply RGB to 444P16 instead of 422P16.

5 years agoavformat/format: Remove parameters from mime type before comparission for probing
Alex Agranovsky [Fri, 11 Sep 2015 22:08:19 +0000 (00:08 +0200)]
avformat/format: Remove parameters from mime type before comparission for probing

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoconfigure: check for ID3D11VideoContext
James Almer [Fri, 11 Sep 2015 21:23:30 +0000 (18:23 -0300)]
configure: check for ID3D11VideoContext

Should fix compilation with mingw-w64 trunk, where ID3D11VideoDecoder is available
but ID3D11VideoContext still isn't.

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavformat/tcp: TCP Protocol: fix descriptor leak on listen and interrupt
Alexander S. Drozdov [Fri, 11 Sep 2015 06:31:44 +0000 (16:31 +1000)]
avformat/tcp: TCP Protocol: fix descriptor leak on listen and interrupt

If we try to listen on TCP port and ff_listen() fails on
interrupt callback socket (bind) descriptor overwrites and
does not closed at all.

As a result, we can't rebind to the same port.

Reviewed-by: Stephan Holljes <klaxa1337@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolibavformat/utils.c: use correct variable for message.
Thierry Foucu [Fri, 11 Sep 2015 19:17:59 +0000 (12:17 -0700)]
libavformat/utils.c: use correct variable for message.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoswscale/swscale: Fix "unused variable" warning
Michael Niedermayer [Fri, 11 Sep 2015 18:59:32 +0000 (20:59 +0200)]
swscale/swscale: Fix "unused variable" warning

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoaaccoder: respect cutoff when marking bands as PNS
Rostislav Pehlivanov [Fri, 11 Sep 2015 17:59:15 +0000 (18:59 +0100)]
aaccoder: respect cutoff when marking bands as PNS

Makes more sense as users usually set the -cutoff option
to low pass filter the signal. The encoder will still over
shoot slightly when encoding normal coefficients however
that's normal.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agojpeg2000: Split codeblock decoding from the main tile decoding
Luca Barbato [Fri, 11 Sep 2015 16:19:39 +0000 (18:19 +0200)]
jpeg2000: Split codeblock decoding from the main tile decoding

That loop is completely stand-alone.

5 years agojpeg2000: Do not warn about known and skippable markers
Luca Barbato [Fri, 11 Sep 2015 01:00:36 +0000 (03:00 +0200)]
jpeg2000: Do not warn about known and skippable markers

Matches the openjpeg behaviour.

5 years agommvideo: Make sure the rle does not write over the frame boundaries
Luca Barbato [Thu, 10 Sep 2015 12:46:05 +0000 (14:46 +0200)]
mmvideo: Make sure the rle does not write over the frame boundaries

Bug-Id: 887
CC: libav-stable@libav.org
5 years agoavformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length
Paul B Mahol [Fri, 11 Sep 2015 15:41:18 +0000 (15:41 +0000)]
avformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavformat/wavenc: use AV_OPT_TYPE_BOOL for write_bext option
Paul B Mahol [Fri, 11 Sep 2015 15:34:17 +0000 (15:34 +0000)]
avformat/wavenc: use AV_OPT_TYPE_BOOL for write_bext option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/ljpegenc: Fix encoding RGBA LJPEG
Michael Niedermayer [Fri, 11 Sep 2015 11:28:16 +0000 (13:28 +0200)]
avcodec/ljpegenc: Fix encoding RGBA LJPEG

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/mjpegdec: Fix decoding RGBA RCT LJPEG
Michael Niedermayer [Fri, 11 Sep 2015 11:28:51 +0000 (13:28 +0200)]
avcodec/mjpegdec: Fix decoding RGBA RCT LJPEG

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoconfigure: colorize error messages
Ganesh Ajjanagadde [Thu, 10 Sep 2015 00:47:22 +0000 (20:47 -0400)]
configure: colorize error messages

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agolavc: Fix standalone compilation of the subrip decoder.
Carl Eugen Hoyos [Fri, 11 Sep 2015 10:38:36 +0000 (12:38 +0200)]
lavc: Fix standalone compilation of the subrip decoder.

5 years agoavcodec/nvenc: change flag of cuCtxCreate to avoid CPU spins
Agatha Hu [Fri, 11 Sep 2015 02:54:08 +0000 (10:54 +0800)]
avcodec/nvenc: change flag of cuCtxCreate to avoid CPU spins

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
5 years agoavformat/utils: Increase default max_stream_analyze_duration for flv
Michael Niedermayer [Thu, 10 Sep 2015 22:58:37 +0000 (00:58 +0200)]
avformat/utils: Increase default max_stream_analyze_duration for flv

Fixes: unknown_video.flv

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavutil/version: Bump for avpriv_get_trc_function_from_trc() and AVCOL_PRI/TRC_SMPTEST...
Michael Niedermayer [Thu, 10 Sep 2015 22:03:56 +0000 (00:03 +0200)]
avutil/version: Bump for avpriv_get_trc_function_from_trc() and AVCOL_PRI/TRC_SMPTEST428_1 and AVCOL_TRC_SMPTEST2084

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agodoc/filters: fix Photoshop curves file extension
Lou Logan [Thu, 10 Sep 2015 22:13:23 +0000 (14:13 -0800)]
doc/filters: fix Photoshop curves file extension

Found-by: moorej
Signed-off-by: Lou Logan <lou@lrcd.com>
5 years agoavcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic...
Kevin Wheatley [Tue, 1 Sep 2015 11:35:55 +0000 (12:35 +0100)]
avcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic when applying one

5 years agoavcodec/exr: Add support for applying a transfer characteristic curve to OpenEXR...
Kevin Wheatley [Tue, 1 Sep 2015 10:02:53 +0000 (11:02 +0100)]
avcodec/exr: Add support for applying a transfer characteristic curve to OpenEXR inputs.

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
5 years agoavutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic
Kevin Wheatley [Tue, 1 Sep 2015 10:41:38 +0000 (11:41 +0100)]
avutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic

Most functions are valid over a domain and range of [0.0-1.0] but
some are defined over greater. This patch does not deal with
AVColorRange and assumes AVCOL_RANGE_JPEG for the returned values.

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
5 years agoavfilter/vf_transpose: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Thu, 3 Sep 2015 15:18:59 +0000 (08:18 -0700)]
avfilter/vf_transpose: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
5 years agoavfilter/f_perms: use the name 's' for the pointer to the private context
Ganesh Ajjanagadde [Wed, 9 Sep 2015 18:30:08 +0000 (14:30 -0400)]
avfilter/f_perms: use the name 's' for the pointer to the private context

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
5 years agoavcodec/options_table: Fix TRC / PRI typo
Michael Niedermayer [Thu, 10 Sep 2015 20:51:19 +0000 (22:51 +0200)]
avcodec/options_table: Fix TRC / PRI typo

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavutil/pixfmt: Name "SMPTE ST 428-1" in AVColorPrimaries the same as in AVColorTransf...
Michael Niedermayer [Thu, 10 Sep 2015 20:50:42 +0000 (22:50 +0200)]
avutil/pixfmt: Name "SMPTE ST 428-1" in AVColorPrimaries the same as in AVColorTransferCharacteristic

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavutil/pixdesc: Use "-" in color_primaries_names to be consistent with color_transfer...
Michael Niedermayer [Thu, 10 Sep 2015 20:47:51 +0000 (22:47 +0200)]
avutil/pixdesc: Use "-" in color_primaries_names to be consistent with color_transfer_names

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavutil/pixdesc: Add SMPTE ST 2084 and ST 428-1 pixel descriptions
Kevin Wheatley [Tue, 1 Sep 2015 11:34:34 +0000 (12:34 +0100)]
avutil/pixdesc: Add SMPTE ST 2084 and ST 428-1 pixel descriptions

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/options_table: Add SMPTE ST428-1 colour primaries (CIE 1931 XYZ) to command...
Kevin Wheatley [Tue, 1 Sep 2015 08:32:42 +0000 (09:32 +0100)]
avcodec/options_table: Add SMPTE ST428-1 colour primaries (CIE 1931 XYZ) to command line options

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/options_table: Add CLI options for SMPTE ST 2084 and ST 428-1 transfer charac...
Kevin Wheatley [Tue, 1 Sep 2015 08:14:01 +0000 (09:14 +0100)]
avcodec/options_table: Add CLI options for SMPTE ST 2084 and ST 428-1 transfer characteristics

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavutil/pixfmt: Add additional primaries and transfer characteristic enumerations...
Kevin Wheatley [Fri, 28 Aug 2015 14:20:22 +0000 (15:20 +0100)]
avutil/pixfmt: Add additional primaries and transfer characteristic enumerations from ITU-T Rec H.265

Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/truemotion1: Simplify code using AV_PIX_FMT_0RGB32
Michael Niedermayer [Thu, 10 Sep 2015 18:42:57 +0000 (20:42 +0200)]
avcodec/truemotion1: Simplify code using AV_PIX_FMT_0RGB32

Suggested-by: carl
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavformat/subtitles: improve ff_subtitles_queue_finalize() doxy
Clément Bœsch [Thu, 10 Sep 2015 19:40:49 +0000 (21:40 +0200)]
avformat/subtitles: improve ff_subtitles_queue_finalize() doxy

5 years agoavformat/subtitles: forward log context in ff_subtitles_queue_finalize() for logging
Clément Bœsch [Thu, 10 Sep 2015 19:40:07 +0000 (21:40 +0200)]
avformat/subtitles: forward log context in ff_subtitles_queue_finalize() for logging

5 years agoavformat/subtitles: make sure we don't drop "duplicated" events from different streams
Clément Bœsch [Thu, 10 Sep 2015 19:39:13 +0000 (21:39 +0200)]
avformat/subtitles: make sure we don't drop "duplicated" events from different streams

5 years agoavformat/subtitles: drop duplicated events
Clément Bœsch [Thu, 10 Sep 2015 19:17:44 +0000 (21:17 +0200)]
avformat/subtitles: drop duplicated events

Fix Ticket #4843

5 years ago.gitignore: ignore temp files
Harshit Mittal [Wed, 5 Aug 2015 19:39:59 +0000 (12:39 -0700)]
.gitignore: ignore temp files

Github: Closes #144

5 years agoswscale: Forward colorspace updates to the 2nd cascaded context in case of alphablend
Michael Niedermayer [Thu, 10 Sep 2015 15:01:47 +0000 (17:01 +0200)]
swscale: Forward colorspace updates to the 2nd cascaded context in case of alphablend

The first just does the blending and wouldnt do anything with the colorspace values

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoswscale/utils: Forward luma range to the cascaded context for alphablending
Michael Niedermayer [Thu, 10 Sep 2015 15:03:11 +0000 (17:03 +0200)]
swscale/utils: Forward luma range to the cascaded context for alphablending

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/truemotion1: use BGR0/0RGB
Michael Niedermayer [Thu, 10 Sep 2015 14:30:11 +0000 (16:30 +0200)]
avcodec/truemotion1: use BGR0/0RGB

The alpha channel in the fate sample contains random trash, not alpha

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/cscd: Use BGR0 instead of BGRA
Michael Niedermayer [Thu, 10 Sep 2015 14:19:15 +0000 (16:19 +0200)]
avcodec/cscd: Use BGR0 instead of BGRA

the available BGRA samples contain random trash in the alpha channel

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/bmp: Analyze BGRA files alpha channel to choose pixel format
Michael Niedermayer [Thu, 10 Sep 2015 14:06:14 +0000 (16:06 +0200)]
avcodec/bmp: Analyze BGRA files alpha channel to choose pixel format

BGRA BMPs commonly do contain an all transparent alpha channel

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoswscale/utils: handle gray+alpha formats like gray for luma ranges
Michael Niedermayer [Thu, 10 Sep 2015 12:30:21 +0000 (14:30 +0200)]
swscale/utils: handle gray+alpha formats like gray for luma ranges

Its illogic to handle gray differently depending on the existence of an alpha channel

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoswscale/utils: If the source has no alpha then disable alpha blendaway
Michael Niedermayer [Thu, 10 Sep 2015 12:03:01 +0000 (14:03 +0200)]
swscale/utils: If the source has no alpha then disable alpha blendaway

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libopenh264enc: use AV_LOG_TRACE instead of DEBUG+1
Michael Niedermayer [Thu, 10 Sep 2015 11:22:46 +0000 (13:22 +0200)]
avcodec/libopenh264enc: use AV_LOG_TRACE instead of DEBUG+1

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoogg: Do not try to use the parser if it is not present
Luca Barbato [Thu, 10 Sep 2015 12:11:43 +0000 (14:11 +0200)]
ogg: Do not try to use the parser if it is not present

Bug-Id: 886
CC: libav-stable@libav.org
5 years agovp9: fix overflow in 8x8 topleft 32x32 idct ssse3 version.
Ronald S. Bultje [Wed, 9 Sep 2015 18:10:41 +0000 (14:10 -0400)]
vp9: fix overflow in 8x8 topleft 32x32 idct ssse3 version.

Also disable the mmx/iwht optimization when the bitexact flag is set.
With synthetically coded coefficients (i.e. these that lead to a
residual well outside the [-255,255] range), our optimizations will
overflow. It doesn't make sense to fix the overflows, since they can
only occur on synthetic input, not on real fwht-generated input. Thus,
add a bitexact flag that disables this optimization.

5 years agovp9: permanently delete segmentation refmap on any size change.
Ronald S. Bultje [Wed, 9 Sep 2015 16:42:24 +0000 (12:42 -0400)]
vp9: permanently delete segmentation refmap on any size change.

5 years agoavcodec/libopenh264enc: Remove some unneeded intermediate variables
Michael Niedermayer [Thu, 10 Sep 2015 11:07:08 +0000 (13:07 +0200)]
avcodec/libopenh264enc: Remove some unneeded intermediate variables

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libopenh264enc: Fix formating to match FFmpegs style
Michael Niedermayer [Thu, 10 Sep 2015 11:02:40 +0000 (13:02 +0200)]
avcodec/libopenh264enc: Fix formating to match FFmpegs style

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libopenh264enc: remove useless cast
Michael Niedermayer [Thu, 10 Sep 2015 10:59:44 +0000 (12:59 +0200)]
avcodec/libopenh264enc: remove useless cast

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libopenh264enc: Use av_log() to log messages
Gregory J. Wolfe [Wed, 9 Sep 2015 19:32:42 +0000 (15:32 -0400)]
avcodec/libopenh264enc: Use av_log() to log messages

File libopenh264enc.c has been modified so that the encoder uses av_log()
to log messages (error, warning, info, etc.) instead of logging them
directly to stderr.  At the time the encoder is created, the current
ffmpeg log level is mapped to an equivalent libopenh264 log level.  This
log level, and a message logging function that invokes av_log() to
actually log messages, are then set on the encoder.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agopixdesc: Document the component order
Luca Barbato [Thu, 10 Sep 2015 03:02:47 +0000 (05:02 +0200)]
pixdesc: Document the component order

5 years agopixdesc: Add missing alpha flag for yuva420p9be
Hendrik Leppkes [Wed, 9 Sep 2015 10:56:49 +0000 (12:56 +0200)]
pixdesc: Add missing alpha flag for yuva420p9be

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agopixdesc: Consistently order components
Hendrik Leppkes [Wed, 9 Sep 2015 10:56:48 +0000 (12:56 +0200)]
pixdesc: Consistently order components

Ensure that the components are ordered consistently, ie. always
RGB(A) and YUV(A). This allows to identify a specific plane on a given
pixel format without hard-coding knowledge of the plane order.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
5 years agoavformat/aa: initialize "header_seed" and "header_key"
Vesselin Bontchev [Thu, 10 Sep 2015 06:59:56 +0000 (08:59 +0200)]
avformat/aa: initialize "header_seed" and "header_key"

Fixes CID 1322364, CID 1322363

Signed-off-by: Vesselin Bontchev <vesselin.bontchev@yandex.com>
5 years agoRELEASE: update to 2.8.git
James Almer [Thu, 10 Sep 2015 02:53:15 +0000 (23:53 -0300)]
RELEASE: update to 2.8.git

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavformat/avformat: remove dead code
James Almer [Wed, 9 Sep 2015 23:12:16 +0000 (20:12 -0300)]
avformat/avformat: remove dead code

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agolavc: Fix compilation with --disable-everything --enable-parser=mpeg4video.
Hendrik Schreiber [Wed, 9 Sep 2015 10:10:04 +0000 (12:10 +0200)]
lavc: Fix compilation with --disable-everything --enable-parser=mpeg4video.

5 years agoconfigure: add libsoxr to swresample's pkgconfig
Ricardo Constantino [Mon, 7 Sep 2015 19:58:10 +0000 (20:58 +0100)]
configure: add libsoxr to swresample's pkgconfig

Fixes linking in FFMS and f265 at least, when ffmpeg is compiled with
libsoxr.

Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/wavpackenc: use AV_OPT_TYPE_BOOL for all options
Paul B Mahol [Wed, 9 Sep 2015 09:49:24 +0000 (09:49 +0000)]
avcodec/wavpackenc: use AV_OPT_TYPE_BOOL for all options

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/huffyuvenc: use AV_OPT_TYPE_BOOL for non_deterministic option
Paul B Mahol [Wed, 9 Sep 2015 09:46:28 +0000 (09:46 +0000)]
avcodec/huffyuvenc: use AV_OPT_TYPE_BOOL for non_deterministic option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavcodec/libmp3lame: use AV_OPT_TYPE_BOOL for all options
Paul B Mahol [Wed, 9 Sep 2015 09:44:41 +0000 (09:44 +0000)]
avcodec/libmp3lame: use AV_OPT_TYPE_BOOL for all options

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option
Paul B Mahol [Wed, 9 Sep 2015 08:56:51 +0000 (08:56 +0000)]
avfilter/vf_lut: use AV_OPT_TYPE_BOOL for negate_alpha option

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoaaccoder: tweak PNS implementation further
Rostislav Pehlivanov [Wed, 9 Sep 2015 09:44:33 +0000 (10:44 +0100)]
aaccoder: tweak PNS implementation further

This commit changes a few things about the noise substitution
logic:
 - Brings back the quantization factor (reduced to 3) during
   scalefactor index calculations.
 - Rejects any zeroed bands. They should be inaudiable and it's
   a waste transmitting the scalefactor indices for these.
 - Uses swb_offsets instead of incrementing a 'start' with every
   window group size.
 - Rejects all PNS during short windows.
Overall improves quality. There was a plan to use the lfg system
to create the random numbers instead of using whatever the decoder
uses but for now this works fine. Entropy is far from important here.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
5 years agoMerge commit '3b8e895237592fdaffe87cdcd204104200b9ccf9'
Hendrik Leppkes [Wed, 9 Sep 2015 07:55:14 +0000 (09:55 +0200)]
Merge commit '3b8e895237592fdaffe87cdcd204104200b9ccf9'

* commit '3b8e895237592fdaffe87cdcd204104200b9ccf9':
  codec_desc: Add missing DXV entry

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
5 years agoMAINTAINERS: add 2.8, drop 2.2
Michael Niedermayer [Wed, 9 Sep 2015 02:33:17 +0000 (04:33 +0200)]
MAINTAINERS: add 2.8, drop 2.2

No actively maintained linux disto on
https://trac.ffmpeg.org/wiki/Downstreams
uses 2.2 anymore, so it makes no sense to maintain it further

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agocodec_desc: Add missing DXV entry
Vittorio Giovara [Mon, 7 Sep 2015 15:02:14 +0000 (17:02 +0200)]
codec_desc: Add missing DXV entry

5 years agoavformat/mpegvideo_enc: Move sponsorship notice to its own comment block
Michael Niedermayer [Wed, 9 Sep 2015 00:49:49 +0000 (02:49 +0200)]
avformat/mpegvideo_enc: Move sponsorship notice to its own comment block

Suggested-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavformat/mxfenc: Move sponsorship notice to its own comment block
Michael Niedermayer [Wed, 9 Sep 2015 00:49:49 +0000 (02:49 +0200)]
avformat/mxfenc: Move sponsorship notice to its own comment block

Suggested-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavformat/http: add reconnect_delay_max option
Michael Niedermayer [Mon, 7 Sep 2015 17:38:16 +0000 (19:38 +0200)]
avformat/http: add reconnect_delay_max option

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavcodec/libvorbisdec: Fix memory leak
Andrew Stone [Tue, 8 Sep 2015 20:08:29 +0000 (16:08 -0400)]
avcodec/libvorbisdec: Fix memory leak

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
5 years agoavfilter/acrossfade: use AV_OPT_TYPE_BOOL for overlap option
Clément Bœsch [Tue, 8 Sep 2015 23:25:49 +0000 (01:25 +0200)]
avfilter/acrossfade: use AV_OPT_TYPE_BOOL for overlap option

5 years agoavfilter/life: use AV_OPT_TYPE_BOOL for a stitch option
Clément Bœsch [Tue, 8 Sep 2015 23:16:23 +0000 (01:16 +0200)]
avfilter/life: use AV_OPT_TYPE_BOOL for a stitch option

5 years agoavfilter/cellauto: use AV_OPT_TYPE_BOOL for a few options
Clément Bœsch [Tue, 8 Sep 2015 23:15:42 +0000 (01:15 +0200)]
avfilter/cellauto: use AV_OPT_TYPE_BOOL for a few options

5 years agoavfilter/waveform: use AV_OPT_TYPE_BOOL for mirror option
Clément Bœsch [Tue, 8 Sep 2015 23:04:28 +0000 (01:04 +0200)]
avfilter/waveform: use AV_OPT_TYPE_BOOL for mirror option

5 years agoavfilter/vignette: use AV_OPT_TYPE_BOOL for dither option
Clément Bœsch [Tue, 8 Sep 2015 23:02:07 +0000 (01:02 +0200)]
avfilter/vignette: use AV_OPT_TYPE_BOOL for dither option

5 years agoavfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options
Clément Bœsch [Tue, 8 Sep 2015 22:59:43 +0000 (00:59 +0200)]
avfilter/vidstabtransform: use AV_OPT_TYPE_BOOL for tripod and debug options