ffmpeg.git
4 years agovima: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 09:59:21 +0000 (11:59 +0200)]
vima: Convert to the new bitstream reader

4 years agovble: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 09:52:48 +0000 (11:52 +0200)]
vble: Convert to the new bitstream reader

4 years agoutvideodec: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 09:07:15 +0000 (11:07 +0200)]
utvideodec: Convert to the new bitstream reader

4 years agotwinvq: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 08:59:22 +0000 (10:59 +0200)]
twinvq: Convert to the new bitstream reader

4 years agotscc2: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 08:42:27 +0000 (10:42 +0200)]
tscc2: Convert to the new bitstream reader

4 years agotruespeech: Convert to the new bitstream reader
Alexandra Hájková [Thu, 14 Apr 2016 08:32:31 +0000 (10:32 +0200)]
truespeech: Convert to the new bitstream reader

4 years agotiertex: Convert to the new bitstream reader
Alexandra Hájková [Sat, 23 Apr 2016 13:13:41 +0000 (15:13 +0200)]
tiertex: Convert to the new bitstream reader

4 years agotruemotion2: Convert to the new bitstream reader
Alexandra Hájková [Sat, 23 Apr 2016 13:11:27 +0000 (15:11 +0200)]
truemotion2: Convert to the new bitstream reader

4 years agosvq1dec: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 18:25:22 +0000 (20:25 +0200)]
svq1dec: Convert to the new bitstream reader

4 years agosmacker: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:56:53 +0000 (19:56 +0200)]
smacker: Convert to the new bitstream reader

4 years agosipr: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:49:21 +0000 (19:49 +0200)]
sipr: Convert to the new bitstream reader

4 years agortjpeg: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:41:09 +0000 (19:41 +0200)]
rtjpeg: Convert to the new bitstream reader

4 years agora288: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 17:34:49 +0000 (19:34 +0200)]
ra288: Convert to the new bitstream reader

4 years agora144: Convert to the new bitstream reader
Alexandra Hájková [Wed, 13 Apr 2016 09:53:47 +0000 (11:53 +0200)]
ra144: Convert to the new bitstream reader

4 years agoarm: vp9itxfm: Rename a macro parameter to fit better
Martin Storsjö [Tue, 22 Nov 2016 11:52:55 +0000 (13:52 +0200)]
arm: vp9itxfm: Rename a macro parameter to fit better

Since the same parameter is used for both input and output,
the name inout is more fitting.

This matches the naming used below in the dmbutterfly macro.

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agoarm/aarch64: vp9itxfm: Fix indentation of macro arguments
Martin Storsjö [Tue, 22 Nov 2016 09:32:25 +0000 (11:32 +0200)]
arm/aarch64: vp9itxfm: Fix indentation of macro arguments

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agocheckasm: vp9dsp: benchmark all sub-IDCTs (but not WHT or ADST).
Ronald S. Bultje [Thu, 17 Nov 2016 22:17:02 +0000 (00:17 +0200)]
checkasm: vp9dsp: benchmark all sub-IDCTs (but not WHT or ADST).

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agoRevert "checkasm: vp9dsp: Benchmark the dc-only version of idct_idct separately"
Martin Storsjö [Fri, 18 Nov 2016 08:09:12 +0000 (10:09 +0200)]
Revert "checkasm: vp9dsp: Benchmark the dc-only version of idct_idct separately"

This reverts commit 81d7f0bbca837afda1f7e60d3ae52ab1360ab44b.

Instead of just benchmarking dc separately, test all relevant subparts
(in the next commit).

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agomatroska: use av_stream_add_side_data() for stereo3d side data
James Almer [Tue, 22 Nov 2016 20:50:28 +0000 (15:50 -0500)]
matroska: use av_stream_add_side_data() for stereo3d side data

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
4 years agomov: Use av_stream_add_side_data() for displaymatrix side data
James Almer [Mon, 21 Nov 2016 23:54:29 +0000 (18:54 -0500)]
mov: Use av_stream_add_side_data() for displaymatrix side data

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
4 years agoutils: Add av_stream_add_side_data()
James Almer [Tue, 22 Nov 2016 22:16:48 +0000 (17:16 -0500)]
utils: Add av_stream_add_side_data()

