• Home
  • Raw
  • Download

Lines Matching defs:VAAPIEncodeContext

175 typedef struct VAAPIEncodeContext {  struct
176 const AVClass *class;
179 const struct VAAPIEncodeType *codec;
184 int low_power;
187 int idr_interval;
190 int desired_b_depth;
194 int explicit_rc_mode;
198 int explicit_qp;
201 unsigned int desired_packed_headers;
206 int surface_width;
207 int surface_height;
210 int slice_block_width;
211 int slice_block_height;
217 const VAAPIEncodeProfile *profile;
220 const VAAPIEncodeRCMode *rc_mode;
223 int rc_quality;
226 VAProfile va_profile;
228 VAEntrypoint va_entrypoint;
230 unsigned int va_rc_mode;
232 unsigned int va_bit_rate;
234 unsigned int va_packed_headers;
237 VAConfigAttrib config_attributes[MAX_CONFIG_ATTRIBUTES];
238 int nb_config_attributes;
240 VAConfigID va_config;
241 VAContextID va_context;
243 AVBufferRef *device_ref;
244 AVHWDeviceContext *device;
245 AVVAAPIDeviceContext *hwctx;
248 AVBufferRef *input_frames_ref;
249 AVHWFramesContext *input_frames;
252 AVBufferRef *recon_frames_ref;
253 AVHWFramesContext *recon_frames;
256 AVBufferPool *output_buffer_pool;
260 int global_params_type[MAX_GLOBAL_PARAMS];
261 const void *global_params [MAX_GLOBAL_PARAMS];
262 size_t global_params_size[MAX_GLOBAL_PARAMS];
263 int nb_global_params;
266 VAEncMiscParameterRateControl rc_params;
267 VAEncMiscParameterHRD hrd_params;
268 VAEncMiscParameterFrameRate fr_params;
270 VAEncMiscParameterBufferQualityLevel quality_params;
274 void *codec_sequence_params;
278 void *codec_picture_params;
281 VAAPIEncodePicture *pic_start, *pic_end;
284 VAAPIEncodePicture *next_prev;
287 int64_t input_order;
289 int64_t output_delay;
291 int64_t encode_order;
293 int64_t decode_delay;
295 int64_t output_order;
298 int64_t first_pts;
299 int64_t dts_pts_diff;
300 int64_t ts_ring[MAX_REORDER_DELAY * 3];
303 int slice_block_rows;
304 int slice_block_cols;
305 int nb_slices;
306 int slice_size;
309 int tile_cols;
310 int tile_rows;
312 int col_width[MAX_TILE_COLS];
314 int row_height[MAX_TILE_ROWS];
316 int col_bd[MAX_TILE_COLS + 1];
318 int row_bd[MAX_TILE_ROWS + 1];
321 int gop_size;
322 int closed_gop;
323 int gop_per_idr;
324 int p_per_i;
348 } VAAPIEncodeContext; argument