diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2013-08-07 13:00:23 +0800 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-08-27 11:16:45 +0200 |
commit | b6878e29680c33580ef78da529c383459a5c2a98 (patch) | |
tree | 68e76e24244624d45783e7be5dc45391eb6ba3e1 | |
parent | 43c3a2f79d63e638e0765af66ad650d6ba45e163 (diff) | |
download | libva-b6878e29680c33580ef78da529c383459a5c2a98.tar.gz |
va.h: move the parameter of VP8 encoding into misc data structure
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r-- | va/va.h | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -1081,9 +1081,13 @@ typedef struct _VAEncMiscParameterRateControl * then the rate control will guarantee the target bit-rate over a 500 ms window */ unsigned int window_size; - /* initial QP at I frames */ + /* initial_qp: initial QP for the first I frames + * min_qp/max_qp: minimal and maximum QP frames + * If set them to 0, encoder chooses the best QP according to rate control + */ unsigned int initial_qp; unsigned int min_qp; + unsigned int max_qp; unsigned int basic_unit_size; union { @@ -1121,7 +1125,20 @@ typedef struct _VAEncMiscParameterAIR typedef struct _VAEncMiscParameterHRD { + /** + * \brief This value indicates the amount of data that will + * be buffered by the decoding application prior to beginning playback + */ unsigned int initial_buffer_fullness; /* in bits */ + /** + * \brief This value indicates the amount of data that the + * encoder should try to maintain in the decoder's buffer + */ + unsigned int optimal_buffer_fullness; /* in bits */ + /** + * \brief This value indicates the amount of data that + * may be buffered by the decoding application + */ unsigned int buffer_size; /* in bits */ } VAEncMiscParameterHRD; |