ffmpeg.git
2 years agolavu/buffer: drop USE_ATOMICS
Clément Bœsch [Wed, 22 Mar 2017 16:31:15 +0000 (17:31 +0100)]
lavu/buffer: drop USE_ATOMICS

USE_ATOMICS is only set if there is no thread implementation enabled, in
which case you can't expect any lock mechanism from FFmpeg.

This is also conflicting with the incoming use of stdatomic.

2 years agoMerge commit 'eb34d40354e2474517c9b9bd787e0dadc89c2a81'
Clément Bœsch [Wed, 22 Mar 2017 15:42:53 +0000 (16:42 +0100)]
Merge commit 'eb34d40354e2474517c9b9bd787e0dadc89c2a81'

* commit 'eb34d40354e2474517c9b9bd787e0dadc89c2a81':
  Add a compat dummy stdatomic.h used when threading is disabled
  Add a compat stdatomic.h implementation based on pthreads
  Add a compat stdatomic.h implementation based on suncc atomics
  Add a compat stdatomic.h implementation based on windows atomics
  Add a compat stdatomic.h implementation based on GCC atomics

This merge is a noop, see:
  41e891e89e Add a compat dummy stdatomic.h used when threading is disabled
  74b5f10862 Add a compat stdatomic.h implementation based on pthreads
  70faadc826 Add a compat stdatomic.h implementation based on suncc atomics
  c91e72ed52 Add a compat stdatomic.h implementation based on windows atomics
  3359eede8f Add a compat stdatomic.h implementation based on GCC atomics

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '13f5d2bf75b95a0bfdb9940a5e359a719e242bed'
Clément Bœsch [Wed, 22 Mar 2017 15:41:29 +0000 (16:41 +0100)]
Merge commit '13f5d2bf75b95a0bfdb9940a5e359a719e242bed'

* commit '13f5d2bf75b95a0bfdb9940a5e359a719e242bed':
  configure: check for stdatomic.h

This commit is a noop, see 6a4e24280dd7f15c41628ebfb01ee25661d8b258

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'b015872c0d0823e70776e98b865509ec1287e2f6'
Clément Bœsch [Wed, 22 Mar 2017 15:37:30 +0000 (16:37 +0100)]
Merge commit 'b015872c0d0823e70776e98b865509ec1287e2f6'

* commit 'b015872c0d0823e70776e98b865509ec1287e2f6':
  huffyuvdsp: Enable the altivec code for PPC little-endian as well

This commit is a noop, see 902ce2a6c4364fd27ae3f1db78cd275caf79c006 and
libavcodec/ppc/lossless_videodsp_altivec.c

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '1d25a86902946dbc80bb3a38e61755181ca3af7b'
Clément Bœsch [Wed, 22 Mar 2017 15:35:13 +0000 (16:35 +0100)]
Merge commit '1d25a86902946dbc80bb3a38e61755181ca3af7b'

* commit '1d25a86902946dbc80bb3a38e61755181ca3af7b':
  huffyuvdsp: Reenable PPC optimizations

This commit is a noop, see 6596b34954fc2c101fe620a4b4d305bf27315013

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '22c3ab18646924ce24dc6017a9e882ff69689e40'
Clément Bœsch [Wed, 22 Mar 2017 15:29:44 +0000 (16:29 +0100)]
Merge commit '22c3ab18646924ce24dc6017a9e882ff69689e40'

* commit '22c3ab18646924ce24dc6017a9e882ff69689e40':
  checkasm: Add test for huffyuvdsp add_bytes

huffyuvdsp is renamed to llviddsp to be consistent with our codebase.

Note: af607b7e07 wasn't actually required for this test since this
commit is not actually testing huffyuvdsp.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agolavc/huffyuvdsp: only transmit the pix_fmt instead of the whole avctx
Clément Bœsch [Wed, 22 Mar 2017 15:21:20 +0000 (16:21 +0100)]
lavc/huffyuvdsp: only transmit the pix_fmt instead of the whole avctx

Only the pixel format is required in that init function. This will also
simplify the incoming merge.

2 years agolavc/huffyuvdsp: remove unused ppc init prototype
Clément Bœsch [Wed, 22 Mar 2017 15:15:42 +0000 (16:15 +0100)]
lavc/huffyuvdsp: remove unused ppc init prototype

2 years agoMerge commit '27085d1b47c3741cc0fac284c916127c4066d049'
Clément Bœsch [Wed, 22 Mar 2017 15:02:51 +0000 (16:02 +0100)]
Merge commit '27085d1b47c3741cc0fac284c916127c4066d049'

* commit '27085d1b47c3741cc0fac284c916127c4066d049':
  avconv: only retry decoding on actual decoding errors

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'f6772e9bf8251d3943f52f6f34d97d2ce6c4b8af'
Clément Bœsch [Wed, 22 Mar 2017 14:53:38 +0000 (15:53 +0100)]
Merge commit 'f6772e9bf8251d3943f52f6f34d97d2ce6c4b8af'

* commit 'f6772e9bf8251d3943f52f6f34d97d2ce6c4b8af':
  avconv: make sure the filtergraph is freed on init failure

This commit is a noop, see 16abc10b0997c76cbb0c0ebedc49f6bc21452f9d

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'd10102d23c9467d4eb84f58e0cd12be284b982f6'
Clément Bœsch [Wed, 22 Mar 2017 14:50:37 +0000 (15:50 +0100)]
Merge commit 'd10102d23c9467d4eb84f58e0cd12be284b982f6'

* commit 'd10102d23c9467d4eb84f58e0cd12be284b982f6':
  avconv: set the encoding framerate when the output is CFR

