- 27 11月, 2017 16 次提交
-
-
由 Philip Langdale 提交于
-
由 Mark Thompson 提交于
Enables VP8 decoding - the decoder places the the bitstream version in the profile field, which we want to ignore.
-
由 Mark Thompson 提交于
-
由 Mark Thompson 提交于
Also adds some extra fields to the main context structure that may be needed by a hwaccel decoder. The current behaviour of the WebP decoder is maintained by adding an additional field to the VP8 decoder private context to indicate that it is actually being used as WebP (no hwaccel is supported for that case).
-
由 Mark Thompson 提交于
Also fixes a bug where it could attempt to decode with an unsupported codec if allow-profile-mismatch was set.
-
由 Mark Thompson 提交于
Removes specific support for all hwaccels supported by the generic code (DXVA2, D3D11VA, NVDEC, VAAPI and VDPAU).
-
由 Mark Thompson 提交于
-
由 Mark Thompson 提交于
They are now unused.
-
由 Mark Thompson 提交于
There is no longer any need for a list of them at runtime, because decoders now carry the pointers to their associated hwaccels internally. The file containing external declarations is now used to make the list of hwaccels for configure.
-
由 Mark Thompson 提交于
-
由 Mark Thompson 提交于
This removes the dependency that hardware pixel formats previously had on AVHWAccel instances, meaning only those which actually do something need exist after this patch. Also updates avcodec_default_get_format() to be able to choose hardware formats if either a matching device has been supplied or no additional external configuration is required, and avcodec_get_hw_frames_parameters() to use the hardware config rather than searching the old hwaccel list. The FF_CODEC_CAP_HWACCEL_REQUIRE_CLASS mechanism is deleted because it no longer does anything (the codec already contains the pointers to the matching hwaccels).
-
由 Mark Thompson 提交于
This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwaccels as external declarations - this will be used later to generate the hwaccel list at configure time.
-
由 Mark Thompson 提交于
-
由 Michael Niedermayer 提交于
Fixes: chromium-773637/clusterfuzz-testcase-minimized-6418078673141760 Found-by: ossfuzz/chromium Reviewed-by: NJames Almer <jamrial@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Michael Niedermayer 提交于
Fixes: runtime error: signed integer overflow: -2143827186 - 7404944 cannot be represented in type 'int' Fixes: 4354/clusterfuzz-testcase-minimized-4671122764201984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Derek Buitenhuis 提交于
Prevents a segfault when alloc fails. Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 26 11月, 2017 16 次提交
-
-
由 Mark Thompson 提交于
-
由 Mark Thompson 提交于
-
由 Mark Thompson 提交于
Reviewed-by: NTimo Rothenpieler <timo@rothenpieler.org>
-
由 Mark Thompson 提交于
Drivers can support a format for surfaces without also supporting it for images, so we can't assume that sw_format is usable for transfer. This would previously hit an assert in cases where it isn't.
-
由 Derek Buitenhuis 提交于
Fixes NULL dereference during alloc failure. Signed-off-by: NDerek Buitenhuis <derek.buitenhuis@gmail.com>
-
由 Paul B Mahol 提交于
Signed-off-by: NPaul B Mahol <onemda@gmail.com>
-
由 Rostislav Pehlivanov 提交于
Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 Rostislav Pehlivanov 提交于
Also makes it more robust than using volatiles. Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 Rostislav Pehlivanov 提交于
Signed-off-by: NRostislav Pehlivanov <atomnuker@gmail.com>
-
由 James Almer 提交于
Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc> Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc> Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 Martin Vignali 提交于
-
由 Martin Vignali 提交于
-
由 Martin Vignali 提交于
decode rgtc1 block in gray8 picture
-
由 Jan Ekström 提交于
Makes the uninit function re-entrable, which can be a common case when an API user first tries to initialize its context, fails, and then finally unrefs the AVHWDevice. Fixes a crash reported by sm2345 on IRC.
-
由 Mikulas Patocka 提交于
The commit b7c16a3f ("x86: fft: Port to cpuflags") breaks the opus decoder in ffmpeg when compiling for 3dnow. The output is audible, but there's a lot of noise. The reason for the breakage is that the commit unintentionally changed the INTERL macro so that it is empty when compiling for 3dnow. This patch fixes it. Signed-off-by: NMikulas Patocka <mikulas@twibright.com> Signed-off-by: NJames Almer <jamrial@gmail.com>
-
- 25 11月, 2017 8 次提交
-
-
由 Mark Thompson 提交于
device_uninit can be called twice if device_init fails.
-
由 Mark Thompson 提交于
This is helpful to know what device has actually been used.
-
由 James Almer 提交于
Both are autodetected, and their dependency on cuda is checked elsewhere. Fixes ticket #6849. Reviewed-by: NPhilip Langdale <philipl@overt.org> Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 Mark Thompson 提交于
Also fix a typo and fill hashes and dates.
-
由 Mark Thompson 提交于
This was added for compatibility with libav, by leaving a space for formats added in libav to be merged. Since that feature has been removed, we don't need a gap here. Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Mark Thompson 提交于
* commit '136e7cf6': qsv/hevcdec: Load hw plugin by default on non-windows os Merged-by: NMark Thompson <sw@jkqxz.net>
-
由 Richard Ling 提交于
-
由 Mikulas Patocka 提交于
This patch fixes the following error when compiling mplayer with libopus. libavcodec/libopusdec.c: In function 'libopus_decode_init': libavcodec/libopusdec.c:130:27: error: implicit declaration of function 'ff_exp10'; did you mean 'ff_exp2fi'? [-Werror=implicit-function-declaration] double gain_lin = ff_exp10(gain_db / (20.0 * 256)); ^~~~~~~~ ff_exp2fi Signed-off-by: NMikulas Patocka <mikulas@twibright.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-