summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fate: add mxf_dv25/dvcpro50 regression testsTobias Rapp2017-09-187-0/+126
| | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* avformat/mxfenc: fix aspect ratio when writing 16:9 DV framesTobias Rapp2017-09-181-1/+1
| | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* avfilter/tinterlace: Simplify checks for lowpass filtering flagsJames Almer2017-09-181-8/+4
|
* fate: add tinterlace lowpass filtering testsThomas Mundt2017-09-173-0/+34
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavc/frame_thread_encoder: Do not mix variable declaration and code.Carl Eugen Hoyos2017-09-181-1/+2
| | | | | Fixes a warning: ISO C90 forbids mixed declarations and code
* checkasm: add an exrdsp testJames Almer2017-09-175-0/+74
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/exrdsp: improve the ExrDSPContext->reorder_pixels prototypeJames Almer2017-09-175-8/+8
| | | | | | Make dst be the first parameter and src const. It's more in line with the rest of the codebase. Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec/exr : add X86 SIMD for reorder_pixelsMartin Vignali2017-09-177-24/+199
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/vorbisenc: Fix mixed declaration and statementsMichael Niedermayer2017-09-161-2/+4
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/fits: Fix include typeMichael Niedermayer2017-09-161-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/imgutils: Fix warning: missing braces around initializerMichael Niedermayer2017-09-161-1/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/frame_thread_encoder: Fix AV_OPT_TYPE_STRING handling in avctxReimar Döffinger2017-09-161-0/+3
| | | | | | | | | This is the equivalent to what 7d317d4706b49d572a1eb5269438753be18362c7 did for the codec-specific options. av_opt_copy has specific handling so it's fine that we already copied the whole context before. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* avformat/hlsenc: fix segfault when using -hls_segment_type fmp4 with ↵Aman Gupta2017-09-161-22/+23
| | | | | | | | | | | | | | | | -hls_segment_filename previously, specifying -hls_segment_filename meant s->base_output_dirname was never set, causing a segfault: (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x00007fffbf7d82d0 libsystem_platform.dylib`_platform_strcmp + 80 frame #1: 0x00000001005f4dcf libavformat.57.dylib`io_open_default(s=0x000000010481cc00, pb=0x0000000104806020, url=0x0000000000000000, flags=2, options=0x0000000000000000) at options.c:107 frame #2: 0x0000000100528968 libavformat.57.dylib`hls_mux_init(s=0x000000010481cc00) at hlsenc.c:595 frame #3: 0x00000001005273cb libavformat.57.dylib`hls_write_header(s=0x000000010481cc00) at hlsenc.c:1518 frame #4: 0x00000001005c08d0 libavformat.57.dylib`write_header_internal(s=0x000000010481cc00) at mux.c:486 frame #5: 0x00000001005c0774 libavformat.57.dylib`avformat_write_header(s=0x000000010481cc00, options=0x00000001029026e8) at mux.c:539
* vf_fps: Fix memory leak introduced by eea64ef4Thierry Foucu2017-09-151-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/interlace: simplify codeThomas Mundt2017-09-152-42/+18
| | | | | Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/interlace: prevent over-sharpening with the complex low-pass filterThomas Mundt2017-09-154-55/+84
| | | | | | | | | | | | | | | | | The complex vertical low-pass filter slightly over-sharpens the picture. This becomes visible when several transcodings are cascaded and the error potentises, e.g. some generations of HD->SD SD->HD. To prevent this behaviour the destination pixel must not exceed the source pixel when the average of the pixels above and below is less than the source pixel. And the other way around. Tested and approved in a visual transcoding cascade test by video professionals. SSIM/PSNR test with the first generation of an HD->SD file as a reference against the 6th generation(3 x SD->HD HD->SD): Results without the patch: SSIM Y:0.956508 (13.615881) U:0.991601 (20.757750) V:0.993004 (21.551382) All:0.974405 (15.918463) PSNR y:31.838009 u:48.424280 v:48.962711 average:34.759466 min:31.699297 max:40.857847 Results with the patch: SSIM Y:0.970051 (15.236232) U:0.991883 (20.905857) V:0.993174 (21.658049) All:0.981290 (17.279202) PSNR y:34.412108 u:48.504454 v:48.969496 average:37.264644 min:34.310637 max:42.373392 Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: Improve hevc sao band filter msa functionsKaustubh Raste2017-09-152-63/+112
| | | | | | | | Preload data in band filter 0-8 for better pipeline parallelization. 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>
* avcodec/mips: Improve avc mc copy msa functionsKaustubh Raste2017-09-151-6/+75
| | | | | | | | Remove loops and unroll as block sizes are known. 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>
* avcodec/mips: Improve avc lpf msa functionsKaustubh Raste2017-09-151-290/+138
| | | | | | | | Optimize luma intra case by reducing conditional cases. 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>
* lavf/http: fix compilation without zlibClément Bœsch2017-09-151-0/+2
| | | | Regression since e2f8f14052d99d7710cda0a821e236765b315d0b.
* build: fix coreimage filters dependency to AppKit frameworkClément Bœsch2017-09-151-4/+7
| | | | AppKit is not present on iOS.
* lavc/mediacodec_wrapper: fix jni vaargs typesMatthieu Bouron2017-09-151-5/+5
| | | | Fixes decoding on 32-bit devices with Android NDK >= 15.
* lavf/http: Reset compressed header flag, fix http 302 requestJacek Jendrzej2017-09-151-0/+1
| | | | | | | Fixes ticket #6404. Fixes ticket #6666. Signed-off-by: Jacek Jendrzej <satbaby@kawaii.com>
* vf_fps: when reading EOF, using current_pts to duplicate the last frame if ↵Thierry Foucu2017-09-155-7/+49
| | | | | | | | | needed. Fix ticket #2674 Tested with examples from ticket 2674. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mips: Improve hevc idct msa functionsKaustubh Raste2017-09-151-84/+171
| | | | | | | | Align the buffers. Remove reduandant constant array. 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>
* avcodec/mips: Improve hevc lpf msa functionsKaustubh Raste2017-09-151-194/+556
| | | | | | | | Seperate the filter processing in all strong, all weak and strong + weak cases. 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>
* hwcontext_vaapi: Fix build failure with old libdrmJun Zhao2017-09-141-1/+3
| | | | | Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* kmsgrab: Fix build failure with old libdrmJun Zhao2017-09-141-0/+4
| | | | | | | | DRM_FORMAT_R8 was added in libdrm 2.4.68. DRM_FORMAT_R16 was added in libdrm 2.4.82. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avfilter/vf_despill: fix assigmentPaul B Mahol2017-09-141-1/+1
| | | | | Reported-by: Moritz Barsnick Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavd/kmsgrab: Fix packet flag settingMark Thompson2017-09-141-4/+4
| | | | Found-by: James Almer <jamrial@gmail.com>
* avcodec.h: fix doxygen commentJames Almer2017-09-141-1/+1
|
* doc/indevs: Document kmsgrab input deviceMark Thompson2017-09-131-0/+62
|
* lavd: Add KMS screen grabberMark Thompson2017-09-136-1/+460
|
* lavc: Add wrapped_avframe decoderMark Thompson2017-09-134-2/+39
| | | | | | | Intended for use with hardware frames for which rawvideo is not sufficient. Requires the trusted packet flag to be set - decoding fails if not to avoid security issues (the wrapped AVFrame can contain pointers to arbitrary data).
* lavc: Add flag to mark packets containing trusted inputMark Thompson2017-09-133-1/+11
|
* hwcontext_vaapi: Add DRM to VAAPI mappingMark Thompson2017-09-131-1/+228
|
* lavu: Add DRM hwcontextMark Thompson2017-09-1311-1/+481
|
* avcodec/extract_extradata: return an error when buffer allocation failsJames Almer2017-09-131-1/+4
| | | | | | | ret is 0 by default. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: check if NAN can be used as a constant initializerJames Almer2017-09-131-1/+7
| | | | | | Some targets, like NetBSD and DJGPP, don't seem to support it. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/fitsenc: fill header line with spacesParas Chadha2017-09-121-1/+1
| | | | | Signed-off-by: Paras Chadha <paraschadha18@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/h264_sei: add namespace prefix to frame packingarrangement enum valuesJames Almer2017-09-122-16/+16
| | | | | | Missed in 6eb102a616364d06a4cc994339b72910b3547e5f. Signed-off-by: James Almer <jamrial@gmail.com>
* h264_sei: Add namespace prefix to all SEI valuesMark Thompson2017-09-126-62/+63
| | | | | | | This avoids confusion with equivalent H.265 SEI values when both are being used at the same time. (cherry picked from commit 6ea220cbeec8863e2006a03b73bed52db2b13ee7)
* vp9: fix explicit memory order for report_progress.Ronald S. Bultje2017-09-121-1/+1
|
* avfilter/af_dcshift: do not leak out framePaul B Mahol2017-09-121-2/+2
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mxfenc: Correct the Sample rate for PCM outside D10Michael Niedermayer2017-09-123-7/+18
| | | | | | Based on mail from IRT Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Comment edit rate write code like the surrounding codeMichael Niedermayer2017-09-121-0/+1
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Replace more literal magic numbers by enum values.Michael Niedermayer2017-09-121-21/+21
| | | | | | This also moves the enum table up as it is needed earlier Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* frame_thread_encoder: make 'exit' member atomic.Ronald S. Bultje2017-09-121-5/+8
| | | | | | | | | | | | Should fix the following tsan warning: WARNING: ThreadSanitizer: data race (pid=19806) Read of size 4 at 0x7b84000012f0 by thread T9: #0 worker src/libavcodec/frame_thread_encoder.c:66 (ffmpeg+0x0000007f349e) [..] Previous write of size 4 at 0x7b84000012f0 by main thread (mutexes: write M1395): #0 ff_frame_thread_encoder_free src/libavcodec/frame_thread_encoder.c:239 (ffmpeg+0x0000007f379e) [..]
* lavfi/framesync: remove dead code.Nicolas George2017-09-121-3/+1
| | | | Fix CID 1416960.
* lavfi/framesync: reword repeatlast option help.Nicolas George2017-09-122-4/+4
|
OpenPOWER on IntegriCloud