This commit is a noop, see 8db301deadfcf113fb274881e65afcbe3e1bd645

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '5bf2454e7cb03609b3ec1a3cf4c22427fe5f8e36'
Clément Bœsch [Wed, 22 Mar 2017 14:49:13 +0000 (15:49 +0100)]
Merge commit '5bf2454e7cb03609b3ec1a3cf4c22427fe5f8e36'

* commit '5bf2454e7cb03609b3ec1a3cf4c22427fe5f8e36':
  h264dec: support broken files with mp4 extradata/annex b data

This commit is a noop, see 93b89868e139e9b45dfc8a62b4f8e1832bbfd5d8

The sample pointed out on
https://github.com/HandBrake/HandBrake/issues/339 decodes fine in
FFmpeg.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agofate: update ref file for apng-clock test
James Almer [Wed, 22 Mar 2017 13:27:46 +0000 (10:27 -0300)]
fate: update ref file for apng-clock test

2 years agoMerge commit '2124711b950b03c582a119c75f52a87acc32d6ec'
Clément Bœsch [Wed, 22 Mar 2017 11:59:20 +0000 (12:59 +0100)]
Merge commit '2124711b950b03c582a119c75f52a87acc32d6ec'

* commit '2124711b950b03c582a119c75f52a87acc32d6ec':
  hwcontext_vaapi: add a quirk for the missing MemoryType attribute

This commit is a noop, see 775a8477b74bb2fa95ca2b13c08f3fd8d6c617b6

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'b57e38f52cc3f31a27105c28887d57cd6812c3eb'
Clément Bœsch [Wed, 22 Mar 2017 11:44:49 +0000 (12:44 +0100)]
Merge commit 'b57e38f52cc3f31a27105c28887d57cd6812c3eb'

* commit 'b57e38f52cc3f31a27105c28887d57cd6812c3eb':
  ac3dsp: x86: Replace inline asm for in-decoder downmixing with standalone asm

Merged-by: Clément Bœsch <u@pkh.me>
2 years agolavc/mips: temporally disable ac3 downmix
Clément Bœsch [Wed, 22 Mar 2017 10:46:13 +0000 (11:46 +0100)]
lavc/mips: temporally disable ac3 downmix

2 years agodoc/libav-merge: create a special "extra changes" section
Clément Bœsch [Wed, 22 Mar 2017 10:42:42 +0000 (11:42 +0100)]
doc/libav-merge: create a special "extra changes" section

2 years agoMerge commit 'a9ba59591ed509fb7e6decfde8da4cbfd4ddf4b8'
Clément Bœsch [Wed, 22 Mar 2017 10:30:53 +0000 (11:30 +0100)]
Merge commit 'a9ba59591ed509fb7e6decfde8da4cbfd4ddf4b8'

* commit 'a9ba59591ed509fb7e6decfde8da4cbfd4ddf4b8':
  ac3dsp: Add some special-case handling for the C downmix function

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '43717469f9daa402f6acb48997255827a56034e9'
Clément Bœsch [Wed, 22 Mar 2017 10:11:28 +0000 (11:11 +0100)]
Merge commit '43717469f9daa402f6acb48997255827a56034e9'

* commit '43717469f9daa402f6acb48997255827a56034e9':
  ac3dsp: Reverse matrix in/out order in downmix()

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoavformat/rtmpproto: change rtmp_open from url_open to url_open2
Steven Liu [Wed, 22 Mar 2017 10:06:14 +0000 (18:06 +0800)]
avformat/rtmpproto: change rtmp_open from url_open to url_open2

use the option set by user

Reported-by: Lancelot Lai <laihy23@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2 years agox86/audiodsp: remove an unnecessary movss
James Almer [Wed, 22 Mar 2017 03:14:56 +0000 (00:14 -0300)]
x86/audiodsp: remove an unnecessary movss

2 years agoavdevice/decklink: new option 'format_code' to set video format by fourCC
Matthias Hunstock [Sun, 19 Mar 2017 23:16:37 +0000 (00:16 +0100)]
avdevice/decklink: new option 'format_code' to set video format by fourCC

Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
2 years agoavdevice/decklink: add format_code of display mode to list_format output
Matthias Hunstock [Sun, 19 Mar 2017 23:16:36 +0000 (00:16 +0100)]
avdevice/decklink: add format_code of display mode to list_format output

Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
2 years agohwcontext: fix comments for av_hwdevice_ctx_alloc()
Jun Zhao [Sun, 19 Mar 2017 07:44:46 +0000 (15:44 +0800)]
hwcontext: fix comments for av_hwdevice_ctx_alloc()

fix the wrong comments for av_hwdevice_ctx_alloc()

Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
2 years agoavcodec/avcodec.h: clarify decoupled decode/encode API docs
Marton Balint [Wed, 15 Mar 2017 00:00:57 +0000 (01:00 +0100)]
avcodec/avcodec.h: clarify decoupled decode/encode API docs

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2 years agoavformat/apng: set max_fps to no limit by default
James Almer [Tue, 21 Mar 2017 01:55:11 +0000 (22:55 -0300)]
avformat/apng: set max_fps to no limit by default

Should fix ticket #6252

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years agoavformat/apng: fix setting frame delay when max_fps is set to no limit
James Almer [Tue, 21 Mar 2017 01:53:00 +0000 (22:53 -0300)]
avformat/apng: fix setting frame delay when max_fps is set to no limit

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years agoavutil/x86util: don't use movss in VBROADCASTSS macro when src and dst args are the...
James Almer [Mon, 20 Mar 2017 22:39:49 +0000 (19:39 -0300)]
avutil/x86util: don't use movss in VBROADCASTSS macro when src and dst args are the same

Reviewed-by: Henrik Gramner <henrik@gramner.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit '8ea35af7620e4f73f9e8c072e1c0fac9a04ec161'
James Almer [Tue, 21 Mar 2017 20:07:44 +0000 (17:07 -0300)]
Merge commit '8ea35af7620e4f73f9e8c072e1c0fac9a04ec161'

