AOMedia Codec SDK: aom/aom_encoder.h Source File

AOMedia Codec SDK

aom_encoder.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3 *
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10 */
11 #ifndef AOM_AOM_ENCODER_H_
12 #define AOM_AOM_ENCODER_H_
13
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33 #include "aom/aom_codec.h"
34
43 #define AOM_ENCODER_ABI_VERSION \
44 (5 + AOM_CODEC_ABI_VERSION)
55 #define AOM_CODEC_CAP_PSNR 0x10000
62 #define AOM_CODEC_CAP_OUTPUT_PARTITION 0x20000
63
66 #define AOM_CODEC_CAP_HIGHBITDEPTH 0x40000
67
75 #define AOM_CODEC_USE_PSNR 0x10000
77 #define AOM_CODEC_USE_OUTPUT_PARTITION 0x20000
78 #define AOM_CODEC_USE_HIGHBITDEPTH 0x40000
84 typedef struct aom_fixed_buf {
85 void *buf;
86 size_t sz;
87 } aom_fixed_buf_t;
94 typedef int64_t aom_codec_pts_t;
95
103 typedef uint32_t aom_codec_frame_flags_t;
104 #define AOM_FRAME_IS_KEY 0x1
107 #define AOM_FRAME_IS_DROPPABLE 0x2
108
109 #define AOM_FRAME_IS_INVISIBLE 0x4
110
111 #define AOM_FRAME_IS_FRAGMENT 0x8
112
119 typedef uint32_t aom_codec_er_flags_t;
121 #define AOM_ERROR_RESILIENT_DEFAULT 0x1
122
126 #define AOM_ERROR_RESILIENT_PARTITIONS 0x2
127
134 enum aom_codec_cx_pkt_kind {
135 AOM_CODEC_CX_FRAME_PKT,
136 AOM_CODEC_STATS_PKT,
137 AOM_CODEC_FPMB_STATS_PKT,
138 AOM_CODEC_PSNR_PKT,
139 AOM_CODEC_CUSTOM_PKT = 256
140 };
141
147 typedef struct aom_codec_cx_pkt {
148 enum aom_codec_cx_pkt_kind kind;
149 union {
150 struct {
151 void *buf;
152 size_t sz;
154 aom_codec_pts_t pts;
156 unsigned long duration;
157 aom_codec_frame_flags_t flags;
161 int partition_id;
163 size_t vis_frame_size;
164 } frame;
165 aom_fixed_buf_t twopass_stats;
166 aom_fixed_buf_t firstpass_mb_stats;
167 struct aom_psnr_pkt {
168 unsigned int samples[4];
169 uint64_t sse[4];
170 double psnr[4];
171 } psnr;
172 aom_fixed_buf_t raw;
174 /* This packet size is fixed to allow codecs to extend this
175 * interface without having to manage storage for raw packets,
176 * i.e., if it's smaller than 128 bytes, you can store in the
177 * packet list directly.
178 */
179 char pad[128 - sizeof(enum aom_codec_cx_pkt_kind)];
180 } data;
181 } aom_codec_cx_pkt_t;
187 typedef struct aom_rational {
188 int num;
189 int den;
190 } aom_rational_t;
193 enum aom_enc_pass {
194 AOM_RC_ONE_PASS,
195 AOM_RC_FIRST_PASS,
196 AOM_RC_LAST_PASS
197 };
198
200 enum aom_rc_mode {
201 AOM_VBR,
202 AOM_CBR,
203 AOM_CQ,
204 AOM_Q,
205 };
206
215 enum aom_kf_mode {
216 AOM_KF_FIXED,
217 AOM_KF_AUTO,
218 AOM_KF_DISABLED = 0
219 };
220
228 typedef long aom_enc_frame_flags_t;
229 #define AOM_EFLAG_FORCE_KF (1 << 0)
237 typedef struct aom_codec_enc_cfg {
238 /*
239 * generic settings (g)
240 */
241
249 unsigned int g_usage;
250
257 unsigned int g_threads;
258
267 unsigned int g_profile;
276 unsigned int g_w;
277
285 unsigned int g_h;
286
290 unsigned int g_limit;
291
297 unsigned int g_forced_max_frame_width;
298
304 unsigned int g_forced_max_frame_height;
305
312 aom_bit_depth_t g_bit_depth;
313
320 unsigned int g_input_bit_depth;
321
334 struct aom_rational g_timebase;
335
342 aom_codec_er_flags_t g_error_resilient;
343
349 enum aom_enc_pass g_pass;
350
363 unsigned int g_lag_in_frames;
364
365 /*
366 * rate control settings (rc)
367 */
368
385 unsigned int rc_dropframe_thresh;
386
394 unsigned int rc_resize_mode;
395
402 unsigned int rc_resize_denominator;
403
410 unsigned int rc_resize_kf_denominator;
411
421 unsigned int rc_superres_mode;
422
433 unsigned int rc_superres_denominator;
434
443 unsigned int rc_superres_kf_denominator;
444
452 unsigned int rc_superres_qthresh;
453
461 unsigned int rc_superres_kf_qthresh;
462
471 enum aom_rc_mode rc_end_usage;
472
478 aom_fixed_buf_t rc_twopass_stats_in;
479
485 aom_fixed_buf_t rc_firstpass_mb_stats_in;
486
491 unsigned int rc_target_bitrate;
492
493 /*
494 * quantizer settings
495 */
496
505 unsigned int rc_min_quantizer;
506
515 unsigned int rc_max_quantizer;
516
517 /*
518 * bitrate tolerance
519 */
520
531 unsigned int rc_undershoot_pct;
532
543 unsigned int rc_overshoot_pct;
544
545 /*
546 * decoder buffer model parameters
547 */
548
558 unsigned int rc_buf_sz;
559
567 unsigned int rc_buf_initial_sz;
568
576 unsigned int rc_buf_optimal_sz;
577
578 /*
579 * 2 pass rate control parameters
580 */
581
590 unsigned int rc_2pass_vbr_bias_pct;
591
597 unsigned int rc_2pass_vbr_minsection_pct;
598
604 unsigned int rc_2pass_vbr_maxsection_pct;
605
606 /*
607 * keyframing settings (kf)
608 */
609
613 int fwd_kf_enabled;
614
621 enum aom_kf_mode kf_mode;
622
630 unsigned int kf_min_dist;
631
639 unsigned int kf_max_dist;
640
646 unsigned int sframe_dist;
647
661 unsigned int sframe_mode;
662
669 unsigned int large_scale_tile;
670
676 unsigned int monochrome;
677
685 unsigned int full_still_picture_hdr;
686
693 unsigned int save_as_annexb;
694
701 int tile_width_count;
702
709 int tile_height_count;
710
715 #define MAX_TILE_WIDTHS 64 // maximum tile width array length
716
722 int tile_widths[MAX_TILE_WIDTHS];
723
728 #define MAX_TILE_HEIGHTS 64 // maximum tile height array length
729
735 int tile_heights[MAX_TILE_HEIGHTS];
736
740 cfg_options_t cfg;
741 } aom_codec_enc_cfg_t;
765 aom_codec_err_t aom_codec_enc_init_ver(aom_codec_ctx_t *ctx,
766 aom_codec_iface_t *iface,
767 const aom_codec_enc_cfg_t *cfg,
768 aom_codec_flags_t flags, int ver);
769
774 #define aom_codec_enc_init(ctx, iface, cfg, flags) \
775 aom_codec_enc_init_ver(ctx, iface, cfg, flags, AOM_ENCODER_ABI_VERSION)
776
797 aom_codec_err_t aom_codec_enc_init_multi_ver(
798 aom_codec_ctx_t *ctx, aom_codec_iface_t *iface, aom_codec_enc_cfg_t *cfg,
799 int num_enc, aom_codec_flags_t flags, aom_rational_t *dsf, int ver);
800
805 #define aom_codec_enc_init_multi(ctx, iface, cfg, num_enc, flags, dsf) \
806 aom_codec_enc_init_multi_ver(ctx, iface, cfg, num_enc, flags, dsf, \
807 AOM_ENCODER_ABI_VERSION)
808
828 aom_codec_err_t aom_codec_enc_config_default(aom_codec_iface_t *iface,
829 aom_codec_enc_cfg_t *cfg,
830 unsigned int reserved);
831
846 aom_codec_err_t aom_codec_enc_config_set(aom_codec_ctx_t *ctx,
847 const aom_codec_enc_cfg_t *cfg);
848
860 aom_fixed_buf_t *aom_codec_get_global_headers(aom_codec_ctx_t *ctx);
861
886 aom_codec_err_t aom_codec_encode(aom_codec_ctx_t *ctx, const aom_image_t *img,
887 aom_codec_pts_t pts, unsigned long duration,
888 aom_enc_frame_flags_t flags);
889
933 aom_codec_err_t aom_codec_set_cx_data_buf(aom_codec_ctx_t *ctx,
934 const aom_fixed_buf_t *buf,
935 unsigned int pad_before,
936 unsigned int pad_after);
937
961 const aom_codec_cx_pkt_t *aom_codec_get_cx_data(aom_codec_ctx_t *ctx,
962 aom_codec_iter_t *iter);
963
976 const aom_image_t *aom_codec_get_preview_frame(aom_codec_ctx_t *ctx);
977
979 #ifdef __cplusplus
980 }
981 #endif
982 #endif // AOM_AOM_ENCODER_H_
AOM_KF_AUTO
Definition: aom_encoder.h:217
aom_codec_enc_cfg::rc_superres_mode
unsigned int rc_superres_mode
Frame super-resolution scaling mode.
Definition: aom_encoder.h:421
aom_fixed_buf::buf
void * buf
Definition: aom_encoder.h:85
aom_codec_enc_cfg::kf_max_dist
unsigned int kf_max_dist
Keyframe maximum interval.
Definition: aom_encoder.h:639
aom_codec_enc_init_ver
aom_codec_err_t aom_codec_enc_init_ver(aom_codec_ctx_t *ctx, aom_codec_iface_t *iface, const aom_codec_enc_cfg_t *cfg, aom_codec_flags_t flags, int ver)
Initialize an encoder instance.
aom_codec_enc_cfg::rc_superres_qthresh
unsigned int rc_superres_qthresh
Frame super-resolution q threshold.
Definition: aom_encoder.h:452
AOM_RC_LAST_PASS
Definition: aom_encoder.h:196
aom_codec_enc_cfg::g_w
unsigned int g_w
Width of the frame.
Definition: aom_encoder.h:276
aom_codec_cx_pkt::sse
uint64_t sse[4]
Definition: aom_encoder.h:169
aom_codec_enc_cfg::rc_target_bitrate
unsigned int rc_target_bitrate
Target data rate.
Definition: aom_encoder.h:491
aom_codec_er_flags_t
uint32_t aom_codec_er_flags_t
Error Resilient flags.
Definition: aom_encoder.h:119
aom_codec_enc_cfg::rc_superres_denominator
unsigned int rc_superres_denominator
Frame super-resolution denominator.
Definition: aom_encoder.h:433
aom_codec_enc_cfg::rc_buf_optimal_sz
unsigned int rc_buf_optimal_sz
Decoder Buffer Optimal Size.
Definition: aom_encoder.h:576
aom_codec_enc_cfg
Encoder configuration structure.
Definition: aom_encoder.h:237
aom_codec_cx_pkt::samples
unsigned int samples[4]
Definition: aom_encoder.h:168
aom_codec_enc_cfg::rc_twopass_stats_in
aom_fixed_buf_t rc_twopass_stats_in
Two-pass stats buffer.
Definition: aom_encoder.h:478
aom_rc_mode
aom_rc_mode
Rate control mode.
Definition: aom_encoder.h:200
aom_codec_cx_pkt_t
struct aom_codec_cx_pkt aom_codec_cx_pkt_t
Encoder output packet.
aom_codec_pts_t
int64_t aom_codec_pts_t
Time Stamp Type.
Definition: aom_encoder.h:94
aom_codec_enc_cfg::rc_firstpass_mb_stats_in
aom_fixed_buf_t rc_firstpass_mb_stats_in
first pass mb stats buffer.
Definition: aom_encoder.h:485
AOM_CBR
Definition: aom_encoder.h:202
aom_codec_frame_flags_t
uint32_t aom_codec_frame_flags_t
Compressed Frame Flags.
Definition: aom_encoder.h:103
aom_codec_enc_cfg::g_error_resilient
aom_codec_er_flags_t g_error_resilient
Enable error resilient modes.
Definition: aom_encoder.h:342
aom_rational
Rational Number.
Definition: aom_encoder.h:187
aom_codec_ctx
Codec context structure.
Definition: aom_codec.h:204
aom_codec_enc_cfg::rc_2pass_vbr_minsection_pct
unsigned int rc_2pass_vbr_minsection_pct
Two-pass mode per-GOP minimum bitrate.
Definition: aom_encoder.h:597
aom_codec_enc_config_default
aom_codec_err_t aom_codec_enc_config_default(aom_codec_iface_t *iface, aom_codec_enc_cfg_t *cfg, unsigned int reserved)
Get a default configuration.
aom_codec_get_preview_frame
const aom_image_t * aom_codec_get_preview_frame(aom_codec_ctx_t *ctx)
Get Preview Frame.
aom_codec_cx_pkt::pts
aom_codec_pts_t pts
time stamp to show frame (in timebase units)
Definition: aom_encoder.h:154
aom_image
Image Descriptor.
Definition: aom_image.h:141
aom_codec_cx_pkt::psnr
double psnr[4]
Definition: aom_encoder.h:170
aom_codec_enc_cfg::rc_undershoot_pct
unsigned int rc_undershoot_pct
Rate control adaptation undershoot control.
Definition: aom_encoder.h:531
aom_codec_cx_pkt::raw
aom_fixed_buf_t raw
Definition: aom_encoder.h:172
aom_kf_mode
aom_kf_mode
Keyframe placement mode.
Definition: aom_encoder.h:215
aom_codec_set_cx_data_buf
aom_codec_err_t aom_codec_set_cx_data_buf(aom_codec_ctx_t *ctx, const aom_fixed_buf_t *buf, unsigned int pad_before, unsigned int pad_after)
Set compressed data output buffer.
aom_fixed_buf
Generic fixed size buffer structure.
Definition: aom_encoder.h:84
aom_codec_enc_cfg::g_profile
unsigned int g_profile
Bitstream profile to use.
Definition: aom_encoder.h:267
aom_codec_get_cx_data
const aom_codec_cx_pkt_t * aom_codec_get_cx_data(aom_codec_ctx_t *ctx, aom_codec_iter_t *iter)
Encoded data iterator.
aom_codec_encode
aom_codec_err_t aom_codec_encode(aom_codec_ctx_t *ctx, const aom_image_t *img, aom_codec_pts_t pts, unsigned long duration, aom_enc_frame_flags_t flags)
Encode a frame.
aom_codec_iface_t
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition: aom_codec.h:181
aom_codec_enc_cfg::rc_buf_initial_sz
unsigned int rc_buf_initial_sz
Decoder Buffer Initial Size.
Definition: aom_encoder.h:567
aom_codec_cx_pkt_kind
aom_codec_cx_pkt_kind
Encoder output packet variants.
Definition: aom_encoder.h:134
aom_codec_enc_cfg::g_limit
unsigned int g_limit
Max number of frames to encode.
Definition: aom_encoder.h:290
AOM_CODEC_PSNR_PKT
Definition: aom_encoder.h:138
AOM_CODEC_STATS_PKT
Definition: aom_encoder.h:136
cfg_options
Config Options.
Definition: aom_codec.h:542
aom_codec_cx_pkt::sz
size_t sz
Definition: aom_encoder.h:152
aom_codec_cx_pkt::kind
enum aom_codec_cx_pkt_kind kind
Definition: aom_encoder.h:148
aom_codec.h
Describes the codec algorithm interface to applications.
aom_codec_enc_cfg::rc_2pass_vbr_maxsection_pct
unsigned int rc_2pass_vbr_maxsection_pct
Two-pass mode per-GOP maximum bitrate.
Definition: aom_encoder.h:604
aom_codec_enc_cfg::g_forced_max_frame_width
unsigned int g_forced_max_frame_width
Forced maximum width of the frame.
Definition: aom_encoder.h:297
aom_codec_enc_cfg::fwd_kf_enabled
int fwd_kf_enabled
Option to enable forward reference key frame.
Definition: aom_encoder.h:613
aom_codec_cx_pkt::duration
unsigned long duration
duration to show frame (in timebase units)
Definition: aom_encoder.h:156
aom_codec_enc_cfg::sframe_mode
unsigned int sframe_mode
sframe insertion mode
Definition: aom_encoder.h:661
aom_codec_enc_cfg::g_forced_max_frame_height
unsigned int g_forced_max_frame_height
Forced maximum height of the frame.
Definition: aom_encoder.h:304
AOM_RC_ONE_PASS
Definition: aom_encoder.h:194
aom_codec_cx_pkt::frame
struct aom_codec_cx_pkt::@1::@2 frame
AOM_CODEC_CX_FRAME_PKT
Definition: aom_encoder.h:135
aom_codec_enc_cfg::rc_2pass_vbr_bias_pct
unsigned int rc_2pass_vbr_bias_pct
Two-pass mode CBR/VBR bias.
Definition: aom_encoder.h:590
aom_codec_enc_cfg::rc_resize_mode
unsigned int rc_resize_mode
Mode for spatial resampling, if supported by the codec.
Definition: aom_encoder.h:394
aom_fixed_buf_t
struct aom_fixed_buf aom_fixed_buf_t
Generic fixed size buffer structure.
aom_codec_cx_pkt::buf
void * buf
Definition: aom_encoder.h:151
MAX_TILE_WIDTHS
#define MAX_TILE_WIDTHS
Maximum number of tile widths in tile widths array.
Definition: aom_encoder.h:715
aom_codec_enc_cfg::rc_max_quantizer
unsigned int rc_max_quantizer
Maximum (Worst Quality) Quantizer.
Definition: aom_encoder.h:515
MAX_TILE_HEIGHTS
#define MAX_TILE_HEIGHTS
Maximum number of tile heights in tile heights array.
Definition: aom_encoder.h:728
aom_codec_enc_cfg::rc_buf_sz
unsigned int rc_buf_sz
Decoder Buffer Size.
Definition: aom_encoder.h:558
AOM_CODEC_FPMB_STATS_PKT
Definition: aom_encoder.h:137
AOM_CQ
Definition: aom_encoder.h:203
aom_codec_enc_cfg::rc_overshoot_pct
unsigned int rc_overshoot_pct
Rate control adaptation overshoot control.
Definition: aom_encoder.h:543
AOM_VBR
Definition: aom_encoder.h:201
aom_codec_enc_cfg::large_scale_tile
unsigned int large_scale_tile
Tile coding mode.
Definition: aom_encoder.h:669
aom_enc_pass
aom_enc_pass
Multi-pass Encoding Pass.
Definition: aom_encoder.h:193
aom_codec_get_global_headers
aom_fixed_buf_t * aom_codec_get_global_headers(aom_codec_ctx_t *ctx)
Get global stream headers.
aom_codec_cx_pkt::vis_frame_size
size_t vis_frame_size
size of the visible frame in this packet
Definition: aom_encoder.h:163
aom_codec_enc_config_set
aom_codec_err_t aom_codec_enc_config_set(aom_codec_ctx_t *ctx, const aom_codec_enc_cfg_t *cfg)
Set or change configuration.
aom_codec_enc_cfg::rc_resize_kf_denominator
unsigned int rc_resize_kf_denominator
Keyframe resize denominator.
Definition: aom_encoder.h:410
aom_codec_enc_init_multi_ver
aom_codec_err_t aom_codec_enc_init_multi_ver(aom_codec_ctx_t *ctx, aom_codec_iface_t *iface, aom_codec_enc_cfg_t *cfg, int num_enc, aom_codec_flags_t flags, aom_rational_t *dsf, int ver)
Initialize multi-encoder instance.
aom_codec_enc_cfg::kf_min_dist
unsigned int kf_min_dist
Keyframe minimum interval.
Definition: aom_encoder.h:630
aom_codec_enc_cfg::full_still_picture_hdr
unsigned int full_still_picture_hdr
full_still_picture_hdr
Definition: aom_encoder.h:685
aom_codec_enc_cfg::monochrome
unsigned int monochrome
Monochrome mode.
Definition: aom_encoder.h:676
aom_codec_iter_t
const void * aom_codec_iter_t
Iterator.
Definition: aom_codec.h:194
aom_codec_enc_cfg::rc_resize_denominator
unsigned int rc_resize_denominator
Frame resize denominator.
Definition: aom_encoder.h:402
aom_rational_t
struct aom_rational aom_rational_t
Rational Number.
aom_codec_enc_cfg_t
struct aom_codec_enc_cfg aom_codec_enc_cfg_t
Encoder configuration structure.
aom_codec_flags_t
long aom_codec_flags_t
Initialization-time Feature Enabling.
Definition: aom_codec.h:174
aom_codec_enc_cfg::cfg
cfg_options_t cfg
Options defined per config file.
Definition: aom_encoder.h:740
aom_codec_cx_pkt::partition_id
int partition_id
the partition id defines the decoding order of the partitions. Only applicable when "output partition...
Definition: aom_encoder.h:161
AOM_CODEC_CUSTOM_PKT
Definition: aom_encoder.h:139
aom_bit_depth_t
enum aom_bit_depth aom_bit_depth_t
Bit depth for codecThis enumeration determines the bit depth of the codec.
aom_codec_enc_cfg::g_usage
unsigned int g_usage
Algorithm specific "usage" value.
Definition: aom_encoder.h:249
aom_codec_enc_cfg::g_input_bit_depth
unsigned int g_input_bit_depth
Bit-depth of the input frames.
Definition: aom_encoder.h:320
aom_codec_err_t
aom_codec_err_t
Algorithm return codes.
Definition: aom_codec.h:101
aom_codec_cx_pkt::twopass_stats
aom_fixed_buf_t twopass_stats
Definition: aom_encoder.h:165
AOM_KF_FIXED
Definition: aom_encoder.h:216
AOM_Q
Definition: aom_encoder.h:204
aom_rational::den
int den
Definition: aom_encoder.h:189
aom_codec_cx_pkt::pad
char pad[128 - sizeof(enum aom_codec_cx_pkt_kind)]
Definition: aom_encoder.h:179
aom_codec_enc_cfg::sframe_dist
unsigned int sframe_dist
sframe interval
Definition: aom_encoder.h:646
aom_codec_cx_pkt::firstpass_mb_stats
aom_fixed_buf_t firstpass_mb_stats
Definition: aom_encoder.h:166
aom_codec_cx_pkt
Encoder output packet.
Definition: aom_encoder.h:147
aom_codec_enc_cfg::tile_width_count
int tile_width_count
Number of explicit tile widths specified.
Definition: aom_encoder.h:701
aom_codec_enc_cfg::rc_min_quantizer
unsigned int rc_min_quantizer
Minimum (Best Quality) Quantizer.
Definition: aom_encoder.h:505
aom_rational::num
int num
Definition: aom_encoder.h:188
aom_codec_cx_pkt::flags
aom_codec_frame_flags_t flags
Definition: aom_encoder.h:157
aom_codec_enc_cfg::g_lag_in_frames
unsigned int g_lag_in_frames
Allow lagged encoding.
Definition: aom_encoder.h:363
aom_codec_enc_cfg::rc_superres_kf_denominator
unsigned int rc_superres_kf_denominator
Keyframe super-resolution denominator.
Definition: aom_encoder.h:443
aom_enc_frame_flags_t
long aom_enc_frame_flags_t
Encoded Frame Flags.
Definition: aom_encoder.h:228
aom_codec_enc_cfg::g_threads
unsigned int g_threads
Maximum number of threads to use.
Definition: aom_encoder.h:257
aom_codec_cx_pkt::data
union aom_codec_cx_pkt::@1 data
aom_codec_enc_cfg::tile_height_count
int tile_height_count
Number of explicit tile heights specified.
Definition: aom_encoder.h:709
aom_codec_enc_cfg::g_bit_depth
aom_bit_depth_t g_bit_depth
Bit-depth of the codec.
Definition: aom_encoder.h:312
aom_codec_enc_cfg::rc_superres_kf_qthresh
unsigned int rc_superres_kf_qthresh
Keyframe super-resolution q threshold.
Definition: aom_encoder.h:461
aom_fixed_buf::sz
size_t sz
Definition: aom_encoder.h:86
AOM_RC_FIRST_PASS
Definition: aom_encoder.h:195
aom_codec_enc_cfg::save_as_annexb
unsigned int save_as_annexb
Bitstream syntax mode.
Definition: aom_encoder.h:693
AOM_KF_DISABLED
Definition: aom_encoder.h:218
aom_codec_enc_cfg::g_h
unsigned int g_h
Height of the frame.
Definition: aom_encoder.h:285
aom_codec_enc_cfg::rc_dropframe_thresh
unsigned int rc_dropframe_thresh
Temporal resampling configuration, if supported by the codec.
Definition: aom_encoder.h:385