Functionally similar to av_packet_add_side_data(). Allows the use of an
already allocated buffer as stream side data.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
4 years agofate.sh: Allow setting other make flags for running tests
Martin Storsjö [Tue, 21 May 2013 07:21:37 +0000 (10:21 +0300)]
fate.sh: Allow setting other make flags for running tests

If makeopts_fate is set, these makeopts are used for running the
tests instead of the normal makeopts. If it isn't set, the normal
makeopts variable is used as before.

This is useful if remote testing on a lesser machine where a large
number of parallel jobs might be undesireable, while wanting to speed
up the build with many parallel processes.

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agoavpacket: fix leak on realloc in av_packet_add_side_data()
James Almer [Sat, 19 Nov 2016 18:33:58 +0000 (15:33 -0300)]
avpacket: fix leak on realloc in av_packet_add_side_data()

If realloc fails, the pointer is overwritten and the previously allocated buffer
is leaked, which goes against the expected functionality of keeping the packet
unchanged in case of error.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoexamples/decode_video: allocate the packet dynamically
Anton Khirnov [Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)]
examples/decode_video: allocate the packet dynamically

AVPackets on stack are discouraged.

4 years agoexamples/decode_video: switch to the new decoding API
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_video: switch to the new decoding API

4 years agoexamples/decode_video: use a parser for splitting the input
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_video: use a parser for splitting the input

Do not rely on the decoder handling this, as it's not guaranteed to
work.

4 years agoexamples/encode_video: allocate the packet dynamically
Anton Khirnov [Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)]
examples/encode_video: allocate the packet dynamically

AVPackets on stack are discouraged.

4 years agoexamples/encode_video: switch to the new encoding API
Anton Khirnov [Thu, 20 Oct 2016 09:03:20 +0000 (11:03 +0200)]
examples/encode_video: switch to the new encoding API

4 years agoexamples/decode_audio: flush the decoder
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: flush the decoder

4 years agoexamples/decode_audio: allocate the packet dynamically
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: allocate the packet dynamically

AVPackets on stack are discouraged now.

4 years agoexamples/decode_audio: handle planar audio now produced by the MP2 decoder
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: handle planar audio now produced by the MP2 decoder

4 years agoexamples/decode_audio: use the new audio decoding API
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: use the new audio decoding API

4 years agoexamples/decode_audio: use a parser for splitting the input
Anton Khirnov [Wed, 19 Oct 2016 19:56:22 +0000 (21:56 +0200)]
examples/decode_audio: use a parser for splitting the input

Do not rely on the decoder handling this, as it's not guaranteed to
work.

4 years agoexamples/encode_audio: switch to the new audio encoding API
Anton Khirnov [Wed, 19 Oct 2016 19:33:52 +0000 (21:33 +0200)]
examples/encode_audio: switch to the new audio encoding API

4 years agoexamples/qsvdec: convert to the new decoding API
Anton Khirnov [Wed, 12 Oct 2016 12:16:47 +0000 (14:16 +0200)]
examples/qsvdec: convert to the new decoding API

4 years agoexamples/qsvdec: switch to the hwcontext API
Anton Khirnov [Wed, 12 Oct 2016 11:14:17 +0000 (13:14 +0200)]
examples/qsvdec: switch to the hwcontext API

The code now does not depend on VA and will work on windows as well.

4 years agolibopusdec: default to stereo for invalid number of channels
Andreas Cadhalpun [Mon, 14 Nov 2016 20:41:45 +0000 (21:41 +0100)]
libopusdec: default to stereo for invalid number of channels

This fixes an out-of-bounds read if avc->channels is 0.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agodvbsub: cosmetics: Group all debug code together
Diego Biurrun [Fri, 11 Dec 2015 19:17:31 +0000 (20:17 +0100)]
dvbsub: cosmetics: Group all debug code together

4 years agodvbsub: Check for errors from system()
Diego Biurrun [Fri, 11 Dec 2015 18:52:36 +0000 (19:52 +0100)]
dvbsub: Check for errors from system()

libavcodec/dvbsubdec.c:145:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
libavcodec/dvbsubdec.c:148:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]

4 years agoals: Restructure DEBUG ifdefs to avoid unused function parameter warnings
Diego Biurrun [Fri, 11 Dec 2015 20:08:48 +0000 (21:08 +0100)]
als: Restructure DEBUG ifdefs to avoid unused function parameter warnings

