• Home
  • Raw
  • Download

Lines Matching defs:VAAPIEncodeContext

177 typedef struct VAAPIEncodeContext {  struct
178 const AVClass *class;
181 const struct VAAPIEncodeType *codec;
186 int low_power;
189 int idr_interval;
192 int desired_b_depth;
195 int max_frame_size;
199 int explicit_rc_mode;
203 int explicit_qp;
206 unsigned int desired_packed_headers;
211 int surface_width;
212 int surface_height;
215 int slice_block_width;
216 int slice_block_height;
222 const VAAPIEncodeProfile *profile;
225 const VAAPIEncodeRCMode *rc_mode;
228 int rc_quality;
231 VAProfile va_profile;
233 VAEntrypoint va_entrypoint;
235 unsigned int va_rc_mode;
237 unsigned int va_bit_rate;
239 unsigned int va_packed_headers;
242 VAConfigAttrib config_attributes[MAX_CONFIG_ATTRIBUTES];
243 int nb_config_attributes;
245 VAConfigID va_config;
246 VAContextID va_context;
248 AVBufferRef *device_ref;
249 AVHWDeviceContext *device;
250 AVVAAPIDeviceContext *hwctx;
253 AVBufferRef *input_frames_ref;
254 AVHWFramesContext *input_frames;
257 AVBufferRef *recon_frames_ref;
258 AVHWFramesContext *recon_frames;
261 AVBufferPool *output_buffer_pool;
265 int global_params_type[MAX_GLOBAL_PARAMS];
266 const void *global_params [MAX_GLOBAL_PARAMS];
267 size_t global_params_size[MAX_GLOBAL_PARAMS];
268 int nb_global_params;
271 VAEncMiscParameterRateControl rc_params;
272 VAEncMiscParameterHRD hrd_params;
273 VAEncMiscParameterFrameRate fr_params;
274 VAEncMiscParameterBufferMaxFrameSize mfs_params;
276 VAEncMiscParameterBufferQualityLevel quality_params;
280 void *codec_sequence_params;
284 void *codec_picture_params;
287 VAAPIEncodePicture *pic_start, *pic_end;
290 VAAPIEncodePicture *next_prev;
293 int64_t input_order;
295 int64_t output_delay;
297 int64_t encode_order;
299 int64_t decode_delay;
301 int64_t output_order;
304 int64_t first_pts;
305 int64_t dts_pts_diff;
306 int64_t ts_ring[MAX_REORDER_DELAY * 3 +
310 int slice_block_rows;
311 int slice_block_cols;
312 int nb_slices;
313 int slice_size;
316 int tile_cols;
317 int tile_rows;
319 int col_width[MAX_TILE_COLS];
321 int row_height[MAX_TILE_ROWS];
323 int col_bd[MAX_TILE_COLS + 1];
325 int row_bd[MAX_TILE_ROWS + 1];
328 int gop_size;
329 int closed_gop;
330 int gop_per_idr;
331 int p_per_i;
332 int max_b_depth;
333 int b_per_p;
334 int force_idr;
335 int idr_counter;
336 int gop_counter;
337 int end_of_stream;
338 int p_to_gpb;
363 } VAAPIEncodeContext; typedef