summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavfi: Add OpenCL overlay filterMark Thompson2017-11-22
| | | | | Input and output formats must be the same, the overlay format must be the same as the input except possibly with an additional alpha component.
* lavfi: Add infrastructure for building OpenCL source into libavfilterMark Thompson2017-11-22
|
* lavfi: Add some common code for OpenCL filteringMark Thompson2017-11-22
|
* hwcontext_opencl: DRM to OpenCL mapping for ARMMark Thompson2017-11-22
| | | | | | | | Using cl_arm_import_memory. Unfortunately, despite this not being a standard extension, the function clImportMemoryARM() is not accessible via clGetExtensionFunctionAddressForPlatform(). This means that it has to be linked directly to the ARM OpenCL binary, so making a portable binary is not possible as it is with all other mapping extensions.
* hwcontext_opencl: D3D11 to OpenCL mappingMark Thompson2017-11-22
| | | | Using cl_khr_d3d11_sharing and cl_intel_d3d11_nv12_media_sharing.
* hwcontext_opencl: DXVA2 to OpenCL mappingMark Thompson2017-11-22
| | | | Using cl_khr_dx9_media_sharing.
* hwcontext_opencl: QSV to OpenCL mapping for Intel Media SDKMark Thompson2017-11-22
| | | | | Uses the cl_intel_va_api_media_sharing extension, which supports only NV12 surfaces and only mapping from QSV to OpenCL.
* hwcontext_opencl: VAAPI to OpenCL mapping for Intel i965+beignetMark Thompson2017-11-22
| | | | Supports all surface formats in common between the two.
* lavu: OpenCL hwcontext implementationMark Thompson2017-11-22
|
* lavu: Add OpenCL hardware pixfmtMark Thompson2017-11-22
|
* doc: Add FAQs about running in background (rev 2)Jim DeLaHunt2017-11-22
| | | | | | | | | | | | | | | | Add two FAQs about running FFmpeg in the background. The first explains the use of the -nostdin option in a straightforward way. Text revised based on review. The second FAQ starts from a confusing error message, and leads to the solution, use of the -nostdin option. The purpose of the second FAQ is to attract web searches from people having the problem, and offer them a solution. Add an anchor to the Main Options section of the ffmpeg documentation, so that the FAQs can link directly there. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Increment stsd_count while processing stsd data; avoids leaks.Dale Curtis2017-11-22
| | | | | | | | | | In the event of ff_mov_read_stsd_entries() failure, sc->stsd_count is not updated, even if the function allocates extradata memory. Instead update the sc->stsd_count as entries are parsed so that mov_read_close() can do the right thing. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/jpeg2000: Dynamically allocate codeblock dataMichael Niedermayer2017-11-22
| | | | | | | | | | | Fixes: OOM Fixes: 3541/clusterfuzz-testcase-minimized-6469958596820992 Adds support for decoding codeblock data larger than 8kb Reduces decoder memory consumption Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avdevice/decklink_dec: autodetect the video input formatKarthick J2017-11-22
| | | | | | When -format_code is not specified autodetection will happen. Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink: refactor ff_decklink_set_format functionKarthick J2017-11-21
| | | | | | This is done to enable input format autodetection in decklink_dec. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/mpeg4videodec: Check also for negative versions in the validity checkMichael Niedermayer2017-11-21
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_asetnsamples: add missing error checkPaul B Mahol2017-11-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* checkasm/utvideodsp: zero initialize the entire bufferJames Almer2017-11-21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/utvideodsp: fix mixed declarations and codeJames Almer2017-11-21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* x86/utvideodsp: reuse shared constantsJames Almer2017-11-21
| | | | | | | Remove the broadcast instructions as well now that they are wide enough. Signed-off-by: James Almer <jamrial@gmail.com>
* x86/constants: make pb_80 32 byte wideJames Almer2017-11-21
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/avf_avectorscope: add swap and mirror optionsPaul B Mahol2017-11-21
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* fate/hapdec : add test for hapqa decodingMartin Vignali2017-11-21
|
* avcodec/hapdec : add support for hapqa decodingMartin Vignali2017-11-21
|
* avcodec/hapdec : indent after previous commitMartin Vignali2017-11-21
|
* avcodec/hapdec : reorganize code before adding multi-texture decodingMartin Vignali2017-11-21
|
* avcodec/huffyuvdspenc : add diff_int16 AVX2 funcMartin Vignali2017-11-21
|
* avcodec/huffyuvdspenc : reorganize diff_int16Martin Vignali2017-11-21
|
* avcodec/huffyuvdsp : add add_int16 AVX2 funcMartin Vignali2017-11-21
|
* avcodec/huffyuvdsp : reorganize add_int16 asmMartin Vignali2017-11-21
|
* avcodec/huffyuvdsp(enc) : move duplicate macro to a template fileMartin Vignali2017-11-21
|
* checkasm : add test for huffyuvdsp add_int16Martin Vignali2017-11-21
|
* avcodec/x86/utvideodsp.asm : cosmeticMartin Vignali2017-11-21
| | | | | better func separator and add comment for the restore rgb planes10 declaration
* avcodec/utvideodsp : add avx2 version for the dspMartin Vignali2017-11-21
|
* avcodec/x86/utvideodsp : make macro for funcMartin Vignali2017-11-21
|
* checkasm : add utvideodsp testMartin Vignali2017-11-21
|
* ffmpeg: add return value check to supress the build warning.Jun Zhao2017-11-21
| | | | | | | | | add return value check to supress the build warning message like "warning: ignoring return value" when use attribute -Wunused-result. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: 刘歧 <lq@chinaffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dashenc: Added configuration to override HTTP User-AgentKarthick J2017-11-21
| | | | | Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Propagate errors in mov_switch_root.Jacob Trimble2017-11-21
| | | | | Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Close ogg stream upon error when using AV_EF_EXPLODE.Dale Curtis2017-11-21
| | | | | | | | Without this there can be multiple memory leaks for unrecognized ogg streams. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Fix undefined shift on assumed 8-bit input.Dale Curtis2017-11-21
| | | | | | | | | | | | | decode_user_data() attempts to create an integer |build| value with 8 bits of spacing for 3 components. However each component is an int32_t, so shifting each component is undefined for values outside of the 8 bit range. This patch simply clamps input to 8-bits per component and prints out a warning that the values were clamped. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libvpxenc: remove pre-1.4.0 checksJames Zern2017-11-20
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
* libvpxdec: remove pre-1.4.0 checksJames Zern2017-11-20
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
* libvpx: remove pre-1.4.0 checksJames Zern2017-11-20
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
* configure: require libvpx-1.4.0 for vp[89] supportJames Zern2017-11-20
| | | | | | | | this will simplify libvpxenc/dec.c and ensure more stable versions of the codecs are present. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
* x86/jpeg2000dsp: add ff_ict_float_{fma3,fma4}James Almer2017-11-20
| | | | | | | | | jpeg2000_ict_float_c: 2296.0 jpeg2000_ict_float_sse: 628.0 jpeg2000_ict_float_avx: 317.0 jpeg2000_ict_float_fma3: 262.0 Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/jpeg2000dsp: add test for ict_floatJames Almer2017-11-20
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/jpeg2000dsp: refactor rct_int testJames Almer2017-11-20
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/avio: remove must_flush from AVIOContextMarton Balint2017-11-20
| | | | | | It is unused. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/hevcdsp_template: Fix invalid shift in put_hevc_epel_bi_w_v()Michael Niedermayer2017-11-20
| | | | | | | | Fixes: runtime error: left shift of negative value -255 Fixes: 4037/clusterfuzz-testcase-minimized-5290998163832832 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>