Go to the documentation of this file.
10 #ifndef VPX_VPX_VP8CX_H_
11 #define VPX_VPX_VP8CX_H_
58 #define VP8_EFLAG_NO_REF_LAST (1 << 16)
66 #define VP8_EFLAG_NO_REF_GF (1 << 17)
74 #define VP8_EFLAG_NO_REF_ARF (1 << 21)
81 #define VP8_EFLAG_NO_UPD_LAST (1 << 18)
88 #define VP8_EFLAG_NO_UPD_GF (1 << 22)
95 #define VP8_EFLAG_NO_UPD_ARF (1 << 23)
102 #define VP8_EFLAG_FORCE_GF (1 << 19)
109 #define VP8_EFLAG_FORCE_ARF (1 << 24)
116 #define VP8_EFLAG_NO_UPD_ENTROPY (1 << 20)
774 VP8_ONE_TOKENPARTITION = 0,
775 VP8_TWO_TOKENPARTITION = 1,
776 VP8_FOUR_TOKENPARTITION = 2,
777 VP8_EIGHT_TOKENPARTITION = 3
782 VP9E_CONTENT_DEFAULT,
879 #define VPX_CTRL_VP8E_SET_FRAME_FLAGS
881 #define VPX_CTRL_VP8E_SET_TEMPORAL_LAYER_ID
883 #define VPX_CTRL_VP8E_SET_ROI_MAP
885 #define VPX_CTRL_VP9E_SET_ROI_MAP
887 #define VPX_CTRL_VP8E_SET_ACTIVEMAP
889 #define VPX_CTRL_VP8E_SET_SCALEMODE
892 #define VPX_CTRL_VP9E_SET_SVC
894 #define VPX_CTRL_VP9E_SET_SVC_PARAMETERS
896 #define VPX_CTRL_VP9E_REGISTER_CX_CALLBACK
898 #define VPX_CTRL_VP9E_SET_SVC_LAYER_ID
901 #define VPX_CTRL_VP8E_SET_CPUUSED
903 #define VPX_CTRL_VP8E_SET_ENABLEAUTOALTREF
905 #define VPX_CTRL_VP8E_SET_NOISE_SENSITIVITY
907 #define VPX_CTRL_VP8E_SET_SHARPNESS
909 #define VPX_CTRL_VP8E_SET_STATIC_THRESHOLD
911 #define VPX_CTRL_VP8E_SET_TOKEN_PARTITIONS
914 #define VPX_CTRL_VP8E_SET_ARNR_MAXFRAMES
916 #define VPX_CTRL_VP8E_SET_ARNR_STRENGTH
918 #define VPX_CTRL_VP8E_SET_ARNR_TYPE
920 #define VPX_CTRL_VP8E_SET_TUNING
922 #define VPX_CTRL_VP8E_SET_CQ_LEVEL
925 #define VPX_CTRL_VP9E_SET_TILE_COLUMNS
927 #define VPX_CTRL_VP9E_SET_TILE_ROWS
930 #define VPX_CTRL_VP9E_SET_TPL
933 #define VPX_CTRL_VP8E_GET_LAST_QUANTIZER
935 #define VPX_CTRL_VP8E_GET_LAST_QUANTIZER_64
937 #define VPX_CTRL_VP9E_GET_SVC_LAYER_ID
940 #define VPX_CTRL_VP8E_SET_MAX_INTRA_BITRATE_PCT
942 #define VPX_CTRL_VP9E_SET_MAX_INTER_BITRATE_PCT
945 #define VPX_CTRL_VP8E_SET_GF_CBR_BOOST_PCT
948 #define VPX_CTRL_VP8E_SET_SCREEN_CONTENT_MODE
951 #define VPX_CTRL_VP9E_SET_GF_CBR_BOOST_PCT
954 #define VPX_CTRL_VP9E_SET_LOSSLESS
957 #define VPX_CTRL_VP9E_SET_FRAME_PARALLEL_DECODING
960 #define VPX_CTRL_VP9E_SET_AQ_MODE
963 #define VPX_CTRL_VP9E_SET_ALT_REF_AQ
966 #define VPX_CTRL_VP9E_SET_FRAME_PERIODIC_BOOST
969 #define VPX_CTRL_VP9E_SET_NOISE_SENSITIVITY
972 #define VPX_CTRL_VP9E_SET_TUNE_CONTENT
975 #define VPX_CTRL_VP9E_SET_COLOR_SPACE
978 #define VPX_CTRL_VP9E_SET_MIN_GF_INTERVAL
981 #define VPX_CTRL_VP9E_SET_MAX_GF_INTERVAL
984 #define VPX_CTRL_VP9E_GET_ACTIVEMAP
987 #define VPX_CTRL_VP9E_SET_COLOR_RANGE
990 #define VPX_CTRL_VP9E_SET_SVC_REF_FRAME_CONFIG
993 #define VPX_CTRL_VP9E_SET_RENDER_SIZE
996 #define VPX_CTRL_VP9E_SET_TARGET_LEVEL
999 #define VPX_CTRL_VP9E_SET_ROW_MT
1002 #define VPX_CTRL_VP9E_GET_LEVEL
1005 #define VPX_CTRL_VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST
1008 #define VPX_CTRL_VP9E_SET_SVC_INTER_LAYER_PRED
1011 #define VPX_CTRL_VP9E_SET_SVC_FRAME_DROP_LAYER
1014 #define VPX_CTRL_VP9E_GET_SVC_REF_FRAME_CONFIG
1017 #define VPX_CTRL_VP9E_SET_SVC_GF_TEMPORAL_REF
1021 #define VPX_CTRL_VP9E_SET_SVC_SPATIAL_LAYER_SYNC
1024 #define VPX_CTRL_VP9E_SET_POSTENCODE_DROP
1032 #endif // VPX_VPX_VP8CX_H_
enum vpx_scaling_mode_1d VPX_SCALING_MODE
vpx 1-D scaling mode
int alt_fb_idx[5]
Definition: vp8cx.h:820
Codec control function to register callback to get per layer packet.
Definition: vp8cx.h:479
int gld_fb_idx[5]
Definition: vp8cx.h:819
int lst_fb_idx[5]
Definition: vp8cx.h:818
vpx region of interest map
Definition: vp8cx.h:725
Codec control function to set the filter strength for the arf.
Definition: vp8cx.h:223
Codec control function to get the refresh and reference flags and the buffer indices,...
Definition: vp8cx.h:635
int ref_frame[8]
Definition: vp8cx.h:738
VPX_SCALING_MODE h_scaling_mode
Definition: vp8cx.h:762
Codec control function to set target level.
Definition: vp8cx.h:562
#define VPX_SS_MAX_LAYERS
Definition: vpx_encoder.h:46
vp8e_tuning
VP8 model tuning parameters.
Definition: vp8cx.h:793
uint8_t enabled
Definition: vp8cx.h:727
0-2-1-2... temporal layering scheme with three temporal layers.
Definition: vp8cx.h:716
enum vp9e_temporal_layering_mode VP9E_TEMPORAL_LAYERING_MODE
Temporal layering mode enum for VP9 SVC.
unsigned int cols
Definition: vp8cx.h:753
struct vpx_svc_layer_id vpx_svc_layer_id_t
vp9 svc layer parameters
No temporal layering. Used when only spatial layering is used.
Definition: vp8cx.h:702
Codec control function to enable automatic use of arf frames.
Definition: vp8cx.h:164
Codec control function to set adaptive quantization mode.
Definition: vp8cx.h:398
vp9e_tune_content
Definition: vp8cx.h:781
Codec control function to get svc layer ID.
Definition: vp8cx.h:471
Codec control function to pass an ROI map to encoder.
Definition: vp8cx.h:436
Codec control function to set lossless encoding mode.
Definition: vp8cx.h:327
Codec control function to set encoder screen content mode.
Definition: vp8cx.h:312
Bypass mode. Used when application needs to control temporal layering. This will only work when the n...
Definition: vp8cx.h:708
Codec control function to get last quantizer chosen by the encoder.
Definition: vp8cx.h:211
int reference_golden[5]
Definition: vp8cx.h:827
Codec control function to enable postencode frame drop.
Definition: vp8cx.h:678
vp8e_enc_control_id
VPx encoder control functions.
Definition: vp8cx.h:125
int update_alt_ref[5]
Definition: vp8cx.h:825
control function to set noise sensitivity
Definition: vp8cx.h:173
Codec control function to enable/disable periodic Q boost.
Definition: vp8cx.h:413
struct vpx_svc_spatial_layer_sync vpx_svc_spatial_layer_sync_t
vp9 svc spatial layer sync parameters.
Codec control function to enable/disable use of golden reference as a second temporal reference for S...
Definition: vp8cx.h:645
Boost percentage for Golden Frame in CBR mode.
Definition: vp8cx.h:293
Codec control function to get an Active map back from the encoder.
Definition: vp8cx.h:528
int max_consec_drop
Definition: vp8cx.h:857
int base_layer_intra_only
Definition: vp8cx.h:867
#define VPX_CTRL_USE_TYPE(id, typ)
vpx_codec_control type definition macro
Definition: vpx_codec.h:419
Codec control function to set color range bit.
Definition: vp8cx.h:537
int temporal_layer_id_per_spatial[5]
Definition: vp8cx.h:806
Codec control function to set intended rendering image size.
Definition: vp8cx.h:553
Codec control function to get last quantizer chosen by the encoder.
Definition: vp8cx.h:202
vpx image scaling mode
Definition: vp8cx.h:761
int spatial_layer_sync[5]
Definition: vp8cx.h:866
SVC_LAYER_DROP_MODE
VP9 svc frame dropping mode.
Definition: vp8cx.h:837
Codec control function to set minimum interval between GF/ARF frames.
Definition: vp8cx.h:514
vp9 svc frame flag parameters.
Definition: vp8cx.h:817
Codec control function to set minimum interval between GF/ARF frames.
Definition: vp8cx.h:522
unsigned int rows
Definition: vp8cx.h:731
Codec control function to turn on/off SVC in encoder.
Definition: vp8cx.h:430
Codec control function to constrain the inter-layer prediction (prediction of lower spatial resolutio...
Definition: vp8cx.h:619
Codec control function to enable frame parallel decoding feature.
Definition: vp8cx.h:385
Codec control function to set max data rate for Inter frames.
Definition: vp8cx.h:278
Codec control function to set the threshold for MBs treated static.
Definition: vp8cx.h:188
int reference_last[5]
Definition: vp8cx.h:826
Codec control function to set number of tile rows.
Definition: vp8cx.h:371
Codec control function to set higher sharpness at the expense of a lower PSNR.
Definition: vp8cx.h:182
unsigned int cols
Definition: vp8cx.h:732
struct vpx_svc_ref_frame_config vpx_svc_ref_frame_config_t
vp9 svc frame flag parameters.
Codec control function to enable/disable special mode for altref adaptive quantization....
Definition: vp8cx.h:586
Codec control function to get bitstream level.
Definition: vp8cx.h:576
int update_buffer_slot[5]
Definition: vp8cx.h:821
int delta_q[8]
Definition: vp8cx.h:734
int delta_lf[8]
Definition: vp8cx.h:735
Codec control function to set svc layer for spatial and temporal.
Definition: vp8cx.h:453
Codec control function to set temporal layering mode.
Definition: vp8cx.h:506
vp8e_token_partitions
VP8 token partition mode.
Definition: vp8cx.h:773
Provides controls common to both the VP8 encoder and decoder.
unsigned char * roi_map
Definition: vp8cx.h:730
Codec control function to set encoder internal speed settings.
Definition: vp8cx.h:155
Codec control function to set constrained / constant quality level.
Definition: vp8cx.h:242
struct vpx_roi_map vpx_roi_map_t
vpx region of interest map
#define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ)
vpx_codec_control deprecated type definition macro
Definition: vpx_codec.h:445
Codec control function to enable temporal dependency model.
Definition: vp8cx.h:668
struct vpx_scaling_mode vpx_scaling_mode_t
vpx image scaling mode
SVC_LAYER_DROP_MODE framedrop_mode
Definition: vp8cx.h:856
vp9 svc layer parameters
Definition: vp8cx.h:802
Codec control function to set content type.
Definition: vp8cx.h:463
Codec control function to set noise sensitivity.
Definition: vp8cx.h:421
const struct vpx_codec_iface vpx_codec_iface_t
Codec interface structure.
Definition: vpx_codec.h:174
int temporal_layer_id
Definition: vp8cx.h:805
struct vpx_svc_frame_drop vpx_svc_frame_drop_t
vp9 svc frame dropping parameters.
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition: vp8cx.h:751
int framedrop_thresh[5]
Definition: vp8cx.h:854
vp9e_temporal_layering_mode
Temporal layering mode enum for VP9 SVC.
Definition: vp8cx.h:698
Codec control function to pass an Active map to encoder.
Definition: vp8cx.h:136
Codec control function to set reference and update frame flags.
Definition: vp8cx.h:263
vp9 svc spatial layer sync parameters.
Definition: vp8cx.h:865
Codec control function to enable spatial layer sync frame, for any spatial layer. Enabling it for lay...
Definition: vp8cx.h:660
struct vpx_active_map vpx_active_map_t
vpx active region map
Codec control function to set visual tuning.
Definition: vp8cx.h:232
unsigned int rows
Definition: vp8cx.h:752
Codec control function to set row level multi-threading.
Definition: vp8cx.h:570
vp9 svc frame dropping parameters.
Definition: vp8cx.h:853
Codec control function to set Max data rate for Intra frames.
Definition: vp8cx.h:257
int spatial_layer_id
Definition: vp8cx.h:803
int update_golden[5]
Definition: vp8cx.h:824
0-1-0-1... temporal layering scheme with two temporal layers.
Definition: vp8cx.h:712
Codec control function to set the number of token partitions.
Definition: vp8cx.h:194
Codec control function to set number of tile columns.
Definition: vp8cx.h:351
vpx_scaling_mode_1d
vpx 1-D scaling mode
Definition: vp8cx.h:685
Codec control function to set the frame flags and buffer indices for spatial layers....
Definition: vp8cx.h:545
VPX_SCALING_MODE v_scaling_mode
Definition: vp8cx.h:763
unsigned int static_threshold[4]
Definition: vp8cx.h:740
Codec control function to set encoder scaling mode.
Definition: vp8cx.h:142
Codec control function to set mode and thresholds for frame dropping in SVC. Drop frame thresholds ar...
Definition: vp8cx.h:628
int64_t duration[5]
Definition: vp8cx.h:829
int skip[8]
Definition: vp8cx.h:737
Codec control function to pass an ROI map to encoder.
Definition: vp8cx.h:130
Codec control function to enable the extreme motion vector unit test in VP9. Please note that this is...
Definition: vp8cx.h:610
vpx active region map
Definition: vp8cx.h:749
Codec control function to set color space info.
Definition: vp8cx.h:494
Describes the encoder algorithm interface to applications.
int update_last[5]
Definition: vp8cx.h:823
Boost percentage for Golden Frame in CBR mode.
Definition: vp8cx.h:601
Codec control function to set parameters for SVC.
Definition: vp8cx.h:444
int reference_alt_ref[5]
Definition: vp8cx.h:828
Codec control function to set the temporal layer id.
Definition: vp8cx.h:304
Codec control function to set the max no of frames to create arf.
Definition: vp8cx.h:217