Update vaapi_wrapper.h
This commit is contained in:
parent
b4ddbb7247
commit
b65026de0a
1 changed files with 10 additions and 6 deletions
|
@ -209,12 +209,16 @@ class MEDIA_GPU_EXPORT VaapiWrapper
|
||||||
// Returns false if |rt_format| or |va_profile| is not supported for decoding.
|
// Returns false if |rt_format| or |va_profile| is not supported for decoding.
|
||||||
static bool IsDecodingSupportedForInternalFormat(VAProfile va_profile,
|
static bool IsDecodingSupportedForInternalFormat(VAProfile va_profile,
|
||||||
unsigned int rt_format);
|
unsigned int rt_format);
|
||||||
|
// Gets the minimum and maximum surface sizes allowed for |va_profile| in
|
||||||
// Gets the minimum surface size allowed for decoding using |va_profile|.
|
// |codec_mode|. Returns true if both sizes can be obtained, false otherwise.
|
||||||
// Returns true if the size can be obtained, false otherwise. The minimum
|
// Each dimension in |min_size| will be at least 1 (as long as this method
|
||||||
// dimension (width or height) returned is 1. Particularly, if a dimension is
|
// returns true). Additionally, because of the initialization in
|
||||||
// not reported by the driver, the dimension is returned as 1.
|
// VASupportedProfiles::FillProfileInfo_Locked(), the |max_size| is guaranteed
|
||||||
static bool GetDecodeMinResolution(VAProfile va_profile, gfx::Size* min_size);
|
// to not be empty (as long as this method returns true).
|
||||||
|
static bool GetSupportedResolutions(VAProfile va_profile,
|
||||||
|
CodecMode codec_mode,
|
||||||
|
gfx::Size& min_size,
|
||||||
|
gfx::Size& max_size);
|
||||||
|
|
||||||
// Gets the maximum surface size allowed for decoding using |va_profile|.
|
// Gets the maximum surface size allowed for decoding using |va_profile|.
|
||||||
// Returns true if the size can be obtained, false otherwise. Because of the
|
// Returns true if the size can be obtained, false otherwise. Because of the
|
||||||
|
|
Loading…
Reference in a new issue