31 #ifndef __VA_FEI_HEVC_H__
32 #define __VA_FEI_HEVC_H__
48 typedef struct _VAEncMiscParameterFEIFrameControlHEVC {
91 uint32_t num_mv_predictors_l0 : 16;
92 uint32_t num_mv_predictors_l1 : 16;
95 uint32_t search_path : 8;
97 uint32_t reserved0 : 16;
104 uint32_t multi_pred_l0 : 4;
105 uint32_t multi_pred_l1 : 4;
112 uint32_t sub_pel_mode : 2;
113 uint32_t adaptive_search : 1;
122 uint32_t mv_predictor_input : 3;
124 uint32_t per_block_qp : 1;
126 uint32_t per_ctb_input : 1;
129 uint32_t colocated_ctb_distortion : 1;
135 uint32_t force_lcu_split : 1;
137 uint32_t enable_cu64_check : 1;
139 uint32_t enable_cu64_amp_check : 1;
145 uint32_t cu64_skip_check_only : 1;
146 uint32_t reserved1 : 11;
149 uint32_t ref_width : 8;
152 uint32_t ref_height : 8;
164 uint32_t search_window : 8;
166 uint32_t max_num_ime_search_center : 3;
169 uint32_t fast_intra_mode : 1;
170 uint32_t reserved2 : 4;
177 uint32_t num_concurrent_enc_frame_partition : 8;
178 uint32_t reserved3 : 24;
187 uint32_t reserved4[2];
200 typedef struct _VAEncFEIMVPredictorHEVC {
205 uint8_t ref_idx_l0 : 4;
206 uint8_t ref_idx_l1 : 4;
213 uint32_t block_size : 2;
214 uint32_t reserved : 30;
220 typedef struct _VAEncFEICTBControlHEVC {
222 uint32_t force_to_intra : 1;
223 uint32_t force_to_inter : 1;
224 uint32_t force_to_skip : 1;
226 uint32_t force_to_zero_coeff : 1;
227 uint32_t reserved0 : 28;
240 typedef struct _VAEncFEIDistortionHevc {
Application can use this definition as reference to allocate the buffer based on MaxNumPredictor retu...
Definition: va_fei_hevc.h:200
uint8_t * delta_qp
delta QP list for every pass
Definition: va_fei_hevc.h:185
uint32_t max_frame_size
max frame size control with multi passes QP setting
Definition: va_fei_hevc.h:181
Generic motion vector data structure.
Definition: va.h:413
VABufferID ctb_ctrl
CTB control input buffer. It is valid only when per_ctb_input is set to 1. The data in this buffer co...
Definition: va_fei_hevc.h:57
FEI CTB level control data structure.
Definition: va_fei_hevc.h:220
VABufferID qp
Qp input buffer. It is valid only when per_block_qp is set to 1. The data in this buffer correspond t...
Definition: va_fei_hevc.h:80
VAGenericID VABufferID
Definition: va.h:2016
VABufferID ctb_cmd
CTB cmd per CTB data output of ENC it is reserved for CTB level information it should include CU spli...
Definition: va_fei_hevc.h:63
uint32_t colocated_ctb_distortion
Definition: va_fei_hevc.h:244
The FEI encoding common API.
uint32_t best_distortion
Definition: va_fei_hevc.h:242
VABufferID cu_record
CU record data output of ENC it is reserved for CU level information it should include CU detail data...
Definition: va_fei_hevc.h:69
VABufferID mv_predictor
MV predictor. It is valid only when mv_predictor_input is set to non-zero. Each CTB block has one or ...
Definition: va_fei_hevc.h:86
VAEncFEIDistortionHevc defines the data structure for VAEncFEIDistortionBufferType per CTB block...
Definition: va_fei_hevc.h:240
uint32_t num_passes
number of passes, every pass has different QP
Definition: va_fei_hevc.h:183
FEI frame level control buffer for HEVC.
Definition: va_fei_hevc.h:48
VABufferID distortion
distortion output of ENC or ENC_PAK. Each CTB has one distortion data with VAEncFEIDistortionHevc Buf...
Definition: va_fei_hevc.h:75