* commit '8ea35af7620e4f73f9e8c072e1c0fac9a04ec161':
  avio: add a new flag for marking streams seekable by timestamp

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit '75c1db6152c7c90c7ce28c9adb945028e5512c4f'
James Almer [Tue, 21 Mar 2017 20:04:44 +0000 (17:04 -0300)]
Merge commit '75c1db6152c7c90c7ce28c9adb945028e5512c4f'

* commit '75c1db6152c7c90c7ce28c9adb945028e5512c4f':
  avio: cosmetics, prettify AVIO_SEEKABLE_NORMAL

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit '83548fe894cdb455cc127f754d09905b6d23c173'
James Almer [Tue, 21 Mar 2017 20:02:30 +0000 (17:02 -0300)]
Merge commit '83548fe894cdb455cc127f754d09905b6d23c173'

* commit '83548fe894cdb455cc127f754d09905b6d23c173':
  lavf: fix usage of AVIOContext.seekable

Merged-by: James Almer <jamrial@gmail.com>
2 years agoavcodec/wavpack: Check shift
Michael Niedermayer [Mon, 20 Mar 2017 01:05:23 +0000 (02:05 +0100)]
avcodec/wavpack: Check shift

Fixes: runtime error: shift exponent 255 is too large for 32-bit type 'unsigned int'
Fixes: 894/clusterfuzz-testcase-4841537823309824

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years agoavcodec/mpegaudiodec_template: Fix 2 runtime error: signed integer overflow
Michael Niedermayer [Mon, 20 Mar 2017 00:55:39 +0000 (01:55 +0100)]
avcodec/mpegaudiodec_template: Fix 2 runtime error: signed integer overflow

Fixes: 873/clusterfuzz-testcase-5714546230558720

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years agoMerge commit '8d1267932ca9c2e343ef303349101bab6681d02e'
James Almer [Tue, 21 Mar 2017 19:10:33 +0000 (16:10 -0300)]
Merge commit '8d1267932ca9c2e343ef303349101bab6681d02e'

* commit '8d1267932ca9c2e343ef303349101bab6681d02e':
  x86/h264_weight: use appropriate register size for weight parameters

This commit is a noop, see 5ae0ad001a653e71b14c92a0d7861de87901752c

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit '2caa93b813adc5dbb7771dfe615da826a2947d18'
James Almer [Tue, 21 Mar 2017 18:59:31 +0000 (15:59 -0300)]
Merge commit '2caa93b813adc5dbb7771dfe615da826a2947d18'

* commit '2caa93b813adc5dbb7771dfe615da826a2947d18':
  mpegaudiodsp: Change type of array stride parameters to ptrdiff_t

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit '15b4f494fc6bddb8178fdb5aed18b420efc75e22'
James Almer [Tue, 21 Mar 2017 18:57:07 +0000 (15:57 -0300)]
Merge commit '15b4f494fc6bddb8178fdb5aed18b420efc75e22'

* commit '15b4f494fc6bddb8178fdb5aed18b420efc75e22':
  mss*: Change type of array stride parameters to ptrdiff_t

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit 'a339e919cad1ab0125948f0dd9d49f6cb590db89'
James Almer [Tue, 21 Mar 2017 18:55:44 +0000 (15:55 -0300)]
Merge commit 'a339e919cad1ab0125948f0dd9d49f6cb590db89'

* commit 'a339e919cad1ab0125948f0dd9d49f6cb590db89':
  ea: Change type of array stride parameters to ptrdiff_t

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit 'ba479f3daafc7e4359ec1212164569ebe59f0bb7'
James Almer [Tue, 21 Mar 2017 18:49:09 +0000 (15:49 -0300)]
Merge commit 'ba479f3daafc7e4359ec1212164569ebe59f0bb7'

* commit 'ba479f3daafc7e4359ec1212164569ebe59f0bb7':
  hevc: Change type of array stride parameters to ptrdiff_t

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c'
James Almer [Tue, 21 Mar 2017 18:20:45 +0000 (15:20 -0300)]
Merge commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c'

* commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c':
  h264chroma: Change type of stride parameters to ptrdiff_t

Merged-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'
James Almer [Tue, 21 Mar 2017 17:29:52 +0000 (14:29 -0300)]
Merge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'

* commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428':
  idct: Change type of array stride parameters to ptrdiff_t

Merged-by: James Almer <jamrial@gmail.com>
2 years agoaacsbr: Turnoff in the event of over read.
Alex Converse [Mon, 20 Mar 2017 19:44:42 +0000 (12:44 -0700)]
aacsbr: Turnoff in the event of over read.

Aliased compressed AAC bytes are almost certainly not meaningful SBR
data. In the wild this causes harsh artifacts switching HE-AAC streams
that don't have SBR headers aligned with segment boundaries.

Turning off SBR falls back to a default set of upsampling parameters
that can function as a sort of error concealment. This is consistent
with how the decoder handles other sorts of errors.

2 years agoswresample/resample: free existing ResampleContext on reinit
James Almer [Tue, 21 Mar 2017 15:03:44 +0000 (12:03 -0300)]
swresample/resample: free existing ResampleContext on reinit

Fixes memleak.

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2 years agoswresample/resample: move resample_free() higher in the file
James Almer [Tue, 21 Mar 2017 15:02:35 +0000 (12:02 -0300)]
swresample/resample: move resample_free() higher in the file

Also make it more readable while at it.

Signed-off-by: James Almer <jamrial@gmail.com>
2 years agoMerge commit 'b2939a75270bc7e971462648168aa3a2a48c1c8c'
Clément Bœsch [Tue, 21 Mar 2017 14:19:17 +0000 (15:19 +0100)]
Merge commit 'b2939a75270bc7e971462648168aa3a2a48c1c8c'

