X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fi965_drv_video.h;h=2979540f892bf381f114480be8d9cb99ded1a623;hb=22525bada6daea3eb70f676c23db5c4a773a0128;hp=56dcd7fa984e5b0b56c9b26ff3479e214cd9cd93;hpb=277c90798e9865e794743bcffd2ee9cd7b425c3d;p=android-x86%2Fhardware-intel-common-vaapi.git diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h index 56dcd7f..2979540 100644 --- a/src/i965_drv_video.h +++ b/src/i965_drv_video.h @@ -169,6 +169,9 @@ #define HAS_VP9_ENCODING(ctx) ((ctx)->codec_info->has_vp9_encoding && \ (ctx)->intel.has_bsd) +#define HAS_LP_VP9_ENCODING(ctx) ((ctx)->codec_info->has_lp_vp9_encoding && \ + (ctx)->intel.has_huc) + #define HAS_VP9_ENCODING_PROFILE(ctx, profile) \ (HAS_VP9_ENCODING(ctx) && \ ((ctx)->codec_info->vp9_enc_profiles & (1U << (profile - VAProfileVP9Profile0)))) @@ -499,8 +502,11 @@ struct hw_codec_info { unsigned int has_vp9_encoding: 1; unsigned int has_fei_h264_encoding: 1; unsigned int has_h264_preenc: 1; + unsigned int has_lp_vp9_encoding: 1; unsigned int lp_h264_brc_mode; + unsigned int lp_vp9_brc_mode; + unsigned int h264_brc_mode; unsigned int vp9_brc_mode;