4 years agoac3enc: Restructure DEBUG ifdefs to avoid unused function parameter warnings
Diego Biurrun [Fri, 11 Dec 2015 19:46:56 +0000 (20:46 +0100)]
ac3enc: Restructure DEBUG ifdefs to avoid unused function parameter warnings

4 years agoape: Restructure DEBUG ifdefs to avoid unused function parameter warnings
Diego Biurrun [Fri, 11 Dec 2015 11:26:19 +0000 (12:26 +0100)]
ape: Restructure DEBUG ifdefs to avoid unused function parameter warnings

4 years agodoc: Add libxavs section
Diego Biurrun [Thu, 17 Nov 2016 19:39:06 +0000 (20:39 +0100)]
doc: Add libxavs section

4 years agortpdec_mpeg4: const correctness for parse_fmtp_config()
Diego Biurrun [Tue, 8 Mar 2016 21:53:42 +0000 (22:53 +0100)]
rtpdec_mpeg4: const correctness for parse_fmtp_config()

libavformat/rtpdec_mpeg4.c:282:38: warning: passing argument 2 of ‘parse_fmtp_config’ discards ‘const’ qualifier from pointer target type

4 years agoDrop some bogus Doxygen documentation.
Diego Biurrun [Wed, 9 Nov 2016 21:10:39 +0000 (22:10 +0100)]
Drop some bogus Doxygen documentation.

4 years agoFix some mismatches between function parameter and doxygen parameter names.
Diego Biurrun [Wed, 9 Nov 2016 21:09:38 +0000 (22:09 +0100)]
Fix some mismatches between function parameter and doxygen parameter names.

4 years agoaarch64: vp9itxfm: Use w3 instead of x3 for the int eob parameter
Martin Storsjö [Fri, 18 Nov 2016 10:09:06 +0000 (12:09 +0200)]
aarch64: vp9itxfm: Use w3 instead of x3 for the int eob parameter

The clobbering tests in checkasm are only invoked when testing
correctness, so this bug didn't show up when benchmarking the
dc-only version.

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agoarm: vp9itxfm: Simplify the stack alignment code
Janne Grunau [Fri, 18 Nov 2016 07:36:59 +0000 (09:36 +0200)]
arm: vp9itxfm: Simplify the stack alignment code

This is one instruction less for thumb, and only have got
1/2 arm/thumb specific instructions.

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agohlsenc: Fix the openssl support
Luca Barbato [Fri, 18 Nov 2016 09:56:01 +0000 (10:56 +0100)]
hlsenc: Fix the openssl support