* commit 'b2939a75270bc7e971462648168aa3a2a48c1c8c':
  blockdsp: Change type of array stride parameters to ptrdiff_t

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '3281d823cdc7601c4900eb103958c05f59f65555'
Clément Bœsch [Tue, 21 Mar 2017 14:13:36 +0000 (15:13 +0100)]
Merge commit '3281d823cdc7601c4900eb103958c05f59f65555'

* commit '3281d823cdc7601c4900eb103958c05f59f65555':
  intrax8: Change type of array stride parameters to ptrdiff_t

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '92c5755a185086067fe49e7e64c23a8e7011be31'
Clément Bœsch [Tue, 21 Mar 2017 14:10:46 +0000 (15:10 +0100)]
Merge commit '92c5755a185086067fe49e7e64c23a8e7011be31'

* commit '92c5755a185086067fe49e7e64c23a8e7011be31':
  hpeldsp: arm: Update comments left behind in 25841dfe806a13de526ae09c11149ab1f83555a8

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '009adfd4fbdd78a890a4a65d6f141c467bb027fa'
Clément Bœsch [Tue, 21 Mar 2017 14:02:31 +0000 (15:02 +0100)]
Merge commit '009adfd4fbdd78a890a4a65d6f141c467bb027fa'

* commit '009adfd4fbdd78a890a4a65d6f141c467bb027fa':
  x86: fpel: Remove unnecessary sign extend

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '956a54129db522998a5abae869568dae2c9774cb'
Clément Bœsch [Tue, 21 Mar 2017 13:58:03 +0000 (14:58 +0100)]
Merge commit '956a54129db522998a5abae869568dae2c9774cb'

* commit '956a54129db522998a5abae869568dae2c9774cb':
  vaapi_h264: Set max_num_ref_frames to 1 when not using B frames
  vaapi_encode: Sync to input surface rather than output
  vaapi_encode: Check packed header capabilities
  vaapi_encode: Refactor initialisation

This merge is a noop, see:

ee1d04f970 vaapi_h264: Set max_num_ref_frames to 1 when not using B frames
94f446c628 vaapi_encode: Sync to input surface rather than output
478a4b7e6d vaapi_encode: Check packed header capabilities
c8241e730f vaapi_encode: Refactor initialisation

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '67d28f4a0fbb52d0734ca3682b85035e96d294fb'
Clément Bœsch [Tue, 21 Mar 2017 13:51:38 +0000 (14:51 +0100)]
Merge commit '67d28f4a0fbb52d0734ca3682b85035e96d294fb'

* commit '67d28f4a0fbb52d0734ca3682b85035e96d294fb':
  examples/output: switch to the new encoding API

This commit is a noop, our examples are different. Still, we need to
update them to the new API, so doc/libav-merge.txt is updated.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '7bf8db4db61eb09fac00eb665d8ec58de8817da6'
Clément Bœsch [Tue, 21 Mar 2017 13:44:44 +0000 (14:44 +0100)]
Merge commit '7bf8db4db61eb09fac00eb665d8ec58de8817da6'

* commit '7bf8db4db61eb09fac00eb665d8ec58de8817da6':
  tdsc: use the new decoding API

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'de2ae3c1fae5a2eb539b9abd7bc2a9ca8c286ff0'
Clément Bœsch [Tue, 21 Mar 2017 12:09:26 +0000 (13:09 +0100)]
Merge commit 'de2ae3c1fae5a2eb539b9abd7bc2a9ca8c286ff0'

* commit 'de2ae3c1fae5a2eb539b9abd7bc2a9ca8c286ff0':
  lavc: add clobber tests for the new encoding/decoding API

The merge only re-order what we already have.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agovf_drawtext: Fix memory leak
Kieran Kunhya [Mon, 20 Mar 2017 19:40:29 +0000 (19:40 +0000)]
vf_drawtext: Fix memory leak

2 years agoMerge commit '68811a41c70f019bde6df2a4f289674228c48958'
Clément Bœsch [Tue, 21 Mar 2017 12:01:46 +0000 (13:01 +0100)]
Merge commit '68811a41c70f019bde6df2a4f289674228c48958'

* commit '68811a41c70f019bde6df2a4f289674228c48958':
  mpegvideo_enc: use the new encoding API for b_strategy=2

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'f03f78bc1c99b1e29624418e2f7315b8a47981e9'
Clément Bœsch [Tue, 21 Mar 2017 11:57:02 +0000 (12:57 +0100)]
Merge commit 'f03f78bc1c99b1e29624418e2f7315b8a47981e9'

* commit 'f03f78bc1c99b1e29624418e2f7315b8a47981e9':
  mpegvideo_enc: handle encoding errors with b_strategy=2

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '6f733ecab6faff2a16534f2ce7d2ffd41c07846b'
Clément Bœsch [Tue, 21 Mar 2017 11:55:40 +0000 (12:55 +0100)]
Merge commit '6f733ecab6faff2a16534f2ce7d2ffd41c07846b'

* commit '6f733ecab6faff2a16534f2ce7d2ffd41c07846b':
  mpegvideo_enc: add const to the AVCodec instance

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '6c09af7e46a5a1ada67ffe832f7895cf2749130b'
Clément Bœsch [Tue, 21 Mar 2017 11:52:54 +0000 (12:52 +0100)]
Merge commit '6c09af7e46a5a1ada67ffe832f7895cf2749130b'

* commit '6c09af7e46a5a1ada67ffe832f7895cf2749130b':
  APIchanges: fix a typo in the version number

