summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* libavcodec/libaomdec: use the matrix coefficients value from aom_imageJames Almer2018-03-29
| | | | | | "color_space" is no longer a sytax element in libaom. Signed-off-by: James Almer <jamrial@gmail.com>
* avcode/profiles: add AV1 profilesJames Almer2018-03-29
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Merge commit '43778a501f1bfbceeddc8eaeea2ea2b3506beeda'James Almer2018-03-29
|\ | | | | | | | | | | | | | | | | | | * commit '43778a501f1bfbceeddc8eaeea2ea2b3506beeda': Support AV1 encoding using libaom This contains some extra changes taken from the libvpx encoder wrapper, most of them contained in the set_pix_fmt() function. Merged-by: James Almer <jamrial@gmail.com>
| * Support AV1 encoding using libaomLuca Barbato2018-03-12
| |
* | avcodec/libaomdec: remove references to yuv440p pixfmtJames Almer2018-03-28
| | | | | | | | | | | | | | While the enums are defined in the libaom headers, it's not officially supported. Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/tableprint_vlc: Fix build failure with --enable-hardcoded-tablesMichael Niedermayer2018-03-29
| | | | | | | | | | Found-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/af_pan: reject expressions referencing the same channel multiple timesMarton Balint2018-03-29
| | | | | | | | | | | | | | | | Fixes parsing of expressions like c0=c0+c0 or c0=c0|c0=c1. Previously no error was thrown and for input channels, only the last gain factor was used, for output channels the source channel gains were combined. Signed-off-by: Marton Balint <cus@passwd.hu>
* | ffmpeg: do not finish output streams manually on eof even if no input is ↵Marton Balint2018-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | provided The generic code should be able to finish the streams just fine initializing and flushing the filters and codecs properly. Fixes the following command: ffmpeg -f lavfi -i "testsrc=d=0.1[out0];aevalsrc=0:d=0[out1]" -af apad -shortest -f framecrc - Signed-off-by: Marton Balint <cus@passwd.hu>
* | ffmpeg: fallback to codecpar parameters on input filter eofMarton Balint2018-03-29
| | | | | | | | | | | | | | | | Fixes ticket #6854 and the following simpler case: ffmpeg -f lavfi -i testsrc=d=1 -f lavfi -i testsrc=d=0 -filter_complex overlay -f null none Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit 'c438899a706422b8362a13714580e988be4d638b'James Almer2018-03-28
|\| | | | | | | | | | | | | | | | | | | * commit 'c438899a706422b8362a13714580e988be4d638b': Add AV1 video decoding support through libaom This contains some extra changes taken from the libvpx decoder wrapper, most of them contained in the set_pix_fmt() function. Merged-by: James Almer <jamrial@gmail.com>
| * Add AV1 video decoding support through libaomLuca Barbato2018-03-12
| | | | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '44a1731011e87fbf4180d026aefb8bfe85d8c7dc'James Almer2018-03-28
|\| | | | | | | | | | | | | | | | | * commit '44a1731011e87fbf4180d026aefb8bfe85d8c7dc': ivf: Support VP9 and AV1 as well See e8f0a463b0d27a4d74c0d9f1857e72a8033d1069 Merged-by: James Almer <jamrial@gmail.com>
| * ivf: Support VP9 and AV1 as wellLuca Barbato2018-03-12
| |
* | Merge commit 'dd7e63af93b2430b5d42b87a966160c66736342c'James Almer2018-03-28
|\| | | | | | | | | | | | | | | | | | | * commit 'dd7e63af93b2430b5d42b87a966160c66736342c': configure: Restore original endianness test The test was not changed in 67e8f476b7d3c21686a2d453d052818ac92688b3 Merging only the explanation. Merged-by: James Almer <jamrial@gmail.com>
| * configure: Restore original endianness testDiego Biurrun2018-03-08
| | | | | | | | | | | | Previously the bit pattern for the endianness test was declared as a global, instead of a local, variable. This ensures that the pattern appears unchanged in the object file and is not optimized out.
* | Merge commit '80a4e6a46f21256e9bf508ead686563616945ad5'James Almer2018-03-28
|\| | | | | | | | | | | | | | | | | * commit '80a4e6a46f21256e9bf508ead686563616945ad5': amf: Replace writer_id option with LIBAV_AMF_WRITER_ID constant This commit is a noop, see 9ea6607d294526688ab1b1342cb36ee159683e88 Merged-by: James Almer <jamrial@gmail.com>
| * amf: Replace writer_id option with LIBAV_AMF_WRITER_ID constantAlexander Kravchenko2018-03-07
| | | | | | | | | | | | | | | | | | | | AMFTraceWriter is an abstraction to configure how AMF outputs its logs for the current process and can be configured to output different levels of trace output. If multiple LibavWriter objects are used in one process, there will be duplication of output in av_log. Use a constant writer_id to prevent this scenario. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | Merge commit '31a53ab34e22fe1eec902f79ec1f19ab828a7a0c'James Almer2018-03-28
|\| | | | | | | | | | | | | * commit '31a53ab34e22fe1eec902f79ec1f19ab828a7a0c': configure: Add check_as() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add check_as() helper function to simplify some expressionsDiego Biurrun2018-03-07
| |
* | Merge commit '18dc1ff0fb4572b1d50a44905aa1e76bc3bbb0ad'James Almer2018-03-28
|\| | | | | | | | | | | | | * commit '18dc1ff0fb4572b1d50a44905aa1e76bc3bbb0ad': configure: Add check_ld() helper function to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add check_ld() helper function to simplify some expressionsDiego Biurrun2018-03-07
| |
* | Merge commit '9c37d765ef28b027414f86b0088b0c282a3c46d8'James Almer2018-03-28
|\| | | | | | | | | | | | | * commit '9c37d765ef28b027414f86b0088b0c282a3c46d8': configure: Add check_cc/require_cc helper functions to simplify some expressions Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add check_cc/require_cc helper functions to simplify some expressionsDiego Biurrun2018-03-07
| |
* | avformat/dashdec: Support signaling of last segment numbersanilraut2018-03-28
| | | | | | | | | | | | | | | | | | | | Last segment indicated by mpd is not parsed. Example stream: http://dash.akamaized.net/dash264/TestCasesIOP41/LastSegmentNumber/1/manifest_last_segment_num.mpd This patch supports parsing of Supplemental Descriptor with @schemeIdUri set to http://dashif.org/guide- lines/last-segment-number with the @value set to the last segment number. Reviewed-by: Steven Liu <lq@onvideo.cn>
* | hwcontext_d3d11: Fix crash with valid adapter but no deviceMark Thompson2018-03-28
| | | | | | | | | | | | | | | | | | | | This crash was introduced by 8bbf2dacbfb4ead1535dea411035994f507f517d, which could incorrectly overwrite the failure result from creating the device. Fixes ticket #7108. Reviewed-by: wm4 <nfxjfg@googlemail.com>
* | doc/examples/hw_decode: Remove logically dead code in decode_write()Michael Niedermayer2018-03-27
| | | | | | | | | | | | | | Fixes CID1415951 Reviewed-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/hw_decode: Remove useless NULL checkMichael Niedermayer2018-03-27
| | | | | | | | | | Reviewed-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/APIchanges: fix lavu version for the AVEncryptionInfo additionJames Almer2018-03-27
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/avpacket: remove unnecessary check in av_packet_make_writable()James Almer2018-03-27
| | | | | | | | | | | | | | Zero sized packets are already handled below in the function. This is more in line with av_packet_ref(). Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/hlsenc: initialize saveptrsTimo Rothenpieler2018-03-27
| | | | | | | | | | | | | | | | | | | | av_strtok calls strspn on a non-NULL *saveptr, so not NULL initializing it is an issue. Fixes CID #1428568 Reviewed-by: Karthick Jeyapal <kjeyapal@akamai.com> Signed-off-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | kmsgrab: add category for kmsgrabJun Zhao2018-03-26
| | | | | | | | | | | | | | Makes kmsgrab visible in "ffmpeg -devices". Signed-off-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | avfilter/vf_avgblur_opencl: fix error when clSetKernelArg failsdrfer32018-03-26
| | | | | | | | Fixes Coverity CID 1430382.
* | vf_avgblur_opencl: Don't run kernel on pixels outside the imageMark Thompson2018-03-26
| | | | | | | | | | | | | | | | The output frame size is larger than the image containing a subsampled plane - use the actual size of the image being written rather than the dimensions of the intended output frame. Reviewed-by: Dylan Fernando <dylanf123@gmail.com>
* | libavfilter: Add OpenCL convolution filterDanil Iashchenko2018-03-26
| | | | | | | | | | | | Behaves like existing convolution filter. Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | avformat/segafilm - fix keyframe detection and set packet flagsGyan Doshi2018-03-26
| | | | | | | | | | | | | | | | | | | | | | Streams from a Segafilm cpk file can't be streamcopied because keyframe flag isn't correctly set in stream index and said flag is never conveyed to the packet Fixes #7091 Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/avdct: use the proper function to free AVCodecContextJames Almer2018-03-26
| | | | | | | | | | | | Fixes ticket #7074 Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/rtpenc_chain: use the proper function to free AVFormatContextJames Almer2018-03-26
| | | | | | | | | | | | Fixes ticket #7075 Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mpeg4videodec: Use more specific error codesMichael Niedermayer2018-03-26
| | | | | | | | | | | | Forward error codes where possible. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mov: Move +1 in check to avoid hypothetical overflow in ↵Michael Niedermayer2018-03-26
| | | | | | | | | | | | add_ctts_entry() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/get_bits: Make sure the input bitstream with padding can be addressedMichael Niedermayer2018-03-26
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/af_mcompand: make error message more helpfulPaul B Mahol2018-03-25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | doc/filter.texi: fix some spotted typosPaul B Mahol2018-03-25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | movtextdec: fix handling of UTF-8 subtitleswm42018-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subtitles which contained styled UTF-8 subtitles (i.e. not just 7 bit ASCII characters) were not handled correctly. The spec mandates that styling start/end ranges are in "characters". It's not quite clear what a "character" is supposed to be, but maybe they mean unicode codepoints. FFmpeg's decoder treated the style ranges as byte idexes, which could lead to UTF-8 sequences being broken, and the common code dropping the whole subtitle line. Change this and count the codepoint instead. This also means that even if this is somehow wrong, the decoder won't break UTF-8 sequences anymore. The sample which led me to investigate this now appears to work correctly.
* | avcodec: add a subcharenc mode that disables UTF-8 checkwm42018-03-25
| | | | | | | | | | | | | | | | This is for applications which want to explicitly check for invalid UTF-8 manually, and take actions that are better than dropping invalid subtitles silently. (It's pretty much silent because sporadic avcodec error messages are so common that you can't reasonably display them in a prominent and meaningful way in a application GUI.)
* | avformat/hlsenc: use stream's maximum bit rate as fall-back advertised rateJan Ekström2018-03-25
| | | | | | | | | | | | | | | | | | | | Enables having proper bit rate values being written into the master playlist in case of hard-constrained VBR where the maximum bit rate utilized is known before hand. Does the same thing as movenc.c, for example. Signed-off-by: Jan Ekström <jan.ekstrom@aminocom.com>
* | avdevice/decklink: fix leak when listing devices and there is no memoryMarton Balint2018-03-24
| | | | | | | | | | | | Fixes Coverity CID 1419523. Signed-off-by: Marton Balint <cus@passwd.hu>
* | swscale/rgb2rgb : cosmetic, move shuffle_bytes func declarationMartin Vignali2018-03-24
| | | | | | | | | | move shuffle_bytes_1230, 3012, 3210 with the other shuffle_byte declaration
* | checkasm/swscale : add test for rgb shuffle_bytes funcMartin Vignali2018-03-24
| |
* | swscale/rgb : add X86 SIMD (SSSE3), for shuffle_bytes_1230, ↵Martin Vignali2018-03-24
| | | | | | | | shuffle_bytes_3012, shuffle_bytes_3210
* | swscale/rgb : move shuffle func shuffle_bytes_1230, shuffle_bytes_3012, ↵Martin Vignali2018-03-24
| | | | | | | | shuffle_bytes_3210 in order to add SIMD