4 years agoqdm2: Convert to the new bitstream reader
Alexandra Hájková [Tue, 12 Apr 2016 16:50:57 +0000 (18:50 +0200)]
qdm2: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoqcelp: Convert to the new bitstream reader
Alexandra Hájková [Tue, 12 Apr 2016 16:39:16 +0000 (18:39 +0200)]
qcelp: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agopcx: Convert to the new bitstream reader
Alexandra Hájková [Tue, 12 Apr 2016 16:32:50 +0000 (18:32 +0200)]
pcx: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoopus: Convert to the new bitstream reader
Alexandra Hájková [Tue, 12 Apr 2016 16:28:14 +0000 (18:28 +0200)]
opus: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agonellymoser: Convert to the new bitstream reader
Alexandra Hájková [Tue, 12 Apr 2016 16:24:27 +0000 (18:24 +0200)]
nellymoser: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agojvdec: Convert to the new bitstream reader
Alexandra Hájková [Tue, 12 Apr 2016 15:24:55 +0000 (17:24 +0200)]
jvdec: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agohqx: Convert to the new bitstream header
Alexandra Hájková [Sun, 10 Apr 2016 10:09:58 +0000 (12:09 +0200)]
hqx: Convert to the new bitstream header

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agohq_hqa: Convert to the new bitstream reader
Alexandra Hájková [Sun, 10 Apr 2016 10:00:56 +0000 (12:00 +0200)]
hq_hqa: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agogsm: Convert to the new bitstream reader
Alexandra Hájková [Sun, 10 Apr 2016 09:34:09 +0000 (11:34 +0200)]
gsm: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agog72x: Convert to the new bitstream reader
Alexandra Hájková [Mon, 18 Apr 2016 08:38:43 +0000 (10:38 +0200)]
g72x: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agog2meet: Convert to the new bitstream reader
Alexandra Hájková [Sun, 10 Apr 2016 09:16:15 +0000 (11:16 +0200)]
g2meet: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agofraps: Convert to the new bitstream reader
Alexandra Hájková [Sun, 10 Apr 2016 09:12:27 +0000 (11:12 +0200)]
fraps: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoflashsv: Convert to the new bitstream reader
Alexandra Hájková [Sun, 10 Apr 2016 09:08:09 +0000 (11:08 +0200)]
flashsv: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agofaxcompr: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 19:04:29 +0000 (21:04 +0200)]
faxcompr: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoexr: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 19:00:43 +0000 (21:00 +0200)]
exr: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoescape130: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 18:47:04 +0000 (20:47 +0200)]
escape130: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoescape124: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 18:36:57 +0000 (20:36 +0200)]
escape124: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agodvdsubdec: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 17:05:56 +0000 (19:05 +0200)]
dvdsubdec: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agodss_sp: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 16:58:25 +0000 (18:58 +0200)]
dss_sp: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agocook: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 16:00:37 +0000 (18:00 +0200)]
cook: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agocljrdec: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 15:34:03 +0000 (17:34 +0200)]
cljrdec: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agocdxl: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 14:20:13 +0000 (16:20 +0200)]
cdxl: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agobinkaudio: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 14:11:42 +0000 (16:11 +0200)]
binkaudio: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agobink: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 13:59:51 +0000 (15:59 +0200)]
bink: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoavs: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 13:51:58 +0000 (15:51 +0200)]
avs: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoatrac3plus: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 12:47:04 +0000 (14:47 +0200)]
atrac3plus: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoatrac: Convert to the new bitstream reader
Alexandra Hájková [Sun, 17 Apr 2016 15:06:09 +0000 (17:06 +0200)]
atrac: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoasvdec: Convert to the new bitstream reader
Alexandra Hájková [Fri, 8 Apr 2016 18:13:19 +0000 (20:13 +0200)]
asvdec: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoadpcm: Convert to the new bitstream header
Alexandra Hájková [Thu, 7 Apr 2016 19:38:52 +0000 (21:38 +0200)]
adpcm: Convert to the new bitstream header

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years ago4xm: Convert to the new bitstream reader
Alexandra Hájková [Thu, 7 Apr 2016 10:32:52 +0000 (12:32 +0200)]
4xm: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoon2avc: Convert to the new bitstream reader
Alexandra Hájková [Mon, 21 Mar 2016 19:46:58 +0000 (20:46 +0100)]
on2avc: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoea: Convert to the new bitstream reader
Alexandra Hájková [Sat, 9 Apr 2016 18:31:47 +0000 (20:31 +0200)]
ea: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agoeamad: Convert to the new bitstream reader
Alexandra Hájková [Wed, 17 Feb 2016 17:16:06 +0000 (18:16 +0100)]
eamad: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agocllc: Convert to the new bitstream reader
Alexandra Hájková [Sat, 6 Feb 2016 20:41:31 +0000 (21:41 +0100)]
cllc: Convert to the new bitstream reader

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agolavc: add a new bitstream reader to replace get_bits
Alexandra Hájková [Fri, 22 Apr 2016 07:43:52 +0000 (09:43 +0200)]
lavc: add a new bitstream reader to replace get_bits

The new bit reader features a simpler API and an implementation without
stacks of nested macros.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agohwcontext_dxva2: make sure the sw frame format is the right one during transfer
Anton Khirnov [Mon, 7 Nov 2016 13:12:17 +0000 (14:12 +0100)]
hwcontext_dxva2: make sure the sw frame format is the right one during transfer

4 years agohwcontext_dxva2: split transfer_data() into upload/download functions
Anton Khirnov [Mon, 7 Nov 2016 13:05:49 +0000 (14:05 +0100)]
hwcontext_dxva2: split transfer_data() into upload/download functions

Just the presence of a hw frames context is not enough to detect whether
the transfer is an upload or a download, because hw frames mapped to
system memory will have a hw frames context attached.

4 years agohwcontext_dxva2: fix handling of the mapping flags
Anton Khirnov [Mon, 7 Nov 2016 12:42:50 +0000 (13:42 +0100)]
hwcontext_dxva2: fix handling of the mapping flags