This commit is a noop (typo is not present in FFmpeg).

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '0e8d1fc1f013eb805a7b66656d9452bcbca36d22'
Clément Bœsch [Tue, 21 Mar 2017 11:50:30 +0000 (12:50 +0100)]
Merge commit '0e8d1fc1f013eb805a7b66656d9452bcbca36d22'

* commit '0e8d1fc1f013eb805a7b66656d9452bcbca36d22':
  lavu: Bump version for the 12bit Planar YUV support
  pixfmt: Add yuv444p12 pixel format
  pixfmt: Add yuv422p12 pixel format
  pixfmt: Add yuv420p12 pixel format

This merge is a noop, we already have all these pixel formats.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agolavc/hwaccel: fix header copyright
Clément Bœsch [Tue, 21 Mar 2017 11:34:50 +0000 (12:34 +0100)]
lavc/hwaccel: fix header copyright

It was done on a whim because of the FATE header check and was actually
meant to be removed before pushing.

Also, nobody in review spotted it.

Reviewed-by: wm4
2 years agoMerge commit '2b5b1e1e9b89063d352e2efed014f9d761b85032'
Clément Bœsch [Tue, 21 Mar 2017 11:19:25 +0000 (12:19 +0100)]
Merge commit '2b5b1e1e9b89063d352e2efed014f9d761b85032'

* commit '2b5b1e1e9b89063d352e2efed014f9d761b85032':
  swscale: Rename is9_OR_10 to match what it does

This commit is a noop. We use isNBPS() in these places instead since
d736b52a04. is9_15BPS() wouldn't be a good name in our codebase due to
supporting only up to 14 (see 2ea585b8e3).

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'e87a501e7d03ac68b58520108fe24ad9d0b36765'
Clément Bœsch [Tue, 21 Mar 2017 11:17:05 +0000 (12:17 +0100)]
Merge commit 'e87a501e7d03ac68b58520108fe24ad9d0b36765'

* commit 'e87a501e7d03ac68b58520108fe24ad9d0b36765':
  swscale: Update bitdepth range check

This commit is a noop.

Up to 14 bits is supported since fa36f33422. This commits pushes the
limit to 15 bits but we don't seem to have pixel formats that enters in
that category.

12:03 <ubitux> so what's your opinion? should we move to 15 even if unused currently to make it consistent with libav and the function names, or keep our 14 suggesting there might be an issue with 15?
12:05 <ubitux> (functions are called hScale8To15_c, hScale16To15_c, ff_hscale8to15, ...)
12:06 <michaelni> I prefer to keep 14 until theres a case that allows us to test this and i suspect it will not work with 15 at least not all the code

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoavcodec/fmvc: small refactoring in decode_type1()
Diego Biurrun [Tue, 21 Mar 2017 10:46:43 +0000 (11:46 +0100)]
avcodec/fmvc: small refactoring in decode_type1()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2 years agoMerge commit 'de8e096c7eda2bce76efd0a1c1c89d37348c2414'
Clément Bœsch [Tue, 21 Mar 2017 07:24:34 +0000 (08:24 +0100)]
Merge commit 'de8e096c7eda2bce76efd0a1c1c89d37348c2414'

* commit 'de8e096c7eda2bce76efd0a1c1c89d37348c2414':
  swscale: Consistently order input YUV pixel formats

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoffmpeg: Initialize two stack variables.
Carl Eugen Hoyos [Tue, 21 Mar 2017 07:03:49 +0000 (08:03 +0100)]
ffmpeg: Initialize two stack variables.

Avoids reading from uninitialized memory, regression since af1761f7

2 years agoavcodec: remove warning against using frame threading with hwaccels
wm4 [Sat, 18 Mar 2017 08:49:20 +0000 (09:49 +0100)]
avcodec: remove warning against using frame threading with hwaccels

libavcodec now automatically serializes decoding for hwaccels which
are not thread-safe. This means API users, which rely on the libavcodec
native software fallback mechanism, can now simply enable threading
without running into problems.

2 years agopthread_frame: remove some dead code
wm4 [Sat, 18 Mar 2017 08:36:20 +0000 (09:36 +0100)]
pthread_frame: remove some dead code

Whatever it was supposed to do.

2 years agopthread_frame: do not run hwaccel decoding asynchronously unless it's safe
Anton Khirnov [Thu, 24 Nov 2016 14:14:22 +0000 (15:14 +0100)]
pthread_frame: do not run hwaccel decoding asynchronously unless it's safe

Certain hardware decoding APIs are not guaranteed to be thread-safe, so
having the user access decoded hardware surfaces while the decoder is
running in another thread can cause failures (this is mainly known to
happen with DXVA2).

For such hwaccels, only allow the decoding thread to run while the user
is inside a lavc decode call (avcodec_send_packet/receive_frame).

Merges Libav commit d4a91e65.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
2 years agopthread_frame: ensure the threads don't run simultaneously with hwaccel
Anton Khirnov [Sat, 3 Dec 2016 14:21:40 +0000 (15:21 +0100)]
pthread_frame: ensure the threads don't run simultaneously with hwaccel

Merges Libav commit 8dfba25c.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
2 years agopthread_frame: use better memory orders for frame progress
Wan-Teh Chang [Fri, 9 Dec 2016 17:54:47 +0000 (09:54 -0800)]
pthread_frame: use better memory orders for frame progress

This improves commit 59c70227405c214b29971e6272f3a3ff6fcce3d0.

In ff_thread_report_progress(), the fast code path can load
progress[field] with the relaxed memory order, and the slow code path
can store progress[field] with the release memory order. These changes
are mainly intended to avoid confusion when one inspects the source code.
They are unlikely to have measurable performance improvement.

ff_thread_report_progress() and ff_thread_await_progress() form a pair.
ff_thread_await_progress() reads progress[field] with the acquire memory
order (in the fast code path). Therefore, one expects to see
ff_thread_report_progress() write progress[field] with the matching
release memory order.

