- 23 Sep, 2018 31 commits
-
-
Marton Balint authored
Also bump the API version requirement to 10.9.5, because on olders versions there were some reports of crashes using the undocumented, yet available BMDDeckLinkDeviceHandle. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Linjie Fu authored
If vaEndPicture() failed in ff_vaapi_decode_issue(), free the pic->slice_buffers. Fixes the memory leak issue in ticket #7385 Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
-
Mark Thompson authored
Sets the level based on the stream properties if it is not explicitly set by the user. Also add a tier option to set general_tier_flag, since that affects the level choice.
-
Mark Thompson authored
Adds support for determining for level limits, including mapping PTL blocks to profiles to check profile-dependent level limits.
-
Mark Thompson authored
Set profile compatibility/constraint flags properly (including the constraint flags used for RExt profiles, as all streams we can currently generate are RExt-compatible), and use that to add support for the "Main Intra" and "Main 10 Intra" RExt subprofiles (for which we can re-use the existing Main and Main10 VAAPI profiles).
-
Mark Thompson authored
-
Mark Thompson authored
-
Mark Thompson authored
A recent version of the standard changed the max and default to 15, from 16 in older versions. This updates the default to 15 to match, but the max stays as 16 so that we don't reject older streams.
-
Mark Thompson authored
-
Mark Thompson authored
-
Mark Thompson authored
Including a unit test.
-
Mark Thompson authored
Give the entries in the VAAPI format map table an explicit type and add functions to do the necessary lookups. Add another field to this table indicating whether the chroma planes are swapped (as in YV12), and use that rather than explicit comparisons where swapping is needed.
-
Mark Thompson authored
-
Mark Thompson authored
Also adds greyscale, 4:2:2, 4:4:4 and RGB support.
-
Mark Thompson authored
-
Mark Thompson authored
Clarify that the list is the naughty list, and therefore being on it is not desirable. The i965 driver does not need to be on the list after version 2.0 (when the standard parameter buffer rendering behaviour was changed).
-
Mark Thompson authored
-
Mark Thompson authored
-
Mark Thompson authored
constraint_set1_flag should be set for constrained baseline and main profiles, because the stream conforms to main profile. constraint_set3_flag should be set for high profile when the stream is intra-only. constraint_set4_flag should always be set for main and high profiles because interlaced encoding is not supported. constraint_set5_flag should be set for main and high profiles when B-frames are not used. Also fix the setting of max_num_ref_frames - use the gop_size value to check for intra-only rather than the constraint flag (which is not necessarily set).
-
Mark Thompson authored
Add a larger warning more clearly explaining the consequences of missing packed header support in the driver. Also only write the extradata if the user actually requests it via the GLOBAL_HEADER flag.
-
Mark Thompson authored
Choose what types of reference frames will be used based on what types are available, and make the intra-only mode explicit (GOP size one, which must be used for MJPEG).
-
Mark Thompson authored
This was added in libva 2.1.0 (VAAPI 1.1.0). Use AVCodecContext.qmax, matching the existing behaviour for qmin, and clean up the defaults so that we only pass min/max when explicitly set.
-
Mark Thompson authored
Query which modes are supported and select between VBR and CBR based on that - this removes all of the codec-specific rate control mode selection code.
-
Mark Thompson authored
The codec sequence headers may contain fields which can overwrite the fine parameters given in the specific settings (e.g. a crude bitrate value vs. the max-rate / target-percentage / etc. values in VAEncMiscParameterRateControl). Always reapply all global parameters after a sequence header to avoid this causing problems.
-
Mark Thompson authored
-
Mark Thompson authored
Include the common options, and also named options for setting the profile and level.
-
Mark Thompson authored
The only common option here is low_power - it was previously supported for H.264 only, that specific option is removed.
-
Mark Thompson authored
Previously there was one fixed choice for each codec (e.g. H.265 -> Main profile), and using anything else then required an explicit option from the user. This changes to selecting the profile based on the input format and the set of profiles actually supported by the driver (e.g. P010 input will choose Main 10 profile for H.265 if the driver supports it). The entrypoint and render target format are also chosen dynamically in the same way, removing those explicit selections from the per-codec code.
-
Mark Thompson authored
Set the minimum version to 0.35.0 (libva 1.3.0) and remove redundant configure tests. This also allows the proprietary libmfx fork of libva, which always shows the version number 0.99.0 (independent of the actual version).
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 22 Sep, 2018 1 commit
-
-
Martin Vignali authored
fix test on osx based on suggestion by Hendrik Leppkes
-
- 21 Sep, 2018 8 commits
-
-
Michael Niedermayer authored
Fixes: 9924/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EAC3_fuzzer-5473421772193792 Fixes: left shift of 1 by 63 places cannot be represented in type 'long long' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
James Almer authored
This reverts commit 4755b6e6. This change was not necessary. CodecPrivate was being written to WebM for codecs like AV1 already.
-
James Almer authored
This is now needed for AV1. Signed-off-by: James Almer <jamrial@gmail.com>
-
Kagami Hiiragi authored
Nothing prevents it to work except this check. AV1 is already supported by Matroska muxer and aomenc produces WebM/AV1 files as well. Signed-off-by: Kagami Hiiragi <kagami@genshiken.org> Signed-off-by: James Almer <jamrial@gmail.com>
-
Pedro Arthur authored
-
Jun Zhao authored
Add missing conversions from side data enum to name. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-
Jun Zhao authored
Add missing conversions from side data enum to name. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-