summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/utils: fix packet duration of frames with discarded paddingsMarton Balint2016-03-28
| | | | | Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* lavd/dshow_crossbar: remove trailing whitespaceLou Logan2016-03-28
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* avfilter/af_sofalizer: allow user to setup custom virtual speakers positionsPaul B Mahol2016-03-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc/mediacodec: fix zero stride for OMX.allwinner.video.decoder.avcKirill Gavrilov2016-03-28
|
* avfilter/vf_waveform: optimize 16bit lowpass filterPaul B Mahol2016-03-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec: add dca core extraction bsfPaul B Mahol2016-03-28
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc/mediacodec: use ternary operator to set slice-height valueMatthieu Bouron2016-03-28
|
* avcodec/diracdec: check bitstream size related fields for overflowsMichael Niedermayer2016-03-28
| | | | | | | | Fixes segfault Fixes Ticket5333 Regression since bfc8a4dabe5a0154b31128b59dca575010176441 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: Fail if CUDA enabled but not foundTimo Rothenpieler2016-03-28
| | | | | Without this patch, configure still passes and enables CUDA, no matter if it was actually found, breaking the build in case it was not.
* avfilter/vf_waveform: optimize lowpass 8bit filterPaul B Mahol2016-03-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_waveform: move mirror variable into function argumentPaul B Mahol2016-03-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec: Remove libdcadec, we already have it merged internallyKieran Kunhya2016-03-27
|
* avcodec/h264_slice: Check PPS more extensively when its not copiedMichael Niedermayer2016-03-27
| | | | | | | Fixes Ticket5371 Fixes null pointer dereference Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/segment: set format options for all segmentsMarton Balint2016-03-26
| | | | | | | Fixes ticket #5318. Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* fate: Remove vsync drop from some h264 testsMichael Niedermayer2016-03-26
| | | | | | | | Note some tests need vsync drop to produce exact timestamps, these seem not to need it. quite likely many more dont need it either, ive not checked beyond finding one that needs it and the ones which have it removed Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Modify a random h264 test to also test the -framerate optionMichael Niedermayer2016-03-26
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/audiotoolboxenc: Fix compile error on OS X 10.8.Dan Dennedy2016-03-26
| | | | | | | | | | Fixes error "libavcodec/audiotoolboxenc.c:294:50: error: use of undeclared identifier 'kAudioCodecPropertyPacketSizeLimitForVBR'." That was added to 10.9: https://developer.apple.com/library/mac/releasenotes/General/APIDiffsMacOSX10_9/AudioUnit.html Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/flicvideo: Implement padding in COPY chunks.Carl Eugen Hoyos2016-03-26
| | | | Reviewed-by: Reimar
* avformat/rtpdec: Remove stray debug av_log()Michael Niedermayer2016-03-26
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/exr: add support for B44 and B44A compressionMartin Vignali2016-03-26
|
* avcodec/jpeg2000dec: add slice threading supportPaul B Mahol2016-03-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/jpeg2000dec: account two last bytes from end of bytestream as EOC markerPaul B Mahol2016-03-25
| | | | | | This silences missing EOC marker when decoding j2k files with Psot set to 0. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi: Add coreimage filter for GPU based image filtering on OSX.Thilo Borgmann2016-03-25
|
* lavu/dict: Add new flag to allow multiple equal keys.Thilo Borgmann2016-03-25
|
* sws/aarch64/yuv2rgb: save a few mul and addClément Bœsch2016-03-25
| | | | 27ms to 26ms with UHD 2160 input.
* avcodec/libopenjpegenc: fix mixed declarations and codeJames Almer2016-03-25
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libopenjpegdec: fix mixed declarations and codeJames Almer2016-03-25
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libutvideodec: copy frame so it has reference counters when ↵Michael Niedermayer2016-03-24
| | | | | | | refcounted_frames is set Reviewed-by: maintainer Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/parseutils: mark args as static constMichael Niedermayer2016-03-24
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Added more tests to libavutil/parseutils.cPetru Rares Sincraian2016-03-24
| | | | | | | - Added tests for av_find_info_tag(). - Added test for av_get_known_color_name() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtpdec_jpeg: fix low contrast image on low quality settingIco Doornekamp2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original mail and my own followup on ffmpeg-user earlier today: I have a device sending out a MJPEG/RTP stream on a low quality setting. Decoding and displaying the video with libavformat results in a washed out, low contrast, greyish image. Playing the same stream with VLC results in proper color representation. Screenshots for comparison: http://zevv.nl/div/libav/shot-ffplay.jpg http://zevv.nl/div/libav/shot-vlc.jpg A pcap capture of a few seconds of video and SDP file for playing the stream are available at http://zevv.nl/div/libav/mjpeg.pcap http://zevv.nl/div/libav/mjpeg.sdp I believe the problem might be in the calculation of the quantization tables in the function create_default_qtables(), the attached patch solves the issue for me. The problem is that the argument 'q' is of the type uint8_t. According to the JPEG standard, if 1 <= q <= 50, the scale factor 'S' should be 5000 / Q. Because the create_default_qtables() reuses the variable 'q' to store the result of this calculation, for small values of q < 19, q wil subsequently overflow and give wrong results in the calculated quantization tables. The patch below uses a new variable 'S' (same name as in RFC2435) with the proper range to store the result of the division. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vc2enc: optimize and simplify quantizationRostislav Pehlivanov2016-03-24
| | | | | | Everything except ORing the sign is now done in the LUT. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avformat/mpegtsenc: Fix used serviceMichael Niedermayer2016-03-24
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mpegtsenc: Keep track of the program for each serviceMichael Niedermayer2016-03-24
| | | | | | Simplifies code Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Refactor libavutil/parseutils.cPetru Rares Sincraian2016-03-24
| | | | | | | | | | All tests were in the main method which produces a long main. Now, each test is in his own method. I think this produces a more clear code and follows more with the main priority of FFmpeg "simplicity and small code size" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Add test that also decodes packed_bframes.aviMichael Niedermayer2016-03-23
| | | | | | | No new reference samples are needed for this as the file already exists for testing the bitstream filter Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vc2enc: simplify calc_slice_sizes()Rostislav Pehlivanov2016-03-23
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* vc2enc: correctly zero out the slice size cacheRostislav Pehlivanov2016-03-23
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* vc2enc: macro out slice size roundingRostislav Pehlivanov2016-03-23
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* lavc/psymodel: check for av_malloc failureGanesh Ajjanagadde2016-03-23
| | | | | | | | | | No idea why in commit 01ecb7172b684f1c4b3e748f95c5a9a494ca36ec the checks were removed; this can lead to NULL pointer dereferences. This effectively reverts that portion of the commit. Reviewed-by: Benoit Fouet <benoit.fouet@free.fr> Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
* avcodec/dvaudiodec: now that we got samples, fix 12bit casePaul B Mahol2016-03-23
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc: add AudioToolbox encodersRodger Combs2016-03-22
| | | | Fixes trac #4828
* lavc: add AudioToolbox decodersRodger Combs2016-03-22
| | | | Part of trac #4828
* all: move ff_exp10, ff_exp10f, ff_fast_powf to lavu/ffmath.hGanesh Ajjanagadde2016-03-22
| | | | | | | | | | | The idea is to use ffmath.h for internal implementations of math functions. Currently, it is used for variants of libm functions, but is by no means limited to such things. Note that this is not exported; use lavu/mathematics for such purposes. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
* Added a selftest to libavutil/display.cPetru Rares Sincraian2016-03-22
| | | | | | | | - Check if av_display_rotation_get() gets the correct degrees - Check if av_display_rotation_set() sets the correct matrix - Check if av_display_matrix_flip() changes correct the matrix Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* vc2enc: add non-experimental support for all video formats from specRostislav Pehlivanov2016-03-22
| | | | | | | | | Until now, for formats which were in the spec but not in the encoder's list of supported formats required the -strict -1 flag. This enables support for all video formats which are specified, all the way from QSIF525 to 8K. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* swresample/swresample: Remove "less than" comparissions of enumsMichael Niedermayer2016-03-22
| | | | | Found-by: wm4 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/img2dec: Skip COM when auto-detecting jpeg.Carl Eugen Hoyos2016-03-22
| | | | It could theoretically contain invalid data that gets ignored by decoders.
* fate: add audiomatchMichael Niedermayer2016-03-22
| | | | | Testset provided by Justin Greer <justin@zencoder.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: Remove (b)zlib and iconv dependencies for videoltoolbox encoder.Carl Eugen Hoyos2016-03-22
|