In the fast code path in ff_thread_report_progress(), the atomic load of
progress[field] doesn't need the acquire memory order because the
calling thread is trying to make the data it just decoded visible to the
other threads, rather than trying to read the data decoded by other
threads.

In ff_thread_get_buffer(), initialize progress[0] and progress[1] using
atomic_init().

Signed-off-by: Wan-Teh Chang <wtc@google.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Merges Libav commit 343e2833.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
2 years agopthread_frame: Unreference hw_frames_ctx on per-thread codec contexts
Mark Thompson [Thu, 3 Nov 2016 00:13:35 +0000 (00:13 +0000)]
pthread_frame: Unreference hw_frames_ctx on per-thread codec contexts

When decoding with threads enabled, the get_format callback will be
called with one of the per-thread codec contexts rather than with the
outer context.  If a hwaccel is in use too, this will add a reference
to the hardware frames context on that codec context, which will then
propagate to all of the other per-thread contexts for decoding.  Once
the decoder finishes, however, the per-thread contexts are not freed
normally, so these references leak.

Merges Libav commit fd0fae60.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
2 years agopthread_frame: properly propagate the hw frame context across frame threads
Anton Khirnov [Mon, 7 Nov 2016 13:21:18 +0000 (14:21 +0100)]
pthread_frame: properly propagate the hw frame context across frame threads

Merges Libav commit 84f22568.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
2 years agopthread_frame: use atomics for frame progress
Anton Khirnov [Sun, 17 Jul 2016 22:04:16 +0000 (00:04 +0200)]
pthread_frame: use atomics for frame progress

Merges Libav commit 59c70227.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
2 years agopthread_frame: use atomics for PerThreadContext.state
Anton Khirnov [Sun, 17 Jul 2016 22:04:16 +0000 (00:04 +0200)]
pthread_frame: use atomics for PerThreadContext.state

Merges Libav commit 64a31b28.

Signed-off-by: wm4 <nfxjfg@googlemail.com>
2 years agoffmpeg: don't unnecessarily use a deprecated API function
wm4 [Thu, 16 Mar 2017 04:18:59 +0000 (05:18 +0100)]
ffmpeg: don't unnecessarily use a deprecated API function

Since we've disabled side data merging in ffmpeg.c, this really changes
nothing.

2 years agoavcodec, avformat: deprecate anything related to side data merging
wm4 [Thu, 16 Mar 2017 03:52:55 +0000 (04:52 +0100)]
avcodec, avformat: deprecate anything related to side data merging

This patch deprecates anything that has to do with merging/splitting
side data. Automatic side data merging (and splitting), as well as all
API symbols involved in it, are removed completely.

Two FF_API_ defines are dedicated to deprecating API symbols related to
this: FF_API_MERGE_SD_API removes av_packet_split/merge_side_data in
libavcodec, and FF_API_LAVF_KEEPSIDE_FLAG deprecates
AVFMT_FLAG_KEEP_SIDE_DATA in libavformat.

Since it was claimed that changing the default from merging side data to
not doing it is an ABI change, there are two additional FF_API_ defines,
which stop using the side data merging/splitting by default (and remove
any code in avformat/avcodec doing this): FF_API_MERGE_SD in libavcodec,
and FF_API_LAVF_MERGE_SD in libavformat.

It is very much intended that FF_API_MERGE_SD and FF_API_LAVF_MERGE_SD
are quickly defined to 0 in the next ABI bump, while the API symbols are
retained for a longer time for the sake of compatibility.
AVFMT_FLAG_KEEP_SIDE_DATA will (very much intentionally) do nothing for
most of the time it will still be defined. Keep in mind that no code
exists that actually tries to unset this flag for any reason, nor does
such code need to exist. Code setting this flag explicitly will work as
before. Thus it's ok for AVFMT_FLAG_KEEP_SIDE_DATA to do nothing once
side data merging has been removed from libavformat.

In order to avoid that anyone in the future does this incorrectly, here
is a small guide how to update the internal code on bumps:

- next ABI bump (probably soon):
  - define FF_API_LAVF_MERGE_SD to 0, and remove all code covered by it
  - define FF_API_MERGE_SD to 0, and remove all code covered by it
- next API bump (typically two years in the future or so):
  - define FF_API_LAVF_KEEPSIDE_FLAG to 0, and remove all code covered
    by it
  - define FF_API_MERGE_SD_API to 0, and remove all code covered by it

This forces anyone who actually wants packet side data to temporarily
use deprecated API to get it all. If you ask me, this is batshit fucked
up crazy, but it's how we roll. Making AVFMT_FLAG_KEEP_SIDE_DATA to be
set by default was rejected as an ABI change, so I'm going all the way
to get rid of this once and for all.

Reviewed-by: James Almer <jamrial@gmail.com>
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2 years agoadd signature filter for MPEG7 video signature
Gerion Entrup [Mon, 2 Jan 2017 01:08:57 +0000 (02:08 +0100)]
add signature filter for MPEG7 video signature

This filter does not implement all features of MPEG7. Missing features:
- compression of signature files
- work only on (cropped) parts of the video

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2 years agolavc/nvenc: misc cosmetics to reduce diff with Libav
Clément Bœsch [Mon, 20 Mar 2017 22:04:28 +0000 (23:04 +0100)]
lavc/nvenc: misc cosmetics to reduce diff with Libav

2 years agoMerge commit '70de2ea4261f860457a04e3d0c58c5543f403325'
Clément Bœsch [Mon, 20 Mar 2017 21:57:28 +0000 (22:57 +0100)]
Merge commit '70de2ea4261f860457a04e3d0c58c5543f403325'

