summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* matroskaenc: fix muxing AAC streams when using aac_adtstoasc bsfJames Almer2016-11-101-6/+74
| | | | | | | | | | | | aac_adtstoasc makes the aac extradata available only after the first packet is filtered, and as packet side data. Assume extradata will be available as part of the first packet if avpriv_mpeg4audio_get_config() fails the first time due to missing extradata and reserve space for the OutputSampleRate element in the Tracks master. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* pthread_frame: properly propagate the hw frame context across frame threadsAnton Khirnov2016-11-101-0/+11
|
* mpegaudiodsp: aarch64: Adjust function prototype after ↵Diego Biurrun2016-11-101-2/+3
| | | | 2caa93b813adc5dbb7771dfe615da826a2947d18
* configure: Move license checks directly after command line parsingDiego Biurrun2016-11-091-10/+11
| | | | | This will allow to error out immediately if incompatible options are passed on the command line instead of running time-consuming tests.
* configure: Log name and parameters of all helper functions where it makes senseDiego Biurrun2016-11-091-0/+3
|
* configure: Use check_cpp in CPP flags testsDiego Biurrun2016-11-091-2/+2
|
* configure: Log correct test name and use correct filter when testing ↵Diego Biurrun2016-11-091-3/+3
| | | | objective C flags
* configure: Do not unconditionally check for (and enable) xlibDiego Biurrun2016-11-091-8/+7
| | | | This avoids unnecessarily linking against xlib.
* configure: Print list of enabled programsDiego Biurrun2016-11-091-1/+4
| | | | Also drop a related and now redundant informative output line.
* configure: Improve output wordingDiego Biurrun2016-11-091-5/+4
| | | | Also drop a redundant output line.
* avconv: Drop stray leftover debug outputDiego Biurrun2016-11-091-1/+0
|
* Use avpriv_report_missing_feature() where appropriateDiego Biurrun2016-11-0833-79/+73
|
* configure: Add --quiet command line parameter to suppress informative outputDiego Biurrun2016-11-081-1/+8
|
* fate: checkasm: Split monolithic test into individual componentsDiego Biurrun2016-11-081-4/+22
|
* checkasm: Add --test parameter to check only specific componentsDiego Biurrun2016-11-081-10/+18
| | | | Inspired by a patch from Martin Storsjö <martin@martin.st>.
* mov: Read multiple stsd from DVVittorio Giovara2016-11-081-0/+2
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hevc: Support extradata changes from multiple stsdVittorio Giovara2016-11-082-7/+15
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hevc: Allow parsing external extradata buffersVittorio Giovara2016-11-081-7/+5
|
* hevc: Move hevc_decode_extradata before frame decodingVittorio Giovara2016-11-081-74/+74
| | | | | | Avoids a forward-declaration in the following commit. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add hevc main10 profile to avconv cliVittorio Giovara2016-11-082-1/+2
|
* lavu: Rename ycgco color space appropriatelyVittorio Giovara2016-11-085-5/+7
| | | | | | Planes are ordered as the name suggests now. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* h264_qpel: x86: Move function with only one instance out of template macroDiego Biurrun2016-11-081-9/+11
| | | | libavcodec/x86/h264_qpel.c:392:785: warning: unused function 'ff_avg_h264_qpel8or16_hv1_lowpass_mmxext' [-Wunused-function]
* avplay: Correct function pointer assignments in options arrayDiego Biurrun2016-11-081-1/+1
| | | | avplay.c:2928:5: warning: ISO C forbids initialization between function pointer and ‘void *’ [-Wpedantic]
* avconv: Correct function pointer assignments in options arrayDiego Biurrun2016-11-081-3/+3
| | | | | Fixes several warnings of the type avconv_opt.c:2356:5: warning: ISO C forbids initialization between function pointer and ‘void *’ [-Wpedantic]
* lzf: update pointer p after reallocAndreas Cadhalpun2016-11-071-0/+2
| | | | | | | This fixes heap-use-after-free detected by AddressSanitizer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* swscale: Add GRAY12Luca Barbato2016-11-0710-0/+17
|
* pixfmt: Add GRAY12Luca Barbato2016-11-074-1/+30
|
* qsv{enc,dec}: extend the internal frame allocatorAnton Khirnov2016-11-074-35/+252
| | | | | | | Handle the internal frame requests, which is required by the HEVC encoding plugin. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* qsv{dec,enc}: use a struct as a memory id with internal memory allocatorAnton Khirnov2016-11-074-5/+47
| | | | | | | This will allow implementing the allocator more fully, which is needed by the HEVC encoder plugin with video memory input. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* qsv{dec,enc}: always use an internal mfxFrameSurface1Anton Khirnov2016-11-073-33/+36
| | | | | | | | For encoding, this avoids modifying the input surface, which we are not allowed to do. This will also be useful in the following commits. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_qsv: support frame mappingAnton Khirnov2016-11-071-0/+37
| | | | Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_qsv: transfer data through the child context when VPP failsAnton Khirnov2016-11-071-0/+40
| | | | | | | | Uploading/downloading data through VPP may not work for some formats, in that case we can still try to call av_hwframe_transfer_data() on the child context. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_qsv: do not fail when download/upload VPP session creation failsAnton Khirnov2016-11-071-2/+14
| | | | | | | Certain pixel formats (e.g. P8) might not be supported for download/upload through VPP operations, but can still be used otherwise. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_qsv: add support for the P8 formatAnton Khirnov2016-11-071-0/+1
| | | | | | | | | | | | When using GPU surfaces with QSV, one needs to supply a frame allocator, which will be invoked to pass surface pools to libmfx. For encoding, this allocator gets invoked not only for the pool of input frames, but also for a separate pool of (apparently) reconstructed frames and another pool of MFX_FOURCC_P8, which on Windows needs to return D3DFMT_P8 D3D surfaces. Those are probably used to store the encoded bitstream on the GPU. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_dxva2: add support for the P8 formatAnton Khirnov2016-11-071-2/+18
| | | | | | | This format is used internally by the QSV encoder to store the encoded bitstream. Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* hwcontext_dxva2: frame mapping supportAnton Khirnov2016-11-071-21/+68
| | | | Signed-off-by: Maxym Dmytrychenko <maxym.dmytrychenko@intel.com>
* dxva2: fix surface selection when compiled with both d3d11va and dxva2Hendrik Leppkes2016-11-071-1/+2
| | | | | | | Fixes a regression introduced in be630b1e08ebe8f766b1798accd6b8e5e096f5aa Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libx265: Add option to force IDR framesDerek Buitenhuis2016-11-072-2/+5
| | | | | | | This is in the same the same vein as 380146924ecad2e05e9dcc5c3c2e1b5ba47c51e8. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* x86: Drop stray semicolons after function definitionsDiego Biurrun2016-11-052-11/+11
| | | | | libavcodec/x86/rv40dsp_init.c:97:2: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic] libavcodec/x86/vp9dsp_init.c:94:40: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
* configure: Silence lld-link when getting the version numberMartin Storsjö2016-11-041-1/+1
| | | | | | | | | | | | In recent lld-link versions, this command prints the version to stdout, but also prints an error to stderr: $ lld-link -flavor gnu --version LLD 4.0.0 (trunk 285641) lld-link: error: no input files lld-link: error: target emulation unknown: -m or at least one .o file required Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: vp9mc: Insert a literal pool at the middle of the fileMartin Storsjö2016-11-041-0/+1
| | | | | | | | | This fixes errors like this when building non-pic binaries with armv6 as baseline: Error: invalid literal constant: pool needs to be closer Signed-off-by: Martin Storsjö <martin@martin.st>
* hwcontext_vaapi: Frame mapping supportMark Thompson2016-11-031-41/+52
| | | | | Can map to any supported software format (using a GPU copy if it doesn't actually match the surface format underneath).
* lavfi: Hardware map filterMark Thompson2016-11-034-1/+338
| | | | | | | | | | | | Takes a frame associated with a hardware context as input and maps it to something else (another hardware frame or normal memory) for other processing. If the frame to map was originally in the target format (but mapped to something else), the original frame is output. Also supports mapping backwards, where only the output has a hardware context. The link immediately before will be supplied with mapped hardware frames which it can write directly into, and this filter then unmaps them back to the actual hardware frames.
* hwcontext: Hardware frame mappingMark Thompson2016-11-035-7/+365
| | | | | | | | | | Adds the new av_hwframe_map() function, which allows mapping between hardware frames and normal memory, along with internal support for implementing it. Also adds av_hwframe_ctx_create_derived(), for creating a hardware frames context associated with one device using frames mapped from another by some hardware-specific means.
* Drop unreachable break and return statementsDiego Biurrun2016-11-038-12/+0
|
* float_dsp: Have implementation match function pointer prototypeDiego Biurrun2016-11-031-1/+1
| | | | | libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 1 different from declaration libavutil/x86/float_dsp_init.c(144) : warning C4028: formal parameter 2 different from declaration
* dnxhdenc: Have function pointer prototype match implementationDiego Biurrun2016-11-031-2/+4
| | | | | libavcodec/dnxhdenc.c(326) : warning C4028: formal parameter 1 different from declaration libavcodec/dnxhdenc.c(329) : warning C4028: formal parameter 1 different from declaration
* pixblockdsp: Have function pointer prototype match implementationDiego Biurrun2016-11-031-2/+4
| | | | | | libavcodec/pixblockdsp.c(58) : warning C4028: formal parameter 1 different from declaration libavcodec/pixblockdsp.c(63) : warning C4028: formal parameter 1 different from declaration libavcodec/pixblockdsp.c(66) : warning C4028: formal parameter 1 different from declaration
* ituh263dec: Have function signature match across declaration and definitionDiego Biurrun2016-11-031-1/+5
| | | | | libavcodec/ituh263dec.c(215) : warning C4028: formal parameter 1 different from declaration libavcodec/ituh263dec.c(215) : warning C4028: formal parameter 2 different from declaration
* vf_hwupload_cuda: Fix build errorMark Thompson2016-11-031-1/+1
| | | | | | Broken by e3fb74f7f9a8f1895381355f40c92cac3c1023d9. Signed-off-by: Diego Biurrun <diego@biurrun.de>
OpenPOWER on IntegriCloud