D3DLOCK_READONLY properly corresponds to the absence of the write flag,
not to the presence of the read flag, while D3DLOCK_DISCARD is
equivalent to the overwrite flag.

4 years agohwcontext_dxva2: do not assume the destination format during mapping is always the...
Anton Khirnov [Mon, 7 Nov 2016 12:34:21 +0000 (13:34 +0100)]
hwcontext_dxva2: do not assume the destination format during mapping is always the right one

Handle the cases where it is unsupported or unset.

4 years agoavpacket: Mark src pointer as constant
Luca Barbato [Thu, 17 Nov 2016 18:41:12 +0000 (19:41 +0100)]
avpacket: Mark src pointer as constant

4 years agohlsenc: Add encryption support
Luca Barbato [Tue, 11 Oct 2016 10:15:50 +0000 (12:15 +0200)]
hlsenc: Add encryption support

Partially based on Christian Suloway <csuloway@globaleagleent.com> work.

4 years agocrypto: Add encryption support
Christian Suloway [Mon, 1 Dec 2014 18:55:28 +0000 (12:55 -0600)]
crypto: Add encryption support

Signed-off-by: Christian Suloway <csuloway@globaleagleent.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
4 years agoqsvdec: Drop stray extra braces around initializer
Diego Biurrun [Tue, 15 Nov 2016 15:19:30 +0000 (16:19 +0100)]
qsvdec: Drop stray extra braces around initializer

libavcodec/qsvdec.c:93:5: warning: braces around scalar initializer

4 years agoqsv: Drop some unused variables
Diego Biurrun [Tue, 15 Nov 2016 15:17:05 +0000 (16:17 +0100)]
qsv: Drop some unused variables

4 years agoexamples/transcode_aac: Drop pointless return value const qualifier
Diego Biurrun [Tue, 8 Dec 2015 15:54:07 +0000 (16:54 +0100)]
examples/transcode_aac: Drop pointless return value const qualifier

doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

4 years agoIgnore all generated example binaries
Diego Biurrun [Wed, 16 Nov 2016 09:34:38 +0000 (09:34 +0000)]
Ignore all generated example binaries

4 years agodoc: Add note about recent regression in AviSynth+
Stephen Hutchinson [Sat, 29 Oct 2016 00:52:11 +0000 (20:52 -0400)]
doc: Add note about recent regression in AviSynth+

Signed-off-by: Diego Biurrun <diego@biurrun.de>
4 years agoavisynth: Support pix_fmts added to AviSynth+
Stephen Hutchinson [Thu, 27 Oct 2016 02:54:18 +0000 (22:54 -0400)]
avisynth: Support pix_fmts added to AviSynth+

A number of new pix_fmts* have been added to AviSynth+:
16-bit packed RGB and RGBA
10-, 12-, 14, and 16-bit YUV 4:2:0, 4:2:2, and 4:4:4
8-, 10-, 12-, 14-, and 16-bit Planar RGB
8-, 10-, 12-, 14-, and 16-bit Planar YUVA and Planar RGBA
10-, 12-, 14-, and 16-bit GRAY variants
32-bit floating point Planar YUV(A), Planar RGB(A), and GRAY

*some of which are not currently available pix_fmts here and were
 not added to the demuxer due to this

Signed-off-by: Diego Biurrun <diego@biurrun.de>
4 years agoavisynth: Simplify the pix_fmt check for the newer AviSynth API
Stephen Hutchinson [Mon, 8 Aug 2016 23:24:19 +0000 (19:24 -0400)]
avisynth: Simplify the pix_fmt check for the newer AviSynth API

The values don't need to be hardcoded since the correct values are
returned by avs_bits_per_pixel.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
4 years agoavisynth: Fix setting stream timebase
Marton Balint [Mon, 8 Aug 2016 23:24:18 +0000 (19:24 -0400)]
avisynth: Fix setting stream timebase

Stream timebase should be set using avpriv_set_pts_info, otherwise
avctx->pkt_timebase is not correct, leading to A/V desync.

Signed-off-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Stephen Hutchinson <qyot27@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
4 years agofate: Add h264 and hevc extradata reload tests
Vittorio Giovara [Tue, 8 Nov 2016 21:47:38 +0000 (16:47 -0500)]
fate: Add h264 and hevc extradata reload tests

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>