diff options
author | Penne <penne.y.lee@intel.com> | 2014-09-24 03:54:00 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-09-27 10:29:12 +0800 |
commit | 69e3925199d328fbbf25c27896bb88ae13389db0 (patch) | |
tree | 7dfb62ed663497b133d09be906753b3164e265d8 | |
parent | 3861636528765fa7c05a4f552f455a37a9f5d9a3 (diff) | |
download | libva-69e3925199d328fbbf25c27896bb88ae13389db0.tar.gz |
Add new encoding attribute to enable Dynamic Scaling
Signed-off-by: Penne <penne.y.lee@intel.com>
Signed-off-by: Wang, Ce <ce.wang@intel.com>
-rw-r--r-- | va/va.h | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -666,6 +666,17 @@ typedef enum VAConfigAttribEncParallelRateControl = 29, /** + * \brief Dynamic Scaling Attribute. Read-only. + * This attribute conveys whether encoder is capable to determine dynamic frame + * resolutions adaptive to bandwidth utilization and processing power, etc., as well + * as capable to scale raw source and reference frames. + * It is a boolean value 0 - unsupported, 1 - supported. + * If it is supported, app may enable it by setting enable_dynamic_scaling in + * VAEncMiscParameterRateControl. + */ + VAConfigAttribEncDynamicScaling = 30, + + /** * \brief Intel specific attributes start at 1001 */ /** @@ -1625,7 +1636,8 @@ typedef struct _VAEncMiscParameterRateControl unsigned int temporal_id : 8; unsigned int cfs_I_frames : 1; /* I frame also follows CFS */ unsigned int enable_parallel_brc : 1; - unsigned int reserved : 15; + unsigned int enable_dynamic_scaling : 1; + unsigned int reserved : 14; } bits; unsigned int value; } rc_flags; |