* commit '70de2ea4261f860457a04e3d0c58c5543f403325':
  nvenc: Extended rate-control support as provided by SDK 7

This commit is a noop, see facc19ef06a753515a3fa604269dd1aa412dc08f

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '358c887a9fa0fb2e7ce089eaea71ab924a3e47a7'
Clément Bœsch [Mon, 20 Mar 2017 21:56:01 +0000 (22:56 +0100)]
Merge commit '358c887a9fa0fb2e7ce089eaea71ab924a3e47a7'

* commit '358c887a9fa0fb2e7ce089eaea71ab924a3e47a7':
  nvenc: Add support for high bitdepth

This commit is a noop, see d1bf8a3aa878003f5019bb97c3228f8027e5d116

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'e02e2515b24bfc37ede6ca1744696230be55e50b'
Clément Bœsch [Mon, 20 Mar 2017 21:42:25 +0000 (22:42 +0100)]
Merge commit 'e02e2515b24bfc37ede6ca1744696230be55e50b'

* commit 'e02e2515b24bfc37ede6ca1744696230be55e50b':
  nvenc: Add some easier to understand presets that match x264 terminology

This commit is a noop, see a81b000a392e5c7119d2eddb3f4c90ab9f1e0554 and
faffff88c21c24765e5a3c87ffc657b191c4efc0.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '352741b5ead1543d775ccf6040f33023e4491186'
Clément Bœsch [Mon, 20 Mar 2017 21:38:14 +0000 (22:38 +0100)]
Merge commit '352741b5ead1543d775ccf6040f33023e4491186'

* commit '352741b5ead1543d775ccf6040f33023e4491186':
  nvenc: Make sure that enum and array index match

This commit is a noop, see a81b000a392e5c7119d2eddb3f4c90ab9f1e0554

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5'
Clément Bœsch [Mon, 20 Mar 2017 21:28:38 +0000 (22:28 +0100)]
Merge commit '12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5'

* commit '12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5':
  audiodsp/x86: yasmify vector_clipf_sse
  audiodsp: reorder arguments for vector_clipf

Merged the version from Libav after a discussion with James Almer on
IRC:

19:22 <ubitux> jamrial: opinion on 12004a9a7f20e44f4da2ee6c372d5e1794c8d6c5?
19:23 <ubitux> it was apparently yasmified differently
19:23 <ubitux> (it depends on the previous commit arg shuffle)
19:24 <ubitux> i don't see the magic movsxdifnidn in your port btw
19:24 <ubitux> it's a port from 1d36defe94c7d7ebf995d4dbb4f878d06272f9c6
19:25 <jamrial> seems better thanks to said arg shuffle
19:25 <jamrial> the loop is the same, but init is simpler
19:25 <jamrial> probably worth merging
19:25 <ubitux> OK
19:25 <ubitux> thanks
19:26 <jamrial> curious they didn't make len ptrdiff_t after the previous bunch of commits, heh
19:26 <ubitux> yeah indeed

Both commits are merged at the same time to prevent a conflict with our
existing yasmified ff_vector_clipf_sse.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoconfigure: fix crystalhd detection
Clément Bœsch [Mon, 20 Mar 2017 18:45:48 +0000 (19:45 +0100)]
configure: fix crystalhd detection

Regression since 4563a86f011b54977b390c72ec3901cace35f8da.

See 20c4fb2e010fff7e3f8acd36ad132c0140fec5fb for more information.

Tested-by: Michael Niedermayer <michael@niedermayer.cc>
2 years agoMerge commit 'bf58545aace7d14522ce4fa680c7b3ff62109a3a'
Clément Bœsch [Mon, 20 Mar 2017 18:11:44 +0000 (19:11 +0100)]
Merge commit 'bf58545aace7d14522ce4fa680c7b3ff62109a3a'

* commit 'bf58545aace7d14522ce4fa680c7b3ff62109a3a':
  audiodsp: fix vector_clipf documentation

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017'
Clément Bœsch [Mon, 20 Mar 2017 18:10:56 +0000 (19:10 +0100)]
Merge commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017'

* commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017':
  checkasm: add tests for audiodsp

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '2eb97af66af90ca3978229da151f0b8b3a5d9370'
Clément Bœsch [Mon, 20 Mar 2017 18:04:12 +0000 (19:04 +0100)]
Merge commit '2eb97af66af90ca3978229da151f0b8b3a5d9370'

* commit '2eb97af66af90ca3978229da151f0b8b3a5d9370':
  checkasm: add a test for blockdsp

Merged-by: Clément Bœsch <u@pkh.me>
2 years agolavc/arm: fix indent in blockdsp_init_neon
Clément Bœsch [Mon, 20 Mar 2017 18:01:25 +0000 (19:01 +0100)]
lavc/arm: fix indent in blockdsp_init_neon

2 years agoMerge commit 'eea9857bfd6925d0c34382c00b971ee6df12ad44'
Clément Bœsch [Mon, 20 Mar 2017 17:59:40 +0000 (18:59 +0100)]
Merge commit 'eea9857bfd6925d0c34382c00b971ee6df12ad44'

* commit 'eea9857bfd6925d0c34382c00b971ee6df12ad44':
  blockdsp: drop the high_bit_depth parameter

This commit is a noop, see 562ba4a827ceb9ed5b7d056484a9c2312a5458c5

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '340f12f71207513672b5165d810cb6c8622c6b21'
Clément Bœsch [Mon, 20 Mar 2017 17:54:33 +0000 (18:54 +0100)]
Merge commit '340f12f71207513672b5165d810cb6c8622c6b21'

* commit '340f12f71207513672b5165d810cb6c8622c6b21':
  hwcontext_cuda: Add P010 and YUV444P16 pixel format

This commit is a noop, we already have P010 and P016.

