]>
git.sesse.net Git - ffmpeg/log
James Almer [Sat, 11 Nov 2017 18:23:49 +0000 (15:23 -0300)]
Merge commit '
ccbb31c14b766ef666ef2daa8c467e478183a957 '
* commit '
ccbb31c14b766ef666ef2daa8c467e478183a957 ':
qsv: Make sure the session is set with the latest version
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 18:21:22 +0000 (15:21 -0300)]
James Almer [Sat, 11 Nov 2017 18:17:42 +0000 (15:17 -0300)]
Merge commit '
3cae7f8b9baaf43789490b676d8f5825f2e1bc2c '
* commit '
3cae7f8b9baaf43789490b676d8f5825f2e1bc2c ':
cbs: Add some read/write tests
http: Reset compressed header flag when starting to read a request
cbs_h264: Fix writing streams with auxiliary pictures
smacker: fix integer overflow with pts_inc
smacker: return meaningful error codes on failure
pixdesc: Add API to map color property names to enum values
This commit is a noop, see
6f15f1cdc85350b7adcfb7c50eedb5ecde6a384a
547b8aeed442dbb3b2cf4a2c507c63e869795cfd
7ed47e97297fd5ef473d0cc93f0455adbadaac83
624d4739dbfc950ee756e83ae187f97dc82d10c9
6743351558001764d662bb52b9a3e0bbb63366d6
809b0402dc916b876dfdd6bb9c88f171cf3e77c0
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 17:46:24 +0000 (14:46 -0300)]
Merge commit '
a5a6ac1a123a927e5bed984ed757a29b7ff87dab '
* commit '
a5a6ac1a123a927e5bed984ed757a29b7ff87dab ':
libavfilter/overlay_qsv: Add QSV overlay vpp filter
libavfilter/vf_vpp: Add common filters of the qsv vpp
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 17:15:45 +0000 (14:15 -0300)]
Merge commit '
ac6691ab9938107d818cd8066ce3ea329ad14d8d '
* commit '
ac6691ab9938107d818cd8066ce3ea329ad14d8d ':
avio: update avio_alloc_context() doxy
This commit is a noop, see
877076ffa17bcf56badedc036cdc1adcd9f38b24
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 17:08:24 +0000 (14:08 -0300)]
Merge commit '
10eb496d9ae94df6f792b0e1d8750738eb3a0952 '
* commit '
10eb496d9ae94df6f792b0e1d8750738eb3a0952 ':
vaapi_mpeg2: Convert to use coded bitstream infrastructure
mpeg12: Move finding the best frame rate to common code
cbs_mpeg2: Add support for picture display extension
cbs_h265: Fix ranges of prediction weight offsets
cbs_h265: Fix reading of unknown parameter set extension data
vaapi_h264: Fix CPB/DPB delays
This commit is a noop, see
94a4048619665e99a19d9e2961254dc9b5c736a7
9b0c7aa0e446eceec96ba8f4009e004fad29fba3
686e388bbb6aeef077095a83f84b53d143d44d63
278c308ceae6b8d7bac1dfc24518821aae603988
d8928ad6b6e899c409129c8e16b225c09a8a5abb
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 17:07:09 +0000 (14:07 -0300)]
Merge commit '
f940c859c23ae201b0170cf541ea8f6b7a52dd49 '
* commit '
f940c859c23ae201b0170cf541ea8f6b7a52dd49 ':
Revert "vaapi_h265: Reduce the amount of padding in the stream"
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 17:05:59 +0000 (14:05 -0300)]
Merge commit '
c42b62d1f9641f10ffc23cad9abbe47d8a4a165b '
* commit '
c42b62d1f9641f10ffc23cad9abbe47d8a4a165b ':
h264_metadata: Fix double-free
cbs: Add buffer padding when splitting fragments
cbs: Always check for bitstream end before reading
This commit is a noop, see
6734eef6b8b464139fdc140ec9bc9e8d74173869
b4c915f4b3e15c3e787e319b961e4389762f6309
a308872b049e33f69f4b629a06f47e3681906b93
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 16:58:32 +0000 (13:58 -0300)]
Merge commit '
b05128f3c953bd66483e697d60a2e7e45ee9cfa0 '
* commit '
b05128f3c953bd66483e697d60a2e7e45ee9cfa0 ':
qsv: Load the hw hevc plugin by default on Linux
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 16:55:35 +0000 (13:55 -0300)]
Merge commit '
f19fbfbdc637e08ad5c980807ede2d023f20c049 '
* commit '
f19fbfbdc637e08ad5c980807ede2d023f20c049 ':
aviocat: Check for output write errors
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 16:48:48 +0000 (13:48 -0300)]
Merge commit '
585dc1aecef0371ad6f16cb3750ae2a6da9cf00a '
* commit '
585dc1aecef0371ad6f16cb3750ae2a6da9cf00a ':
flvdec: Check the avio_seek return value after reading a metadata packet
This commit is a noop, see
15537c904ec96e4d2e9435100d403283a5fed029
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 16:46:06 +0000 (13:46 -0300)]
Merge commit '
e12f1cd616573795681ce939113ac6cdad4c1f2b '
* commit '
e12f1cd616573795681ce939113ac6cdad4c1f2b ':
Revert "checkasm: Test more h264 idct variants"
This commit is a noop. The code is readded with minimal cosmetic
changes in a latter commit, so don't even bother removing it here.
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 16:44:07 +0000 (13:44 -0300)]
Merge commit '
9dde6ab06c48f9447cd16f39bee33569cddb7be4 '
* commit '
9dde6ab06c48f9447cd16f39bee33569cddb7be4 ':
arm: Fix SIGBUS on ARM when compiled with binutils 2.29
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 16:18:55 +0000 (13:18 -0300)]
Merge commit '
547db1eaecd597031165a2bf637acaaacde52788 '
* commit '
547db1eaecd597031165a2bf637acaaacde52788 ':
checkasm: Test more h264 idct variants
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 16:16:24 +0000 (13:16 -0300)]
Merge commit '
39e16ee2289e4240a82597b97db5541bbbd2b996 '
* commit '
39e16ee2289e4240a82597b97db5541bbbd2b996 ':
Revert "fate: Skip the checkasm test if CONFIG_STATIC is disabled"
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 14:40:06 +0000 (11:40 -0300)]
Merge commit '
accb06120c13a4ead442464d96f2fa318fa07a4e '
* commit '
accb06120c13a4ead442464d96f2fa318fa07a4e ':
configure: Use dllexport/dllimport for data symbols across DLLs with mingw
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 14:31:22 +0000 (11:31 -0300)]
Merge commit '
1a7bf48eed806beea7e835b31b06aa6bc94da5da '
* commit '
1a7bf48eed806beea7e835b31b06aa6bc94da5da ':
makedef: Extend the script for use with mingw tools as well
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 14:30:32 +0000 (11:30 -0300)]
Merge commit '
44aa9105c535471ca9e23796d7ca29b341f47636 '
* commit '
44aa9105c535471ca9e23796d7ca29b341f47636 ':
makedef: Fold as much text transformations as possible into the initial dump
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 13:32:09 +0000 (10:32 -0300)]
Merge commit '
abf1c058d1bd0ed1b820ea5e501a4484756f00b0 '
* commit '
abf1c058d1bd0ed1b820ea5e501a4484756f00b0 ':
msvc: Properly specify dllexport for data symbols shared across dll boundaries
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 13:22:11 +0000 (10:22 -0300)]
Merge commit '
e41daa62465036ad36ad0bd14e4936e848d7f07e '
* commit '
e41daa62465036ad36ad0bd14e4936e848d7f07e ':
Remove support for building for mingw32ce (Windows CE)
Merged-by: James Almer <jamrial@gmail.com>
Timo Rothenpieler [Sat, 11 Nov 2017 12:12:06 +0000 (13:12 +0100)]
wmavoice: free frame before ff_get_buffer
synth_superframe can be called twice per call to decode_packet.
It is not fully clear if calling ff_get_buffer on the same frame twice
is supported, so unref the frame first to be save.
Timo Rothenpieler [Sat, 11 Nov 2017 11:59:44 +0000 (12:59 +0100)]
avcodec/decode: always free private_ref
There is no reason to keep this intact when decoding failed, specially
as private_ref is supposed to always be NULL when a frame is returned to
the user.
Timo Rothenpieler [Fri, 10 Nov 2017 21:06:22 +0000 (22:06 +0100)]
ffmpeg: use explicitly requested hwaccel only
With there being two hwaccels that use the CUDA pix_fmt now, just
relying on the pix_fmt to identify the selected hwaccel is not enough
anymore.
So this checks if the user explicitly selected a hwaccel, and only
accepts that one.
Sasi Inguva [Fri, 10 Nov 2017 00:11:22 +0000 (16:11 -0800)]
lavf/mov.c: Parse upto 2 keyframes after the edit list end in mov_fix_index.
Partially fixes t/6699.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Aleksandr Slobodeniuk [Fri, 10 Nov 2017 10:51:07 +0000 (13:51 +0300)]
avcodec: fix wrong duration of packets (dvd, bluray)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Tue, 31 Oct 2017 19:44:21 +0000 (20:44 +0100)]
avformat/utils: Look at the first 3 frames if timestamps indicate frame reorder but decoder delay does not
Fixes: Ticket6487
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
John Stebbins [Sat, 11 Nov 2017 00:07:28 +0000 (16:07 -0800)]
avformat/utils: preserve AV_PKT_FLAG_DISCARD in parse_packet
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Sat, 11 Nov 2017 13:14:11 +0000 (10:14 -0300)]
Merge commit '
173b56218f39c6463be0e182259e2deead106936 '
* commit '
173b56218f39c6463be0e182259e2deead106936 ':
lavf: make avio_read_partial() public
swscale: Do not expand a macro with 'defined' in it
configure: Include d3d11va_extralibs in libavutil
This commit is a noop, see
69218b41980883a7e75656f3058171939f5729ef
add7b3bc3fb7685cd0a3ccffd2b09cc0e32c39ec
5d76674756806e3b458e484788775fcee34aac2a
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 13:09:41 +0000 (10:09 -0300)]
Merge commit '
feed239021bad89743d5e7989b426ae594322eb7 '
* commit '
feed239021bad89743d5e7989b426ae594322eb7 ':
yadif: Account for the buffer alignment while processing the frame edges
See
221f902f1dc167bdc0bfdff6b6af3214ae3cc1f4
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 13:02:43 +0000 (10:02 -0300)]
Merge commit '
7b7760ad6efb7b96122aa7133ad21e22653ae222 '
* commit '
7b7760ad6efb7b96122aa7133ad21e22653ae222 ':
aarch64: Fix negative movrel offsets for windows
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 13:01:43 +0000 (10:01 -0300)]
Merge commit '
0c99b900d874b60ce89b94742b2215f163c87a2b '
* commit '
0c99b900d874b60ce89b94742b2215f163c87a2b ':
png: Support RGBA64 pixel format
This commit is a noop, see
97da38c99bf5ad619ea15f2f1b4c050f0f44d11f
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 12:58:01 +0000 (09:58 -0300)]
Merge commit '
9f5b77c16f4da6248b57f0601364d9c762c620c2 '
* commit '
9f5b77c16f4da6248b57f0601364d9c762c620c2 ':
png: Report more details regarding unsupported pixel formats
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 04:41:16 +0000 (01:41 -0300)]
avcodec/dnxhddata: remove dead code
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 04:39:47 +0000 (01:39 -0300)]
avcodec/mpegaudiodecheader: remove dead code
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 04:24:55 +0000 (01:24 -0300)]
Merge commit '
4c0588b4562abad5540f6a5435c62828de9e4fdf '
* commit '
4c0588b4562abad5540f6a5435c62828de9e4fdf ':
mpeg2enc: Don't mark all streams as component video
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 04:05:13 +0000 (01:05 -0300)]
Merge commit '
b78c30d7ec26af67c00ce2002709a189f6a87a7e '
* commit '
b78c30d7ec26af67c00ce2002709a189f6a87a7e ':
lavc: Add mpeg2_metadata bitstream filter
lavc: Add coded bitstream read/write support for MPEG-2
cbs_h2645: Return error if writing fails
h264dec: use a large enough field for reference list modification values
xwddec: support 8bpp grayscale
This commit is a noop, see
b9c94e826e7551027754ecfa60e3e487e0c28fcb
2aff557c6acbce2b2b604c6c620c66c892260062
b4c915f4b3e15c3e787e319b961e4389762f6309
686e388bbb6aeef077095a83f84b53d143d44d63
569721ac8dee6b73cd68ea858f59c7d800a1686d
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 03:54:19 +0000 (00:54 -0300)]
Merge commit '
d34a133b78afe2793cd8537f3c7f42437f441e94 '
* commit '
d34a133b78afe2793cd8537f3c7f42437f441e94 ':
dfa: Disallow odd width/height and add proper bounds check for DDS1 chunks
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 03:49:43 +0000 (00:49 -0300)]
Merge commit '
a14a12ca137bf1526452b97bedfc9f7b301d4e04 '
* commit '
a14a12ca137bf1526452b97bedfc9f7b301d4e04 ':
vaapi_h265: Reduce the amount of padding in the stream
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 03:47:22 +0000 (00:47 -0300)]
Merge commit '
e3e8eab359238486dc233f7aa89b7bb3cb19ec38 '
* commit '
e3e8eab359238486dc233f7aa89b7bb3cb19ec38 ':
vaapi_h265: Add support for AUD NAL units
vaapi_h265: Convert to use coded bitstream infrastructure
vaapi_h264: Add support for SEI recovery points
vaapi_h264: Add support for AUD NAL units
vaapi_h264: Convert to use coded bitstream infrastructure
lavc: Add hevc_metadata bitstream filter
lavc: Add h264_redundant_pps bitstream filter
lavc: Add h264_metadata bitstream filter
lavc: Add trace_headers bitstream filter
lavc: Add coded bitstream read/write support for H.265
lavc: Add coded bitstream read/write support for H.264
lavc: Add coded bitstream read/write API
pixfmt: Support chroma-derived and ictcp color matrices
h264: Add support for alternative transfer characterics SEI
vaapi_encode: Move quality option to common code
This commit is a noop, see
9c878651dbc8c795894740af74670b591551f619
8c34a2024da77b50470e62789e4859b45959932e
f3571048669bf876681499f49e9df492f05f73c6
6734eef6b8b464139fdc140ec9bc9e8d74173869
b4c915f4b3e15c3e787e319b961e4389762f6309
9b0c7aa0e446eceec96ba8f4009e004fad29fba3
9c7d70b49b64aa5571772a7cdb9bc426174261e0
a308872b049e33f69f4b629a06f47e3681906b93
8b26306294ffe78cc73357e2ddd56dd463db50ab
03f982bbca4211108477e772db9a339517ecde37
2e29ca2a9f19ba9a5b189f322f38497d2e2e3db0
281b68b0265953ab2623a39484d927a0e921c405
0bc7575ced65bf4aa4678ac12d550aaf87890d0e
00179664bccd1dd6fa0d1c40db453528757bf6f7
038a51258c4c5d8b77f4f9efcce6f397e5755c24
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 03:36:22 +0000 (00:36 -0300)]
Merge commit '
1329c08ad6d2ddb304858f2972c67b508e8b0f0e '
* commit '
1329c08ad6d2ddb304858f2972c67b508e8b0f0e ':
hevc: Validate the number of long term reference pictures
See
ea38e5a6b75706477898eb1e6582d667dbb9946c
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 03:34:18 +0000 (00:34 -0300)]
Merge commit '
b88da98b34809dedf8882d43ed543632ed233538 '
* commit '
b88da98b34809dedf8882d43ed543632ed233538 ':
hevc: Improve stream constraint values in common header
h264: Add stream constraint values to the common header
This commit is a noop, see
d05444d2c6d99767547b1f0761e8459fb07b305d
b1374e925c1cf3af5c8482119f3f2630d66213de
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 03:28:53 +0000 (00:28 -0300)]
Merge commit '
defe307fb22beca60a632e976ab97e5edd4aee25 '
* commit '
defe307fb22beca60a632e976ab97e5edd4aee25 ':
mov: move stsd finalization to an appropriate place
mov: Do not set stsd_count if mov_read_stsd() fails
mov: log and return early on non-positive stsd entry counts
See
8b43ee4054af799e388d380b379a13a60849c1b5
656feb641de3cd5b9cb4e33ffd3f0ad4664c36d2
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Sat, 11 Nov 2017 00:06:58 +0000 (21:06 -0300)]
avcodec/nvdec: fix copyright headers
Fixes fate-source.
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 10 Nov 2017 23:38:36 +0000 (20:38 -0300)]
Merge commit '
b90fdb2c7199cc8b0e8d994fafba1fb4dc181d88 '
* commit '
b90fdb2c7199cc8b0e8d994fafba1fb4dc181d88 ':
hevcdec: add a CUVID hwaccel
Adapted for ffmpeg by Timo Rothenpieler.
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 10 Nov 2017 23:36:39 +0000 (20:36 -0300)]
Merge commit '
770cf1dbc2c8fe9b84300439ad0cd85036480388 '
* commit '
770cf1dbc2c8fe9b84300439ad0cd85036480388 ':
fate/hevc: specify output pixel format explicitly
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 10 Nov 2017 23:31:55 +0000 (20:31 -0300)]
Merge commit '
00fd914d4912322212e924c15f325cebf2fde8d3 '
* commit '
00fd914d4912322212e924c15f325cebf2fde8d3 ':
hevcdec: set the active SPS before calling get_format()
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 10 Nov 2017 23:23:43 +0000 (20:23 -0300)]
Merge commit '
a58873b11198d04670b7f98f5a8a749d742db7c5 '
* commit '
a58873b11198d04670b7f98f5a8a749d742db7c5 ':
avconv: when using -loop option bail out if seek to start fails
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 10 Nov 2017 23:16:15 +0000 (20:16 -0300)]
Merge commit '
004ea63714e31ed43326ad00d7420d104f0dab38 '
* commit '
004ea63714e31ed43326ad00d7420d104f0dab38 ':
cuvid: add cuvid.h to SKIPHEADERS
This commit is a noop, nvdec.h compiles just fine since it doesn't
depend on external headers.
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 10 Nov 2017 22:43:46 +0000 (19:43 -0300)]
Merge commit '
b9129ec4668c511e0a79e25c6f25d748cee172c9 '
* commit '
b9129ec4668c511e0a79e25c6f25d748cee172c9 ':
h264dec: add a CUVID hwaccel
decode: add a per-frame private data for hwaccel use
decode: add a mechanism for performing delayed processing on the decoded frames
decode: add a method for attaching lavc-internal data to frames
decode: avoid leaks on failure in ff_get_buffer()
This commit is a noop, see
4776c61424fa32394e251e9769e1ad2c2fa55598
9f1cfd88af88a7d7d5c56a368a46639dfdfdef75
7fa64514c8d2ec4d3dcb5f194511609ddcc288e6
81c021c6a2d7848c31984d65f225ba54bdd6f560
0e00624389955bc559d75855d5c4876266d9575f
Merged-by: James Almer <jamrial@gmail.com>
Anton Khirnov [Sat, 11 Feb 2017 15:49:34 +0000 (16:49 +0100)]
h264dec: add a NVDEC hwaccel
Some parts of the code are based on a patch by
Timo Rothenpieler <timo@rothenpieler.org>
Merges Libav commit
b9129ec4668c511e0a79e25c6f25d748cee172c9 .
Due to the name clash with our cuvid decoder, rename it to nvdec.
This commit also changes the Libav code to dynamic loading of the
cuda/cuvid libraries.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
wm4 [Tue, 3 Oct 2017 15:43:13 +0000 (17:43 +0200)]
avcodec/decode: add missing \n to log message
wm4 [Tue, 3 Oct 2017 13:04:45 +0000 (15:04 +0200)]
avcodec: allow multiple hwaccels for the same codec/pixfmt
Currently, AVHWAccels are looked up using a (codec_id, pixfmt) tuple.
This means it's impossible to have 2 decoders for the same codec and
using the same opaque hardware pixel format.
This breaks merging Libav's CUVID hwaccel. FFmpeg has its own CUVID
support, but it's a full stream decoder, using NVIDIA's codec parser.
The Libav one is a true hwaccel, which is based on the builtin software
decoders.
Fix this by introducing another field to disambiguate AVHWAccels, and
use it for our CUVID decoders. FF_CODEC_CAP_HWACCEL_REQUIRE_CLASS makes
this mechanism backwards compatible and optional.
wm4 [Tue, 3 Oct 2017 13:15:16 +0000 (15:15 +0200)]
avcodec/cuvid: rename cuvid.c to cuviddec.c
cuvid.c is used by Libav's CUVID hwaccel. Resolve the conflict and
avoid future merge problems by renaming our decoder.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Rostislav Pehlivanov [Fri, 10 Nov 2017 21:31:07 +0000 (21:31 +0000)]
Changelog: list the new aptX features
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Aurelien Jacobs [Fri, 10 Nov 2017 21:09:24 +0000 (22:09 +0100)]
aptx: add raw muxer and demuxer for aptX
Aurelien Jacobs [Fri, 10 Nov 2017 21:09:23 +0000 (22:09 +0100)]
aptx: implement the aptX bluetooth codec
The encoder was reverse engineered from binary library and from
EP0398973B1 patent (long expired).
The decoder was simply deduced from the encoder.
Anton Khirnov [Fri, 13 Oct 2017 16:59:19 +0000 (18:59 +0200)]
decode: add a per-frame private data for hwaccel use
This will be useful in the CUVID hwaccel. It should also eventually
replace current decoder-specific mechanisms used by various other
hwaccels.
Merges Libav commit
704311b2946d74a80f65906961cd9baaa18683a3 .
Anton Khirnov [Fri, 10 Nov 2017 15:07:44 +0000 (16:07 +0100)]
decode: add a mechanism for performing delayed processing on the decoded frames
This will be useful in the CUVID hwaccel.
Merges Libav commit
badf0951f54c1332e77455dc40398f3512540c1b .
Anton Khirnov [Fri, 13 Oct 2017 16:59:17 +0000 (18:59 +0200)]
decode: add a method for attaching lavc-internal data to frames
Use the AVFrame.private_ref field.
This new struct will be useful in the following commits.
Merges Libav commit
359a8a3e2d1194b52b6c386f94fd0929567dfb67 .
Michael Niedermayer [Wed, 8 Nov 2017 22:55:00 +0000 (23:55 +0100)]
avutil/frame: Add private_ref to AVFrame
This gives FFmpeg libs a field that they can freely and safely use.
Avoiding the need of wrapping of a users opaque_ref field and its issues.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Jun Zhao [Wed, 8 Nov 2017 13:04:51 +0000 (21:04 +0800)]
lavc/libx265: switch to ff_alloc_packet2
ff_alloc_packet have been deprecated, switch to use
ff_alloc_packet2.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Jun Zhao [Wed, 8 Nov 2017 13:02:23 +0000 (21:02 +0800)]
lavc/libkvazaar: switch to ff_alloc_packet2.
ff_alloc_packet have been deprecated, switch to use the
ff_alloc_packet2.
Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Reviewed-by: Arttu Ylä-Outinen <arttu.yla-outinen@tut.fi>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Gyan Doshi [Sun, 5 Nov 2017 15:59:22 +0000 (21:29 +0530)]
lavu/timecode: clarify error msg for timecode_rate
The user-supplied value for timecode_rate in drawtext is rounded
to nearest integer. So, a supplied value of 0.49 or lower is rounded to 0.
This throws a misleading error message which says "Timecode frame rate must be
specified". Changed message to account for values under one.
Also noted supported framerates for drop TC.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Steven Liu [Thu, 9 Nov 2017 23:01:45 +0000 (07:01 +0800)]
avformat/dashdec: use the current DASHContext for the rep_dest
fix ticket id: #6820
Signed-off-by: Steven Liu <lq@onvideo.cn>
Tested-by: mrskman
Carl Eugen Hoyos [Thu, 9 Nov 2017 22:59:25 +0000 (06:59 +0800)]
lavf/dashdec: Fix several memleaks.
Signed-off-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Tested-by: Steven Liu <lq@chinaffmpeg.org>
Michael Niedermayer [Thu, 2 Nov 2017 17:34:09 +0000 (18:34 +0100)]
avcodec/cngdec: Fix integer clipping
Fixes: runtime error: value -36211.7 is outside the range of representable values of type 'short'
Fixes: 2992/clusterfuzz-testcase-6649611793989632
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Thu, 9 Nov 2017 17:27:33 +0000 (14:27 -0300)]
configure: fix the non pkg-config libmfx check on Windows
Based on a patch by Aaron Levinson.
Reviewed-by: alevinsn
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Thu, 9 Nov 2017 03:18:32 +0000 (00:18 -0300)]
avdevice/decklink_dec: make some function static
Reviewed-by: Aaron Levinson <alevinsn_dev@levland.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Nicolas George [Thu, 9 Nov 2017 08:21:05 +0000 (09:21 +0100)]
lavc/pngdec: fix av_bprint_finalize() usage.
Rostislav Pehlivanov [Thu, 9 Nov 2017 12:51:54 +0000 (12:51 +0000)]
aacenc: mark the preset 5.0/5.1 layouts correctly with back speakers
The spec is correct, it does list these layouts as having rear speakers.
Questionable how many decoders correctly interpret those correctly since
side is way more popular.
Also fixes fate-aac-yoraw-encode.
Reported-by: pkviet <pkv.stream@gmail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Rostislav Pehlivanov [Thu, 9 Nov 2017 04:30:07 +0000 (04:30 +0000)]
aacenc: use the PCE comment field for encoder ID
Also handle extradata of variable size (for bitexact/if PCEs aren't used).
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Rostislav Pehlivanov [Mon, 3 Oct 2016 18:53:11 +0000 (19:53 +0100)]
aacenc: support extended channel layouts using PCEs
This commit implements support for PCE (Program Configuration Elements) in the
AAC encoder, and as such allows for encoding of channel layouts not present
in the presets defined by the spec (which only lists the 8 most common ones).
This has been a highly requested feature and is also the first open source encoder
to support this many layouts.
Many thanks to pkviet <pkv.stream@gmail.com> who implemented support for and
verified all channel layouts.
Rostislav Pehlivanov [Mon, 25 Sep 2017 19:28:08 +0000 (20:28 +0100)]
pngdec: expose gAMA and cHRM chunks as side/meta data
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Rostislav Pehlivanov [Thu, 9 Nov 2017 02:34:54 +0000 (02:34 +0000)]
pngdec: check for bprint finalization sucess on icc data parsing
It can fail in case of OOM.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Rostislav Pehlivanov [Wed, 8 Nov 2017 23:50:04 +0000 (23:50 +0000)]
vc2enc_dwt: pad the temporary buffer by the slice size
Since non-Haar wavelets need to look into pixels outside the frame, we
need to pad the buffer. The old factor of two seemed to be a workaround
that fact and only padded to the left and bottom. This correctly pads
by the slice size and as such reduces memory usage and potential
exploits.
Reported by Liu Bingchang.
Ideally, there should be no temporary buffer but the encoder is designed
to deinterleave the coefficients into the classical wavelet structure
with the lower frequency values in the top left corner.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
James Almer [Wed, 8 Nov 2017 22:32:09 +0000 (19:32 -0300)]
configure: add missing avutil deps for hwcontext modules
Fixes ticket #6812
Signed-off-by: James Almer <jamrial@gmail.com>
Carl Eugen Hoyos [Wed, 8 Nov 2017 08:15:29 +0000 (09:15 +0100)]
lavfi/scale2ref: Set output frame rate to main input frame rate.
Fixes ticket #6817.
James Almer [Wed, 8 Nov 2017 20:01:44 +0000 (17:01 -0300)]
avformat/ty: fix format specifiers in debug log messages
Signed-off-by: James Almer <jamrial@gmail.com>
Kaustubh Raste [Mon, 6 Nov 2017 12:36:53 +0000 (18:06 +0530)]
avcodec/mips: Improve hevc non-uni hv mc msa functions
Use mask buffer.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Mon, 6 Nov 2017 10:58:44 +0000 (16:28 +0530)]
avcodec/mips: Improve hevc uni weighted 4 tap vt mc msa functions
Use global mask buffer for appropriate mask load.
Use immediate unsigned saturation for clip to max saving one vector register.
Remove unused macro.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Mon, 6 Nov 2017 10:50:51 +0000 (16:20 +0530)]
avcodec/mips: Improve hevc uni 4 tap hv mc msa functions
Use global mask buffer for appropriate mask load.
Remove unused macro and table.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Kaustubh Raste [Mon, 6 Nov 2017 06:02:57 +0000 (11:32 +0530)]
avcodec/mips: Improve hevc bi wgt 4 tap hv mc msa functions
Use global mask buffer for appropriate mask load.
Use immediate unsigned saturation for clip to max saving one vector register.
Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Almer [Wed, 8 Nov 2017 17:58:36 +0000 (14:58 -0300)]
avcodec/qsvenc_jpeg: fix copyright header
Fixes fate-source after
1926f13a206bfbd99abf536e7424e2b321f2e2ad .
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 8 Nov 2017 17:53:27 +0000 (14:53 -0300)]
checkasm/llviddsp: fix warnings about mixed declaration and code
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 8 Nov 2017 17:25:31 +0000 (14:25 -0300)]
Merge commit '
70946e605924e2108c39f96faa369c220177f301 '
* commit '
70946e605924e2108c39f96faa369c220177f301 ':
h264dec: Fix mix of lossless and lossy MBs decoding
h264_cabac: Fix CABAC+8x8dct in 4:4:4
h264dec: fix Lossless Decoding (Profile 244) for 8x8 Intra Prediction
This commit is a noop, see
6f7ca1f55be1270e0d7c33409de4473e4dd00add
840b41b2a643fc8f0617c0370125a19c02c6b586
cf231b68da1150c100114f2c5671b7ed740f917a
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 8 Nov 2017 17:15:16 +0000 (14:15 -0300)]
Merge commit '
45c4bf3df03ef53ae61fa1473424d4ae024f22e4 '
* commit '
45c4bf3df03ef53ae61fa1473424d4ae024f22e4 ':
h264dec: track the last seen value of x264_build
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 8 Nov 2017 16:53:26 +0000 (13:53 -0300)]
Merge commit '
45df7adc1d9b7e8fbae5af9328baa6ab3562002b '
* commit '
45df7adc1d9b7e8fbae5af9328baa6ab3562002b ':
imgutils: add function to clear an image to black
lavc, lavu: move frame cropping to a convenience function
rmdec: add missing brackets to compound statement
This commit is a noop, see
65b83ce01b94eae944290c11257799a9288f2d4c
caa12027baf1180453846c58da08fc87accc0ff6
463b81de2b252691d75417643597c42684bf830d
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 8 Nov 2017 16:47:42 +0000 (13:47 -0300)]
Merge commit '
550cb6a85d0f7211289f7a789527d48cb29460ff '
* commit '
550cb6a85d0f7211289f7a789527d48cb29460ff ':
lavf/vf_deinterlace_qsv: Enable the qsv deinterlace vpp
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 8 Nov 2017 16:45:09 +0000 (13:45 -0300)]
Merge commit '
2fd6e7d077f590e4d7195356f9baeb271f8b9ae2 '
* commit '
2fd6e7d077f590e4d7195356f9baeb271f8b9ae2 ':
libavcodec/mjpeg_qsv: Add QSV MJPEG encoder
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 8 Nov 2017 16:39:58 +0000 (13:39 -0300)]
Merge commit '
2b1324bd167553f49736e4eaa94f96da9982925e '
* commit '
2b1324bd167553f49736e4eaa94f96da9982925e ':
lavf: allow avformat_close_input() with NULL
dxva: DXVA2_ModeHEVC_VLD_Main10 does not support Main
caf: add an Opus tag
hevc: Make sure to update the current frame transfer characteristic
This commit is a noop, see
dc9735eb67ca696d926922735a9bf01776d5c328
b4093e60c51af493a6dad7819264ef769736227f
5a3b602acda68fe5ca09082dc753179450a97a13
c64da19bbc1d3b405703ef3b705dba39a450504f
36cd017acd9cac0e6695124c052a59fb1fc13145
Merged-by: James Almer <jamrial@gmail.com>
Carl Eugen Hoyos [Tue, 31 Oct 2017 01:56:31 +0000 (02:56 +0100)]
lavc/dnxhddata: Do not print frame rates with supported profiles.
The list is unmaintained, misleading and the frame rates are
ignored by all compatible players.
James Almer [Sun, 5 Nov 2017 17:59:47 +0000 (14:59 -0300)]
avformat: move priv_pts from AVStream to an internal struct
It has no reason to be in a public header, even if defined as private.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Greg Wessels [Sun, 5 Nov 2017 04:43:09 +0000 (23:43 -0500)]
avutil/hwcontext_d3d11va: Fix leak when wrapping texture in AVD3D11FrameDescriptor
Reviewed-by: Aaron Levinson <alevinsn_dev@levland.net>
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 7 Nov 2017 22:15:16 +0000 (19:15 -0300)]
Merge commit '
95ce02b35d3d1bb16111031df1d82a6e4d894d36 '
* commit '
95ce02b35d3d1bb16111031df1d82a6e4d894d36 ':
rmdec: don't ignore the return value of av_get_packet()
See
65b83ce01b94eae944290c11257799a9288f2d4c
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 7 Nov 2017 22:09:11 +0000 (19:09 -0300)]
James Almer [Tue, 7 Nov 2017 22:08:46 +0000 (19:08 -0300)]
Merge commit '
0f5ad12ba2b538cb329c507ecc914e06bfa70194 '
* commit '
0f5ad12ba2b538cb329c507ecc914e06bfa70194 ':
flac: Use a local cache for decode_residual()
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 7 Nov 2017 21:55:18 +0000 (18:55 -0300)]
Merge commit '
15f1cc09a406cf6296818d475a256902235eefc4 '
* commit '
15f1cc09a406cf6296818d475a256902235eefc4 ':
flac: Postpone unlikely condition checks
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 7 Nov 2017 21:50:59 +0000 (18:50 -0300)]
Merge commit '
9c1e111406bd4cbb04d8e8611b71bebf203bec5e '
* commit '
9c1e111406bd4cbb04d8e8611b71bebf203bec5e ':
flac: Convert to the new bitstream reader
bitstream: Avoid undefined behavior in bitstream_skip()
This commit is a noop, see
https://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209609.html
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 7 Nov 2017 21:44:44 +0000 (18:44 -0300)]
Merge commit '
fd92dafaff8844b5fedf94679b93d953939a7f7b '
* commit '
fd92dafaff8844b5fedf94679b93d953939a7f7b ':
bink: Split read_dct_coeffs()
Merged-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 7 Nov 2017 21:35:34 +0000 (18:35 -0300)]