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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-20dnxhdenc: Optimize get_pixels_8x4_sym for 10-bitTimothy Gu
This reverts commit 628e6d0164febc8e69b0f10dfa487e8a2dd1a28a and uses a better fix. Before: 4483 decicycles in get_pixels_8x4_sym, 131032 runs, 40 skips After: 2569 decicycles in get_pixels_8x4_sym, 131054 runs, 18 skips
2015-10-20dca_parser: don't overwrite the sample rate, it may not be correctHendrik Leppkes
The parser only reads the dca core sample rate, which is limited to a maximum of 48000 Hz, while X96 and HD extensions can increase the sample rate up to 192000 Hz. This change prevents the parser and decoder fighting over the sample rate, potentially confusing user applications. This also fixes sample rate display of >48000Hz files with ffmpeg/ffprobe when using libdcadec. Fixes ticket #4397
2015-10-20avformat/mp3dec: improve junk skipping heuristicwm4
Commit 2b3e9bbfb529e6bde238aeb511b55ebe461664c8 caused problems for a certain API user: https://code.google.com/p/chromium/issues/detail?id=537725 https://code.google.com/p/chromium/issues/detail?id=542032 The problem seems rather arbitrary, because if there's junk, anything can happen. In this case, the imperfect junk skipping just caused it to read different junk, from what I can see. We can improve the accuracy of junk detection by a lot by checking if 2 consecutive frames use the same configuration. While in theory it might be completely fine for the 1st frame to have a different format than the 2nd frame, it's exceedingly unlikely, and I can't think of a legitimate use-case. This is approximately the same mpg123 does for junk skipping. The set of compared header bits is the same as the libavcodec mp3 parser uses for similar purposes.
2015-10-20avformat: add wve demuxerPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-20avformat: add msf demuxerPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-20compat/solaris/make_sunver.pl: Use /usr/bin/env perl instead of /usr/bin/perlMichael Niedermayer
This is how the other perl scripts in git call perl Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-20huffyuvencdsp: Use intptr_t for widthTimothy Gu
It is done this way in huffyuvdsp as well.
2015-10-20x86: vc1dsp_mmx: Move yasm initiation steps to vc1dsp_initTimothy Gu
That's where all yasm initiation steps are. Also removes the overlap between the two files.
2015-10-20x86: fpel: Remove erroneous ff_put_pixels8_mmxext prototypeTimothy Gu
This function does not exist.
2015-10-20x86: fpel: Move prototypes for 4-px block functionsTimothy Gu
2015-10-19avcodec/mpegaudio_parser: Update comment to match codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-19vp9_parser: fix endless loop w/0-sized frameJames Zern
treat this the same as an over-sized superframe packet to break out of the parser loop and allow the decoder to fail. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Zern <jzern@google.com>
2015-10-19lavu/intmath.h: Move x86 only msvc/icl functions to x86 specific header.Matt Oliver
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2015-10-19lavu/intmath.h: Add msvc/icl ctzll optimisations.Matt Oliver
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2015-10-19avutil/opt: display a better default value for int/int64 optionsClément Bœsch
Example: % ./ffmpeg -h encoder=aac -aac_coder <int> E...A... Coding algorithm (from -1 to 3) (default twoloop) faac E...A... FAAC-inspired method anmr E...A... ANMR method twoloop E...A... Two loop searching method fast E...A... Constant quantizer [...]
2015-10-18avfilter/af_flanger: free frame on ENOMEMKyle Swanson
Signed-off-by: Kyle Swanson <k@ylo.ph> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-18avutil: use EINVAL instead of -1 for the return code of crypto related init ↵Ganesh Ajjanagadde
functions These functions return an error typically when the key size is an incorrect number. AVERROR(EINVAL) is more specific than -1. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-18avformat/vag: Remove unused variable posMichael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-18avfilter: add zscale filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-18avcodec/bitstream: replace qsort with AV_QSORTGanesh Ajjanagadde
Commit 3a0a2f33a6c955823fa4fb12c0b49cd29a496659 claims large performance advantages for AV_QSORT over libc's qsort. The reason is that I suspect that libc's qsort (at least on non LTO builds, like the typical FFmpeg config) can't inline the comparison callback: https://stackoverflow.com/questions/5290695/is-there-any-way-a-c-c-compiler-can-inline-a-c-callback-function. AV_QSORT has two things going for it: 1. The guaranteed inlining of qsort itself. This yields a negligible boost that may be ignored. 2. The more serious possibility of potentially allowing the comparison function to be inlined - this is likely responsible for the large boosts reported. There is a comment explaining that this is a place that could use some performance improvement. Thus AV_QSORT is used to achieve that. Benchmarks deemed unnecessary due to existing claims about AV_QSORT. Tested with FATE. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-18configure: Simplify using --disable-all.Carl Eugen Hoyos
libavutil was always built, allow its dependencies to be enabled.
2015-10-18avcodec/adpcm: increase max channels for ADPCM PSX to 8Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-18avformat/rsd: add VAG supportPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-18libavcodec/mpegvideo_enc.c: Fix encoding videos with less frames than the ↵Alexis Ballier
delay of the encoder. When the encoder is fed with less frames than its delay, the picture list looks like { NULL, NULL, ..., frame, frame, frame }. When flushing the encoder (input frame == NULL), we need to ensure the picture list is shifted enough so that we do not return an empty packet, which would mean the encoder has finished, while it has not encoded any frame. Before the patch, the command: './ffmpeg_g -loglevel debug -f lavfi -i "testsrc=d=0.01" -bf 2 -vcodec mpeg2video out.mxf' prints: Output stream #0:0 (video): 1 frames encoded; 0 packets muxed (0 bytes); After: Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (8058 bytes); Relates to ticket #4817. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-18avcodec/mpegvideo_enc: Merge ifs with identical conditionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-18avcodec/mpegvideo_enc: Factor new_picture unref outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-18avfilter/af_ladspa: check functions return value in query_formatsPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-18avfilter/internal: Doxygen for ff_fmt_is_inGanesh Ajjanagadde
This clarifies and adds Doxygen for ff_fmt_is_in. Reviewed-by: Timothy Gu <timothygu99@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-18aacenc_ltp: adjust and speed up autocorrelation calculationsRostislav Pehlivanov
There were some errors in the calculation as well as an entire unnecessary loop to find the gain coefficient. Merge the two loops. Thanks to @ubitux for the suggestions and testing.
2015-10-17mpegts: Make the sdt_period a doubleDerek Buitenhuis
Having it as a float didn't even allow enough precision to check for INT_MAX/2. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2015-10-17mpegts: Make the pat_period a doubleDerek Buitenhuis
Having it as a float didn't even allow enough precision to check for INT_MAX/2. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2015-10-17avformat/vag: fix demuxing stereo filesPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-17avcodec/aacenc: Fix "libavcodec/aacenc.c:540:13: warning: ISO C90 forbids ↵Michael Niedermayer
mixed declarations and code" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-17tests/fate-run: Remove ./ from run ffmpeg callMichael Niedermayer
This makes it consistent with ffprobe Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-17concatdec: fix file_start_time calculation regressionMarton Balint
Fixes ticket #4924. Found-by: Jaroslav Šnajdr <jsnajdr@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-17avfilter/internal: add av_warn_unused_resultGanesh Ajjanagadde
av_warn_unused_result is added to functions whose return status should be checked. Currently does not trigger any warnings, but should be useful for future robustness. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-17chromakey: Use the pixel descriptor API for chroma subsampling infoTimothy Gu
2015-10-17libavformat/Makefile: remove unnecessary object file from wtv demuxerHendrik Leppkes
The wtv demuxer doesn't reference any functionality from asfdec or asfcrypt
2015-10-17avfilter/selectivecolor: fix correction_method option rangeClément Bœsch
2015-10-17aacenc_ltp: correct header description commentRostislav Pehlivanov
2015-10-17fate: use -profile:a aac_ltp instead of -aac_ltp 1 for LTP encode testRostislav Pehlivanov
The fate test command line is supposed to serve as an example. It's nicer to explicitly state the profile rather than setting options to force it for you.
2015-10-17aacenc_ltp: replace av_clip() with av_clip_uintp2()Rostislav Pehlivanov
Suggested by ubitux. Convenient.
2015-10-17aacenc_ltp: fix assertionRostislav Pehlivanov
A value of 2048 will overflow 11 bits.
2015-10-17avformat/rsd: Check av_new_packet() return valueMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-17avformat/genh: Check av_new_packet() return valueMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-17tests/fate-run: Remove PROGSUF from function callsMichael Niedermayer
Fixes make fate V=2 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-17fate: increase fuzz on AAC LTP encoding testRostislav Pehlivanov
Fails on some newer systems (archlinux with a modern GCC version).
2015-10-17fate: add a parameter to disable TNS for the other encoder testsRostislav Pehlivanov
Since it became the default option, in order to prevent interference with the other tests, disable it.
2015-10-17aacenc_tns: enable Temporal Noise Shaping by defaultRostislav Pehlivanov
In light of the recent changes to the TNS system, it has been deemed worthy and robust enough to be turned on by default.
2015-10-17fate: adjust the target for the new TNS changesRostislav Pehlivanov