18:52 <@BtbN> Adding AV_PIX_FMT_YUV444P16 won't hurt, but doesn't gain anything.
18:53 <@BtbN> I'd say just noop it. If we'll ever need it, it will be added in turn.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '75d98e30afab61542faab3c0f11880834653bd6b'
Clément Bœsch [Mon, 20 Mar 2017 17:44:00 +0000 (18:44 +0100)]
Merge commit '75d98e30afab61542faab3c0f11880834653bd6b'

* commit '75d98e30afab61542faab3c0f11880834653bd6b':
  audiodsp/x86: clear the high bits of the order parameter on 64bit

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '1d6c76e11febb58738c9647c47079d02b5e10094'
Clément Bœsch [Mon, 20 Mar 2017 17:41:49 +0000 (18:41 +0100)]
Merge commit '1d6c76e11febb58738c9647c47079d02b5e10094'

* commit '1d6c76e11febb58738c9647c47079d02b5e10094':
  audiodsp/x86: fix ff_vector_clip_int32_sse2

No functionnal changes, only cosmetics. This issue was fixed in
9a9e2f1c8aa4539a261625145e5c1f46a8106ac2.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '07e1f99a1bb41d1a615676140eefc85cf69fa793'
Clément Bœsch [Mon, 20 Mar 2017 17:38:07 +0000 (18:38 +0100)]
Merge commit '07e1f99a1bb41d1a615676140eefc85cf69fa793'

* commit '07e1f99a1bb41d1a615676140eefc85cf69fa793':
  x86util: Document SBUTTERFLY macro

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'de64dd13cbd47fd54334b6aa2a2cd3c7c36daae2'
Clément Bœsch [Mon, 20 Mar 2017 17:37:00 +0000 (18:37 +0100)]
Merge commit 'de64dd13cbd47fd54334b6aa2a2cd3c7c36daae2'

* commit 'de64dd13cbd47fd54334b6aa2a2cd3c7c36daae2':
  avcodec: Add the extended pixel format profile for HEVC

This commit is a noop, see 5a41999d81459297183c4e27618e38f8ba719853

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '136f55207521f0b03194ef5b55ba70f1635d6aee'
Clément Bœsch [Mon, 20 Mar 2017 17:34:06 +0000 (18:34 +0100)]
Merge commit '136f55207521f0b03194ef5b55ba70f1635d6aee'

* commit '136f55207521f0b03194ef5b55ba70f1635d6aee':
  mpegvideo_motion: Handle edge emulation even without unrestricted_mv

This commit is a noop, see 7b1e0beb2da31a0a8847bc9c68a87a120b71fa8a

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '15fcf6292ed79be274c824fedb099c2665f4cc15'
Clément Bœsch [Mon, 20 Mar 2017 17:30:03 +0000 (18:30 +0100)]
Merge commit '15fcf6292ed79be274c824fedb099c2665f4cc15'

* commit '15fcf6292ed79be274c824fedb099c2665f4cc15':
  build: remove hardcoded name of version header

This commit is noop, our version.sh is completely different.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '8c201dde0ab62e5cd581d958e78d7609e0ba710d'
Clément Bœsch [Mon, 20 Mar 2017 17:29:06 +0000 (18:29 +0100)]
Merge commit '8c201dde0ab62e5cd581d958e78d7609e0ba710d'

* commit '8c201dde0ab62e5cd581d958e78d7609e0ba710d':
  build: doc: more fine-grained dependencies for generated texi files

This commit is a noop, we have a different system for handling the
documentation.

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoconfigure: error out if jni is enabled and cannot be found
Matthieu Bouron [Wed, 15 Mar 2017 14:23:34 +0000 (15:23 +0100)]
configure: error out if jni is enabled and cannot be found

2 years agoMerge commit 'bc7399934def210c2a84ea51375d50f79c676c96'
Clément Bœsch [Mon, 20 Mar 2017 15:53:56 +0000 (16:53 +0100)]
Merge commit 'bc7399934def210c2a84ea51375d50f79c676c96'

* commit 'bc7399934def210c2a84ea51375d50f79c676c96':
  libdc1394: Distinguish between enumeration errors and no cameras found

This commit is a noop, see 384251daffb98d88b0fe897b341bb68445f885de

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'df3795025337479a639cb3cd26c93a4e82ccd4db'
Clément Bœsch [Mon, 20 Mar 2017 15:47:41 +0000 (16:47 +0100)]
Merge commit 'df3795025337479a639cb3cd26c93a4e82ccd4db'

* commit 'df3795025337479a639cb3cd26c93a4e82ccd4db':
  rtsp: Fix a crash with the RTSP muxer

This commit is a noop, see f8a13c72132a65e34e05b878dc780ad330dd7371

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit 'bdf7610eb266fd3de650040c97328791868abd82'
Clément Bœsch [Mon, 20 Mar 2017 15:44:53 +0000 (16:44 +0100)]
Merge commit 'bdf7610eb266fd3de650040c97328791868abd82'

* commit 'bdf7610eb266fd3de650040c97328791868abd82':
  vf_scale_vaapi: Crop input surface to active region

Merged-by: Clément Bœsch <u@pkh.me>
2 years agoMerge commit '3a9662af6c741f8354b1ca97642f78f5c02e2e8f'
Clément Bœsch [Mon, 20 Mar 2017 15:42:50 +0000 (16:42 +0100)]
Merge commit '3a9662af6c741f8354b1ca97642f78f5c02e2e8f'

* commit '3a9662af6c741f8354b1ca97642f78f5c02e2e8f':
  vaapi_h264: Fix HRD bit_rate/cpb_size scaling

This commit is a noop, see 06d73d002e7f911f26ae1548b46e442a6ece9a4a

Merged-by: Clément Bœsch <u@pkh.me>