Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-19avformat: add SMPTE 337M demuxerfoo86
2017-07-19avcodec: add Dolby E decoderfoo86
2017-07-19avfilter/pthread: use slice threading from avutilMuhammad Faiz
Benchmark (with 2 cpus): ./ffmpeg -f rawvideo -s 1280x720 -t 1000 -i /dev/zero \ -filter_threads $threads -vf transpose=clock -f null null threads=2: old: 31.129s 31.446s 31.574s new: 29.602s 29.636s 29.656s threads=3 (nb_threads = nb_cpus + 1 is bad choice at this situation): old: 40.132s 40.279s 40.279s new: 39.308s 39.570s 39.693s threads=4: old: 31.306s 31.366s 31.654s new: 30.231s 30.360s 30.451s Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-07-19avcodec/pthread_slice: use slice threading from avutilMuhammad Faiz
Also remove pthread_cond_broadcast(progress_cond) on uninit. Broadcasting it is not required because workers are always parked when they are not in thread_execute. So it is imposible that a worker is waiting on progress_cond when uninitialized. Benchmark: ./ffmpeg -threads $threads -thread_type slice -i 10slices.mp4 -f null null threads=2: old: 70.212s 70.525s 70.877s new: 65.219s 65.377s 65.484s threads=3: old: 65.086s 66.306s 66.409s new: 63.229s 65.026s 65.116s threads=4: old: 60.993s 61.482s 62.123s new: 59.224s 59.441s 59.667s threads=5: old: 57.576s 57.860s 58.832s new: 53.032s 53.948s 54.086s Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-07-19avutil: merge slice threading implementation from avcodec and avfilterMuhammad Faiz
Rework it to improve performance. Now mutex is not shared by workers, instead each worker has its own mutex and condition variable. This reduces lock contention between workers. Also use atomic variable for counter. The interface also allows execute to run special function on main thread, requested by Ronald. Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-07-19libavformat/fifo: Fix initialization of underlying AVFormatContextJan Sebechlebsky
Muxers may want to directly access filename in stored in AVFormatContext. For example in case of RTSP, the filename (url) is used by the muxer to extract parameters of the connection. These muxers will fail when used with fifo pseudo-muxer. This commit fixes this issue by passing filename from AVFormatContext of fifo pseudo-muxer to all AVFormatContext(s) of underlying muxers during initialization. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
2017-07-19avcodec/dca: avoid using bitstream reader in a non-standard wayfoo86
Use proper get_bits.h functions instead of directly accessing index. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec/dca_core: probe extension headers directlyfoo86
Avoid using bitstream reader in a non-standard way by directly accessing index. Use bit shifting/masking operations instead. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec/dca_parser: avoid use of magic valuesfoo86
Duration computation can be simplified because number of PCM blocks is only allowed to be a multiple of 8. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec/dca_parser: export profile informationfoo86
Permits applications to access DTS profile information without having to decode a frame. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avformat/dtsdec: switch to common frame header parsing functionfoo86
This makes probing for regular DTS more strict because more header fields are checked and values not supported by decoder are now rejected. Also fixes an issue original code had with 14-bit streams: 96 bits of header were expected, however only 84 bits were converted, which was not enough to parse LFE flag. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec/dca_parser: switch to common frame header parsing functionfoo86
Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec/dca_core: switch to common frame header parsing functionfoo86
Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec: add avpriv_dca_parse_core_frame_header()foo86
There are 3 different places where DCA core frame header is parsed: decoder, parser and demuxer. Each one uses ad-hoc code. Add common core frame header parsing function that will be used in all places. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec/dca: move bits per sample array to dca.cfoo86
It will be used by the parser. This change avoids unwanted parser dependency on dcadata. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19avcodec/dca: move some enumeration typedefs into headersfoo86
These values will be used by the parser. Prefix them with DCA_ appropriately. Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-19lavc/codec_desc: Mark some uncompressed codecs as lossless.Carl Eugen Hoyos
Fixes ticket #6526.
2017-07-19doc: Fix names of VAAPI encodersMark Thompson
They were all reversed (oops).
2017-07-19pixdesc: Add a test for av_find_best_pix_fmt_of_2()Mark Thompson
2017-07-19pixdesc: Improve scoring for opaque/unknown pixel formatsMark Thompson
Hardware pixel formats do not tell you anything about their actual contents, but should still score higher than formats with completely unknown properties, which in turn should score higher than invalid formats. Do not return an AVERROR code as a score. Fixes a hang in libavfilter where format negotiation gets stuck in a loop because AV_PIX_FMT_NONE scores more highly than all other possibilities.
2017-07-19lavc/vaapi_encode_h265: Remove duplicate slice_segment_address.Jun Zhao
the VAEncSliceParameterBufferHEVC in libva have support this field, so remove the duplicate field in VAAPIEncodeH265MiscSliceParams. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
2017-07-18avcodec/htmlsubtitles: Be a bit more picky on syntaxMichael Niedermayer
This reduces the number of strstr() calls per byte This diasalows empty tags like '< >' as well as '<' in tags like '<ab<cd<<ef>' Fixes timeout Fixes: 1817/clusterfuzz-testcase-minimized-5104230530547712 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-07-18avcodec/aacdec_template (fixed point): Check gain in decode_cce() to avoid ↵Michael Niedermayer
undefined shifts later Fixes: runtime error: shift exponent 47 is too large for 32-bit type 'int' Fixes: 2581/clusterfuzz-testcase-minimized-4681474395602944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-07-18opus: simplify coarse energy beta coefficientsRostislav Pehlivanov
Just put the subtraction in the table. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-07-18avdevice/decklink_dec: add support for receiving op47 teletextMarton Balint
v2: - use uint16_t instead of int to store 10-bit ancillary data - fix ancillary line numbers for 1080p - some comments and clarifications as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
2017-07-18avdevice/decklink_dec: add support for decoding teletext from 10bit ↵Marton Balint
ancillary data This also add supports for 4K DeckLink cards because they always output the ancillary data in 10-bit. v2: - only try teletext decoding for 576i PAL mode - some comments as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
2017-07-18lavc/jpeg2000dec: Read the sample aspect ratio from the jp2 resolution box.Carl Eugen Hoyos
2017-07-18ffprobe: reindent after previous commitClément Bœsch
2017-07-18ffprobe: add -(no)find_stream_info expert optionClément Bœsch
2017-07-18ffplay: reindent after previous commitClément Bœsch
2017-07-18ffplay: add -(no)find_stream_info expert optionClément Bœsch
2017-07-18ffmpeg: reindent after previous commitClément Bœsch
2017-07-18ffmpeg: add -(no)find_stream_info expert optionClément Bœsch
2017-07-18opusenc: remove unused variableRostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-07-16configure: Fix libvmaf nameMatt Oliver
Fixes: fatal error: libvmaf.h: No such file or directory. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2017-07-16webmdashenc: Fix memory leakDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2017-07-16avcodec/apedec: Fix integer overflowMichael Niedermayer
Fixes: out of array access Fixes: PoC.ape and others Found-by: Bingchang, Liu@VARAS of IIE Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-07-16avfilter: add LIBVMAF filterAshish Singh
This one changes the previous vmaf patch to libvmaf to keep it separate from the native implementation of vmaf inside ffmpeg later. Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2017-07-16avcodec/ffv1dec_template: Fix signed integer overflowMichael Niedermayer
Fixes: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: 2634/clusterfuzz-testcase-minimized-4540890636877824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-07-16avcodec/aacdec_template: Fix undefined integer overflow in apply_tns()Michael Niedermayer
Fixes: runtime error: signed integer overflow: -2147483648 - 1202286525 cannot be represented in type 'int' Fixes: 2071/clusterfuzz-testcase-minimized-6036414271586304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-07-15fate: add sub-srt-badsyntax testMichael Niedermayer
Based-on: srt sample by ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-07-14hdsenc: Remove dead storeDerek Buitenhuis
This is apparently not supposed to error out anyway. Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2017-07-14opusenc: use float_dsp for non-transient windowingRostislav Pehlivanov
Also fixes transient windowing Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-07-14avutil/threadmessage: fix error return in case of av_fifo_alloc failureAleksandr Slobodeniuk
Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-07-14avcodec: Add prefetch for mipsKaustubh Raste
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>
2017-07-14x86/vf_limiter: make limiter functions work on x86_32James Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-13checkasm: add hybrid_analysis_ileave and hybrid_synthesis_deint tests to ↵James Almer
aacpsdsp Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-13checkasm: add a g722dsp testJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-13opusenc: use float_dsp for transient mdctsRostislav Pehlivanov
vector_fmul_reverse requires padding the window at the front Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-07-13movenc: Add 'keywords' metadataKieran O'Leary
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>