]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agoavfilter/af_compand: switch defaults to libavfilter/af_compand_fork.c
Michael Niedermayer [Wed, 26 Feb 2014 11:53:37 +0000 (12:53 +0100)]
avfilter/af_compand: switch defaults to libavfilter/af_compand_fork.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: "use local variable for channels" from libavfilter/af_compand_fork.c
Michael Niedermayer [Wed, 26 Feb 2014 11:50:54 +0000 (12:50 +0100)]
avfilter/af_compand: "use local variable for channels" from libavfilter/af_compand_fork.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: error checks from libavfilter/af_compand_fork.c
Michael Niedermayer [Wed, 26 Feb 2014 11:49:04 +0000 (12:49 +0100)]
avfilter/af_compand: error checks from libavfilter/af_compand_fork.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: pts init code from libavfilter/af_compand_fork.c
Michael Niedermayer [Wed, 26 Feb 2014 11:44:01 +0000 (12:44 +0100)]
avfilter/af_compand: pts init code from libavfilter/af_compand_fork.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: cosmetics and doxy comment from libavfilter/af_compand_fork.c
Michael Niedermayer [Wed, 26 Feb 2014 11:42:47 +0000 (12:42 +0100)]
avfilter/af_compand: cosmetics and doxy comment from libavfilter/af_compand_fork.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: add Andrew Kelley to the copyright
Michael Niedermayer [Wed, 26 Feb 2014 11:40:33 +0000 (12:40 +0100)]
avfilter/af_compand: add Andrew Kelley to the copyright

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: merge avframe code from af_compand_fork
Michael Niedermayer [Wed, 26 Feb 2014 11:29:22 +0000 (12:29 +0100)]
avfilter/af_compand: merge avframe code from af_compand_fork

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: merge uninit() calls on error from af_compand_fork.c
Michael Niedermayer [Wed, 26 Feb 2014 11:11:33 +0000 (12:11 +0100)]
avfilter/af_compand: merge uninit() calls on error from af_compand_fork.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: also support '|' as seperator
Michael Niedermayer [Wed, 26 Feb 2014 11:04:00 +0000 (12:04 +0100)]
avfilter/af_compand: also support '|' as seperator

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand_fork: avoid strtok_r() so as not to break build
Michael Niedermayer [Wed, 26 Feb 2014 10:44:42 +0000 (11:44 +0100)]
avfilter/af_compand_fork: avoid strtok_r() so as not to break build

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: whitespace changes from af_compand_fork
Michael Niedermayer [Wed, 26 Feb 2014 10:41:36 +0000 (11:41 +0100)]
avfilter/af_compand: whitespace changes from af_compand_fork

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 26 Feb 2014 10:18:16 +0000 (11:18 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavfi: add compand audio filter

Conflicts:
Changelog
doc/filters.texi
libavfilter/Makefile
libavfilter/af_compand.c
libavfilter/allfilters.c
libavfilter/version.h

The filter is added as new one so as to ease clean merging of its changes
in debug-able steps
See: 6b68e2a43b3407522080be50a2a19cff2f9715ef
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavfi: add compand audio filter
Andrew Kelley [Wed, 26 Feb 2014 06:47:40 +0000 (01:47 -0500)]
lavfi: add compand audio filter

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoRead bits_per_coded_sample from V_MS/VFW/FOURCC mkv files.
Carl Eugen Hoyos [Tue, 25 Feb 2014 23:02:51 +0000 (00:02 +0100)]
Read bits_per_coded_sample from V_MS/VFW/FOURCC mkv files.

Fixes ticket #3425.

10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 25 Feb 2014 19:52:37 +0000 (20:52 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  parser: cosmetics: Drop some unnecessary parentheses

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a'
Michael Niedermayer [Tue, 25 Feb 2014 18:24:16 +0000 (19:24 +0100)]
Merge commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a'

* commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a':
  libavfilter: example audio filtering program

Conflicts:
.gitignore
configure
doc/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/af_compand: fix invalid read
Andrew Kelley [Tue, 25 Feb 2014 09:37:26 +0000 (04:37 -0500)]
avfilter/af_compand: fix invalid read

Fixes #3383.

10 years agoMerge commit 'a1c699659d56b76c0bf399307f642c6fd6d28281'
Michael Niedermayer [Tue, 25 Feb 2014 18:12:30 +0000 (19:12 +0100)]
Merge commit 'a1c699659d56b76c0bf399307f642c6fd6d28281'

* commit 'a1c699659d56b76c0bf399307f642c6fd6d28281':
  parser: K&R formatting cosmetics

Conflicts:
libavcodec/parser.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'ed61f3ca8a0664a697782253b354055136c5d303'
Michael Niedermayer [Tue, 25 Feb 2014 18:03:29 +0000 (19:03 +0100)]
Merge commit 'ed61f3ca8a0664a697782253b354055136c5d303'

* commit 'ed61f3ca8a0664a697782253b354055136c5d303':
  parser: Remove commented-out cruft

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegvideo: re-indent buffer clearing code
Hendrik Leppkes [Tue, 25 Feb 2014 10:47:28 +0000 (11:47 +0100)]
mpegvideo: re-indent buffer clearing code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agompegvideo: fix overwriting hwaccel surface objects
Hendrik Leppkes [Tue, 25 Feb 2014 10:47:27 +0000 (11:47 +0100)]
mpegvideo: fix overwriting hwaccel surface objects

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoparser: cosmetics: Drop some unnecessary parentheses
Diego Biurrun [Tue, 25 Feb 2014 11:21:15 +0000 (12:21 +0100)]
parser: cosmetics: Drop some unnecessary parentheses

10 years agolibavfilter: example audio filtering program
Anton Khirnov [Thu, 13 Feb 2014 07:50:16 +0000 (08:50 +0100)]
libavfilter: example audio filtering program

Based on a patch by Andrew Kelley <superjoe30@gmail.com>

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoavcodec/vp8dsp: use AV_ZERO64 to clear idct coefficient rows
Peter Ross [Tue, 25 Feb 2014 10:02:56 +0000 (21:02 +1100)]
avcodec/vp8dsp: use AV_ZERO64 to clear idct coefficient rows

Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoparser: K&R formatting cosmetics
Luca Barbato [Sun, 23 Feb 2014 22:59:25 +0000 (23:59 +0100)]
parser: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoparser: Remove commented-out cruft
Diego Biurrun [Tue, 25 Feb 2014 10:59:05 +0000 (11:59 +0100)]
parser: Remove commented-out cruft

10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 25 Feb 2014 08:02:57 +0000 (09:02 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  texi2pod: always declare the pod file as UTF-8 encoded

Conflicts:
doc/texi2pod.pl

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavu/buffer: add release function
Lukasz Marek [Sun, 23 Feb 2014 22:19:23 +0000 (23:19 +0100)]
lavu/buffer: add release function

new function allows to unref buffer and obtain its data.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoffmpeg_opt: get_preset_file_2(): fix avio_open2() return code check
Timothy Gu [Mon, 24 Feb 2014 02:19:55 +0000 (02:19 +0000)]
ffmpeg_opt: get_preset_file_2(): fix avio_open2() return  code check

avio_open2() only return < 0 when error.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agotexi2pod: always declare the pod file as UTF-8 encoded
Janne Grunau [Mon, 24 Feb 2014 19:22:13 +0000 (20:22 +0100)]
texi2pod: always declare the pod file as UTF-8 encoded

10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 24 Feb 2014 21:29:06 +0000 (22:29 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doc: fix one accented word

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '48d1ed9c83ee0c388e8c2898e81ffb4add509ab9'
Michael Niedermayer [Mon, 24 Feb 2014 21:19:41 +0000 (22:19 +0100)]
Merge commit '48d1ed9c83ee0c388e8c2898e81ffb4add509ab9'

* commit '48d1ed9c83ee0c388e8c2898e81ffb4add509ab9':
  doc: name correct header

Conflicts:
doc/APIchanges

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '39c2880eeae6930b1036ce1f479afc1e1152c13f'
Michael Niedermayer [Mon, 24 Feb 2014 21:13:42 +0000 (22:13 +0100)]
Merge commit '39c2880eeae6930b1036ce1f479afc1e1152c13f'

* commit '39c2880eeae6930b1036ce1f479afc1e1152c13f':
  af_volume: preserve frame properties

Conflicts:
libavfilter/af_volume.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'dcc7e4bf1d0913123bfafbc58bf47bd41dd5848d'
Michael Niedermayer [Mon, 24 Feb 2014 20:44:52 +0000 (21:44 +0100)]
Merge commit 'dcc7e4bf1d0913123bfafbc58bf47bd41dd5848d'

* commit 'dcc7e4bf1d0913123bfafbc58bf47bd41dd5848d':
  af_resample: preserve frame properties

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '67f2a688143b644f99360565a9f36c61a5f052e9'
Michael Niedermayer [Mon, 24 Feb 2014 20:08:19 +0000 (21:08 +0100)]
Merge commit '67f2a688143b644f99360565a9f36c61a5f052e9'

* commit '67f2a688143b644f99360565a9f36c61a5f052e9':
  avconv: remove a write-only variable

Conflicts:
ffmpeg.c
ffmpeg.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '8aca00cc2b25810bdd85b75f5632844a5614b707'
Michael Niedermayer [Mon, 24 Feb 2014 20:05:09 +0000 (21:05 +0100)]
Merge commit '8aca00cc2b25810bdd85b75f5632844a5614b707'

* commit '8aca00cc2b25810bdd85b75f5632844a5614b707':
  libx265: Properly handled dynamic linking with MSVC

See: 87769d6c8f6d71e4814821f7e6f57b4b65eaf2a7
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '0f7fa48cf1a36ed135c9e0cb01a6b84179aea25b'
Michael Niedermayer [Mon, 24 Feb 2014 20:03:25 +0000 (21:03 +0100)]
Merge commit '0f7fa48cf1a36ed135c9e0cb01a6b84179aea25b'

* commit '0f7fa48cf1a36ed135c9e0cb01a6b84179aea25b':
  libx265: Support SAR

See: 73ee4cf3073bd3b98580cd0b31521972746bd2d4
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '2142b2efcd631db05e4c7c26785e337ecf1258ff'
Michael Niedermayer [Mon, 24 Feb 2014 20:02:06 +0000 (21:02 +0100)]
Merge commit '2142b2efcd631db05e4c7c26785e337ecf1258ff'

* commit '2142b2efcd631db05e4c7c26785e337ecf1258ff':
  libx265: Support 4:4:4

See: d102925a6d4ac1c6fb901fe2df052811e5814d60
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'd00a504b244e136a0c82a55e21ed94659e0674ad'
Michael Niedermayer [Mon, 24 Feb 2014 19:40:52 +0000 (20:40 +0100)]
Merge commit 'd00a504b244e136a0c82a55e21ed94659e0674ad'

* commit 'd00a504b244e136a0c82a55e21ed94659e0674ad':
  libx265: Update API usage

Conflicts:
libavcodec/libx265.c

See: d3736471948cd06851f6b3aef352ef285b7c6480
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/options_table: add named constants for avoid_negative_ts
Michael Niedermayer [Sat, 22 Feb 2014 21:44:37 +0000 (22:44 +0100)]
avformat/options_table: add named constants for avoid_negative_ts

Idea-by: ubitux
Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc: fix one accented word
Vittorio Giovara [Mon, 24 Feb 2014 16:03:03 +0000 (17:03 +0100)]
doc: fix one accented word

10 years agodoc: name correct header
Vittorio Giovara [Mon, 24 Feb 2014 15:59:40 +0000 (16:59 +0100)]
doc: name correct header

10 years agoaf_volume: preserve frame properties
Anton Khirnov [Wed, 19 Feb 2014 19:55:27 +0000 (20:55 +0100)]
af_volume: preserve frame properties

10 years agoaf_resample: preserve frame properties
Anton Khirnov [Wed, 19 Feb 2014 19:42:39 +0000 (20:42 +0100)]
af_resample: preserve frame properties

10 years agoavconv: remove a write-only variable
Anton Khirnov [Wed, 19 Feb 2014 15:16:43 +0000 (16:16 +0100)]
avconv: remove a write-only variable

10 years agolibx265: Use proper error code
Derek Buitenhuis [Fri, 21 Feb 2014 17:13:56 +0000 (12:13 -0500)]
libx265: Use proper error code

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Properly handled dynamic linking with MSVC
Derek Buitenhuis [Fri, 21 Feb 2014 17:11:00 +0000 (12:11 -0500)]
libx265: Properly handled dynamic linking with MSVC

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Support SAR
Derek Buitenhuis [Fri, 21 Feb 2014 17:05:50 +0000 (12:05 -0500)]
libx265: Support SAR

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Support 4:4:4
Derek Buitenhuis [Fri, 21 Feb 2014 16:59:13 +0000 (11:59 -0500)]
libx265: Support 4:4:4

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Update API usage
Derek Buitenhuis [Fri, 21 Feb 2014 16:26:40 +0000 (11:26 -0500)]
libx265: Update API usage

Framerate is now a sane rational instead of an integer, and
inputDepth is changed to what it actually is.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Properly handled dynamic linking with MSVC
Derek Buitenhuis [Fri, 21 Feb 2014 17:11:00 +0000 (12:11 -0500)]
libx265: Properly handled dynamic linking with MSVC

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Support SAR
Derek Buitenhuis [Fri, 21 Feb 2014 17:05:50 +0000 (12:05 -0500)]
libx265: Support SAR

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Support 4:4:4
Derek Buitenhuis [Fri, 21 Feb 2014 16:59:13 +0000 (11:59 -0500)]
libx265: Support 4:4:4

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agolibx265: Update API usage
Derek Buitenhuis [Fri, 21 Feb 2014 16:26:40 +0000 (11:26 -0500)]
libx265: Update API usage

Framerate is now a sane rational instead of an integer, and
inputDepth is changed to what it actually is.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 24 Feb 2014 09:47:47 +0000 (10:47 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Use av_frame_copy() to simplify code where appropriate.

Conflicts:
libavfilter/vf_copy.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '8feac29cc46270cc89d6016340e7bac780877131'
Michael Niedermayer [Mon, 24 Feb 2014 09:15:16 +0000 (10:15 +0100)]
Merge commit '8feac29cc46270cc89d6016340e7bac780877131'

* commit '8feac29cc46270cc89d6016340e7bac780877131':
  lavc: use AVFrame API properly in ff_reget_buffer()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavutil/frame_copy_audio: also check that channels match
Michael Niedermayer [Mon, 24 Feb 2014 08:52:13 +0000 (09:52 +0100)]
avutil/frame_copy_audio: also check that channels match

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '1155fd02ae7bac215acab316e847c6bb25f74fc3'
Michael Niedermayer [Mon, 24 Feb 2014 08:37:14 +0000 (09:37 +0100)]
Merge commit '1155fd02ae7bac215acab316e847c6bb25f74fc3'

* commit '1155fd02ae7bac215acab316e847c6bb25f74fc3':
  frame: add a convenience function for copying AVFrame data

Conflicts:
doc/APIchanges
libavutil/frame.c
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '746dca483a2f0f2639265f6e1c0085c8861875a1'
Michael Niedermayer [Mon, 24 Feb 2014 07:53:13 +0000 (08:53 +0100)]
Merge commit '746dca483a2f0f2639265f6e1c0085c8861875a1'

* commit '746dca483a2f0f2639265f6e1c0085c8861875a1':
  avconv: support forcing codec tags for input streams

Conflicts:
doc/ffmpeg.texi

See: 6bca574a98ba604459f6ee92538b19d25bba0973
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agox86: Move XOP emulation to x86util
James Almer [Mon, 24 Feb 2014 05:34:38 +0000 (02:34 -0300)]
x86: Move XOP emulation to x86util

We need the emulation to support the cases where the first
argument is the same as the fourth. To achieve this a fifth
argument working as a temporary may be needed.
Emulation that doesn't obey the original instruction semantics
can't be in x86inc.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswr: check that the context for swr_convert() has been initialized
Michael Niedermayer [Sat, 22 Feb 2014 21:29:51 +0000 (22:29 +0100)]
swr: check that the context for swr_convert() has been initialized

Reviewed-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswresample: add swr_is_initialized()
Michael Niedermayer [Sat, 22 Feb 2014 21:28:24 +0000 (22:28 +0100)]
swresample: add swr_is_initialized()

Idea-from/based-on: 7e86c27b4ee9e5a3fbe6cf5249b9d918b2a5e731
Reviewed-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoUse av_frame_copy() to simplify code where appropriate.
Anton Khirnov [Tue, 11 Feb 2014 14:08:12 +0000 (15:08 +0100)]
Use av_frame_copy() to simplify code where appropriate.

10 years agolavc: use AVFrame API properly in ff_reget_buffer()
Anton Khirnov [Tue, 11 Feb 2014 13:59:00 +0000 (14:59 +0100)]
lavc: use AVFrame API properly in ff_reget_buffer()

10 years agoframe: add a convenience function for copying AVFrame data
Anton Khirnov [Tue, 11 Feb 2014 13:15:20 +0000 (14:15 +0100)]
frame: add a convenience function for copying AVFrame data

10 years agoavconv: support forcing codec tags for input streams
Anton Khirnov [Sun, 23 Feb 2014 07:05:52 +0000 (08:05 +0100)]
avconv: support forcing codec tags for input streams

10 years agooggdec: validate VP8 keyframes
James Almer [Thu, 9 Jan 2014 22:17:50 +0000 (19:17 -0300)]
oggdec: validate VP8 keyframes

Fixes seeking with broken files

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 23 Feb 2014 21:52:42 +0000 (22:52 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: add detection for Bit Manipulation Instruction sets

Conflicts:
libavutil/x86/cpu.c

See: 0bc3de19ffe296254f214dc7615e624d8e401bcb
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '1b932eb1508f550fac9e911923a0383efda53aa3'
Michael Niedermayer [Sun, 23 Feb 2014 21:42:43 +0000 (22:42 +0100)]
Merge commit '1b932eb1508f550fac9e911923a0383efda53aa3'

* commit '1b932eb1508f550fac9e911923a0383efda53aa3':
  x86: add detection for FMA3 instruction set

Conflicts:
configure
libavutil/cpu.h
libavutil/x86/cpu.c

See: a2af8eddab75f1eac712411e4dde89823c0845e8
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '10b0161d78148f46eaffb29ea022378947eaef2c'
Michael Niedermayer [Sun, 23 Feb 2014 21:32:51 +0000 (22:32 +0100)]
Merge commit '10b0161d78148f46eaffb29ea022378947eaef2c'

* commit '10b0161d78148f46eaffb29ea022378947eaef2c':
  x86: add missing XOP checks and macros

Conflicts:
configure
libavutil/x86/cpu.h

See: 6c12b1de064d2604d19cb4c238a788cfed9679ac
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '5800ba0db667630e6ff81d30f03961ea10726aa6'
Michael Niedermayer [Sun, 23 Feb 2014 21:25:08 +0000 (22:25 +0100)]
Merge commit '5800ba0db667630e6ff81d30f03961ea10726aa6'

* commit '5800ba0db667630e6ff81d30f03961ea10726aa6':
  configure: disable cpunop if the check fails

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoconfigure: Move cpunop into ARCH_EXT_LIST_X86
Diego Biurrun [Sat, 2 Nov 2013 16:21:52 +0000 (17:21 +0100)]
configure: Move cpunop into ARCH_EXT_LIST_X86

It is a processor feature, so it belongs there.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '8eeacf31c5ea37baf6b222dc38d20cf4fd33c455'
Michael Niedermayer [Sun, 23 Feb 2014 21:17:19 +0000 (22:17 +0100)]
Merge commit '8eeacf31c5ea37baf6b222dc38d20cf4fd33c455'

* commit '8eeacf31c5ea37baf6b222dc38d20cf4fd33c455':
  hevc: Do not left shift a negative value in hevc_loop_filter_chroma

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'ff486c0f7f6b2ace3f0238660bc06cc35b389676'
Michael Niedermayer [Sun, 23 Feb 2014 21:10:58 +0000 (22:10 +0100)]
Merge commit 'ff486c0f7f6b2ace3f0238660bc06cc35b389676'

* commit 'ff486c0f7f6b2ace3f0238660bc06cc35b389676':
  hevc: Do not right shift a negative value in get_pcm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '50c988aa6d6c6f0ceb8f922bcea34800b56b85d9'
Michael Niedermayer [Sun, 23 Feb 2014 21:02:45 +0000 (22:02 +0100)]
Merge commit '50c988aa6d6c6f0ceb8f922bcea34800b56b85d9'

* commit '50c988aa6d6c6f0ceb8f922bcea34800b56b85d9':
  hevc: Drop unnecessary shifts in deblocking_filter_CTB

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/pngenc: fix invalid read in sub filter.
Clément Bœsch [Sun, 23 Feb 2014 19:11:30 +0000 (20:11 +0100)]
avcodec/pngenc: fix invalid read in sub filter.

First pixel was computed based on invalid address read, and then
corrected by the following memcpy. After the commit, it's not computed
anymore, and memcpy fills the appropriate area.

Fixes Ticket #3387

10 years agoavcodec/h264: clear chroma planes when flags gray is used
Michael Niedermayer [Sun, 23 Feb 2014 17:20:05 +0000 (18:20 +0100)]
avcodec/h264: clear chroma planes when flags gray is used

Fixes Ticket3397
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/mpegvideo: fix buffer clear code so it should work with negative linesizes
Michael Niedermayer [Sun, 23 Feb 2014 17:14:59 +0000 (18:14 +0100)]
avcodec/mpegvideo: fix buffer clear code so it should work with negative linesizes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agox86: add detection for Bit Manipulation Instruction sets
James Almer [Sat, 22 Feb 2014 04:54:02 +0000 (04:54 +0000)]
x86: add detection for Bit Manipulation Instruction sets

Based on x264 code

Signed-off-by: James Almer <jamrial@gmail.com>
10 years agox86: add detection for FMA3 instruction set
James Almer [Sat, 22 Feb 2014 04:54:01 +0000 (04:54 +0000)]
x86: add detection for FMA3 instruction set

Based on x264 code

Signed-off-by: James Almer <jamrial@gmail.com>
10 years agox86: add missing XOP checks and macros
James Almer [Sat, 22 Feb 2014 04:54:00 +0000 (04:54 +0000)]
x86: add missing XOP checks and macros

Signed-off-by: James Almer <jamrial@gmail.com>
10 years agoconfigure: disable cpunop if the check fails
Janne Grunau [Sun, 23 Feb 2014 13:09:06 +0000 (14:09 +0100)]
configure: disable cpunop if the check fails

Moving cpunop from the HAVE_LIST to the ARCH_EXT_LIST_X86 has the side
effect of enabling it. The semantics of the check have to be changed
from enable if successful to disable if unsuccessful. This was missing
in 2b0bb69997c2416e74f41aa1400ce983bf8775c0 causing build errors with
nasm.

10 years agohevc: Do not left shift a negative value in hevc_loop_filter_chroma
Luca Barbato [Wed, 19 Feb 2014 20:56:35 +0000 (21:56 +0100)]
hevc: Do not left shift a negative value in hevc_loop_filter_chroma

10 years agohevc: Do not right shift a negative value in get_pcm
Luca Barbato [Wed, 19 Feb 2014 21:21:43 +0000 (22:21 +0100)]
hevc: Do not right shift a negative value in get_pcm

10 years agohevc: Drop unnecessary shifts in deblocking_filter_CTB
Luca Barbato [Wed, 19 Feb 2014 19:38:53 +0000 (20:38 +0100)]
hevc: Drop unnecessary shifts in deblocking_filter_CTB

beta_offset is pre-multiplied by 2.

10 years agoAdd more Bayer colour spaces to the video4linux2 device wrapper.
Carl Eugen Hoyos [Sun, 23 Feb 2014 09:47:18 +0000 (10:47 +0100)]
Add more Bayer colour spaces to the video4linux2 device wrapper.

10 years agoavdevice/v4l2: add V4L2_PIX_FMT_SRGGB8
Peter Ross [Sat, 22 Feb 2014 12:42:15 +0000 (23:42 +1100)]
avdevice/v4l2: add V4L2_PIX_FMT_SRGGB8

10 years agoIssue-#3407 : Enhance precision for double to string conversion, useful for GEOTIFF...
Sylvain Fabre [Sun, 23 Feb 2014 09:30:37 +0000 (10:30 +0100)]
Issue-#3407 : Enhance precision for double to string conversion, useful for GEOTIFF double values

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolibswscale: bayer to rgb24 & yv12 colorspace converters
Peter Ross [Sun, 23 Feb 2014 01:18:57 +0000 (12:18 +1100)]
libswscale: bayer to rgb24 & yv12 colorspace converters

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/rawdec: for 16-bit pix fmts, shift pixels when bits_per_coded_sample < 16
Peter Ross [Sun, 23 Feb 2014 01:18:42 +0000 (12:18 +1100)]
avcodec/rawdec: for 16-bit pix fmts, shift pixels when bits_per_coded_sample < 16

Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavutil/pixdesc: set bayer pixfmt descriptor flags
Peter Ross [Sun, 23 Feb 2014 01:18:33 +0000 (12:18 +1100)]
avutil/pixdesc: set bayer pixfmt descriptor flags

Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoconfigure: Revert commit 5176e9651bda5182df008a1226e2484fdd809985
Dave Yeo [Sun, 23 Feb 2014 00:04:43 +0000 (16:04 -0800)]
configure: Revert commit 5176e9651bda5182df008a1226e2484fdd809985

This fixes cpunop detection and unbreaks NASM assembly

Signed-off-by: Dave Yeo <daveryeo@telus.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoSupport old qclp-in-mov files that do not store bytes_per_frame in the header.
Carl Eugen Hoyos [Sat, 22 Feb 2014 23:41:53 +0000 (00:41 +0100)]
Support old qclp-in-mov files that do not store bytes_per_frame in the header.

Fixes ticket #2649.

10 years agoSupport MPEG-2 video mov files with sample description mp2v.
Carl Eugen Hoyos [Sat, 22 Feb 2014 23:31:50 +0000 (00:31 +0100)]
Support MPEG-2 video mov files with sample description mp2v.

10 years agoavformat/movenc: shift positive timestamps to 0 if edit lists cannot be used
Michael Niedermayer [Fri, 21 Feb 2014 01:48:39 +0000 (02:48 +0100)]
avformat/movenc: shift positive timestamps to 0 if edit lists cannot be used

Fix handling of timestamps which start  far away from 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/mux: support shifting timestamps so they start at 0
Michael Niedermayer [Fri, 21 Feb 2014 01:43:04 +0000 (02:43 +0100)]
avformat/mux: support shifting timestamps so they start at 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswresample: factorize clear_context() out
Michael Niedermayer [Sat, 22 Feb 2014 20:36:30 +0000 (21:36 +0100)]
swresample: factorize clear_context() out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 22 Feb 2014 20:11:59 +0000 (21:11 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavr: return an error if a avresample_open() is called on an open context

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '7e86c27b4ee9e5a3fbe6cf5249b9d918b2a5e731'
Michael Niedermayer [Sat, 22 Feb 2014 20:05:58 +0000 (21:05 +0100)]
Merge commit '7e86c27b4ee9e5a3fbe6cf5249b9d918b2a5e731'

* commit '7e86c27b4ee9e5a3fbe6cf5249b9d918b2a5e731':
  lavr: add a function for checking whether AVAudioResampleContext is open

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agolavr: return an error if a avresample_open() is called on an open context
Anton Khirnov [Thu, 25 Apr 2013 18:12:47 +0000 (20:12 +0200)]
lavr: return an error if a avresample_open() is called on an open context