WebM Codec SDK

vp8cx.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10 #ifndef VPX_VPX_VP8CX_H_
11 #define VPX_VPX_VP8CX_H_
12
18 #include "./vp8.h"
19 #include "./vpx_encoder.h"
20
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
35 extern vpx_codec_iface_t vpx_codec_vp8_cx_algo;
36 extern vpx_codec_iface_t *vpx_codec_vp8_cx(void);
44 extern vpx_codec_iface_t vpx_codec_vp9_cx_algo;
45 extern vpx_codec_iface_t *vpx_codec_vp9_cx(void);
48 /*
49 * Algorithm Flags
50 */
51
58 #define VP8_EFLAG_NO_REF_LAST (1 << 16)
59
66 #define VP8_EFLAG_NO_REF_GF (1 << 17)
67
74 #define VP8_EFLAG_NO_REF_ARF (1 << 21)
75
81 #define VP8_EFLAG_NO_UPD_LAST (1 << 18)
82
88 #define VP8_EFLAG_NO_UPD_GF (1 << 22)
89
95 #define VP8_EFLAG_NO_UPD_ARF (1 << 23)
96
102 #define VP8_EFLAG_FORCE_GF (1 << 19)
103
109 #define VP8_EFLAG_FORCE_ARF (1 << 24)
110
116 #define VP8_EFLAG_NO_UPD_ENTROPY (1 << 20)
117
125 enum vp8e_enc_control_id {
130 VP8E_SET_ROI_MAP = 8,
131
136 VP8E_SET_ACTIVEMAP,
137
142 VP8E_SET_SCALEMODE = 11,
143
155 VP8E_SET_CPUUSED = 13,
156
161 VP8E_SET_ENABLEAUTOALTREF,
162
170 VP8E_SET_NOISE_SENSITIVITY,
171
179 VP8E_SET_SHARPNESS,
180
185 VP8E_SET_STATIC_THRESHOLD,
186
191 VP8E_SET_TOKEN_PARTITIONS,
192
199 VP8E_GET_LAST_QUANTIZER,
200
208 VP8E_GET_LAST_QUANTIZER_64,
209
214 VP8E_SET_ARNR_MAXFRAMES,
215
220 VP8E_SET_ARNR_STRENGTH,
221
223 VP8E_SET_ARNR_TYPE,
224
229 VP8E_SET_TUNING,
230
239 VP8E_SET_CQ_LEVEL,
240
254 VP8E_SET_MAX_INTRA_BITRATE_PCT,
255
260 VP8E_SET_FRAME_FLAGS,
261
275 VP9E_SET_MAX_INTER_BITRATE_PCT,
276
290 VP9E_SET_GF_CBR_BOOST_PCT,
291
301 VP8E_SET_TEMPORAL_LAYER_ID,
302
309 VP8E_SET_SCREEN_CONTENT_MODE,
310
324 VP9E_SET_LOSSLESS,
325
348 VP9E_SET_TILE_COLUMNS,
349
368 VP9E_SET_TILE_ROWS,
369
382 VP9E_SET_FRAME_PARALLEL_DECODING,
383
395 VP9E_SET_AQ_MODE,
396
410 VP9E_SET_FRAME_PERIODIC_BOOST,
411
418 VP9E_SET_NOISE_SENSITIVITY,
419
427 VP9E_SET_SVC,
428
433 VP9E_SET_ROI_MAP,
434
441 VP9E_SET_SVC_PARAMETERS,
442
450 VP9E_SET_SVC_LAYER_ID,
451
460 VP9E_SET_TUNE_CONTENT,
461
468 VP9E_GET_SVC_LAYER_ID,
469
476 VP9E_REGISTER_CX_CALLBACK,
477
491 VP9E_SET_COLOR_SPACE,
492
503 VP9E_SET_TEMPORAL_LAYERING_MODE,
504
511 VP9E_SET_MIN_GF_INTERVAL,
512
519 VP9E_SET_MAX_GF_INTERVAL,
520
525 VP9E_GET_ACTIVEMAP,
526
534 VP9E_SET_COLOR_RANGE,
535
542 VP9E_SET_SVC_REF_FRAME_CONFIG,
543
550 VP9E_SET_RENDER_SIZE,
551
559 VP9E_SET_TARGET_LEVEL,
560
567 VP9E_SET_ROW_MT,
568
573 VP9E_GET_LEVEL,
574
583 VP9E_SET_ALT_REF_AQ,
584
598 VP8E_SET_GF_CBR_BOOST_PCT,
599
607 VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST,
608
616 VP9E_SET_SVC_INTER_LAYER_PRED,
617
625 VP9E_SET_SVC_FRAME_DROP_LAYER,
626
632 VP9E_GET_SVC_REF_FRAME_CONFIG,
633
642 VP9E_SET_SVC_GF_TEMPORAL_REF,
643
657 VP9E_SET_SVC_SPATIAL_LAYER_SYNC,
658
665 VP9E_SET_TPL,
666
675 VP9E_SET_POSTENCODE_DROP,
676 };
677
682 typedef enum vpx_scaling_mode_1d {
683 VP8E_NORMAL = 0,
684 VP8E_FOURFIVE = 1,
685 VP8E_THREEFIVE = 2,
686 VP8E_ONETWO = 3
687 } VPX_SCALING_MODE;
688
695 typedef enum vp9e_temporal_layering_mode {
699 VP9E_TEMPORAL_LAYERING_MODE_NOLAYERING = 0,
700
705 VP9E_TEMPORAL_LAYERING_MODE_BYPASS = 1,
706
709 VP9E_TEMPORAL_LAYERING_MODE_0101 = 2,
710
713 VP9E_TEMPORAL_LAYERING_MODE_0212 = 3
714 } VP9E_TEMPORAL_LAYERING_MODE;
715
722 typedef struct vpx_roi_map {
724 uint8_t enabled;
727 unsigned char *roi_map;
728 unsigned int rows;
729 unsigned int cols;
731 int delta_q[8];
732 int delta_lf[8];
734 int skip[8];
735 int ref_frame[8];
737 unsigned int static_threshold[4];
738 } vpx_roi_map_t;
739
746 typedef struct vpx_active_map {
748 unsigned char *active_map;
749 unsigned int rows;
750 unsigned int cols;
751 } vpx_active_map_t;
752
758 typedef struct vpx_scaling_mode {
759 VPX_SCALING_MODE h_scaling_mode;
760 VPX_SCALING_MODE v_scaling_mode;
761 } vpx_scaling_mode_t;
762
770 typedef enum {
771 VP8_ONE_TOKENPARTITION = 0,
772 VP8_TWO_TOKENPARTITION = 1,
773 VP8_FOUR_TOKENPARTITION = 2,
774 VP8_EIGHT_TOKENPARTITION = 3
775 } vp8e_token_partitions;
776
778 typedef enum {
779 VP9E_CONTENT_DEFAULT,
780 VP9E_CONTENT_SCREEN,
781 VP9E_CONTENT_FILM,
782 VP9E_CONTENT_INVALID
783 } vp9e_tune_content;
784
790 typedef enum { VP8_TUNE_PSNR, VP8_TUNE_SSIM } vp8e_tuning;
791
799 typedef struct vpx_svc_layer_id {
800 int spatial_layer_id;
801 // TODO(jianj): Deprecated, to be removed.
802 int temporal_layer_id;
803 int temporal_layer_id_per_spatial[VPX_SS_MAX_LAYERS];
804 } vpx_svc_layer_id_t;
805
814 typedef struct vpx_svc_ref_frame_config {
815 int lst_fb_idx[VPX_SS_MAX_LAYERS];
816 int gld_fb_idx[VPX_SS_MAX_LAYERS];
817 int alt_fb_idx[VPX_SS_MAX_LAYERS];
818 int update_buffer_slot[VPX_SS_MAX_LAYERS];
819 // TODO(jianj): Remove update_last/golden/alt_ref, these are deprecated.
820 int update_last[VPX_SS_MAX_LAYERS];
821 int update_golden[VPX_SS_MAX_LAYERS];
822 int update_alt_ref[VPX_SS_MAX_LAYERS];
823 int reference_last[VPX_SS_MAX_LAYERS];
824 int reference_golden[VPX_SS_MAX_LAYERS];
825 int reference_alt_ref[VPX_SS_MAX_LAYERS];
826 int64_t duration[VPX_SS_MAX_LAYERS];
827 } vpx_svc_ref_frame_config_t;
828
834 typedef enum {
835 CONSTRAINED_LAYER_DROP,
837 LAYER_DROP,
838 FULL_SUPERFRAME_DROP,
839 } SVC_LAYER_DROP_MODE;
840
848 typedef struct vpx_svc_frame_drop {
849 int framedrop_thresh[VPX_SS_MAX_LAYERS];
850 SVC_LAYER_DROP_MODE
851 framedrop_mode;
852 int max_consec_drop;
853 } vpx_svc_frame_drop_t;
854
860 typedef struct vpx_svc_spatial_layer_sync {
861 int spatial_layer_sync[VPX_SS_MAX_LAYERS];
862 int base_layer_intra_only;
863 } vpx_svc_spatial_layer_sync_t;
864
873 VPX_CTRL_USE_TYPE(VP8E_SET_FRAME_FLAGS, int)
874 #define VPX_CTRL_VP8E_SET_FRAME_FLAGS
875 VPX_CTRL_USE_TYPE(VP8E_SET_TEMPORAL_LAYER_ID, int)
876 #define VPX_CTRL_VP8E_SET_TEMPORAL_LAYER_ID
877 VPX_CTRL_USE_TYPE(VP8E_SET_ROI_MAP, vpx_roi_map_t *)
878 #define VPX_CTRL_VP8E_SET_ROI_MAP
879 VPX_CTRL_USE_TYPE(VP9E_SET_ROI_MAP, vpx_roi_map_t *)
880 #define VPX_CTRL_VP9E_SET_ROI_MAP
881 VPX_CTRL_USE_TYPE(VP8E_SET_ACTIVEMAP, vpx_active_map_t *)
882 #define VPX_CTRL_VP8E_SET_ACTIVEMAP
883 VPX_CTRL_USE_TYPE(VP8E_SET_SCALEMODE, vpx_scaling_mode_t *)
884 #define VPX_CTRL_VP8E_SET_SCALEMODE
885
886 VPX_CTRL_USE_TYPE(VP9E_SET_SVC, int)
887 #define VPX_CTRL_VP9E_SET_SVC
888 VPX_CTRL_USE_TYPE(VP9E_SET_SVC_PARAMETERS, void *)
889 #define VPX_CTRL_VP9E_SET_SVC_PARAMETERS
890 VPX_CTRL_USE_TYPE(VP9E_REGISTER_CX_CALLBACK, void *)
891 #define VPX_CTRL_VP9E_REGISTER_CX_CALLBACK
892 VPX_CTRL_USE_TYPE(VP9E_SET_SVC_LAYER_ID, vpx_svc_layer_id_t *)
893 #define VPX_CTRL_VP9E_SET_SVC_LAYER_ID
894
895 VPX_CTRL_USE_TYPE(VP8E_SET_CPUUSED, int)
896 #define VPX_CTRL_VP8E_SET_CPUUSED
897 VPX_CTRL_USE_TYPE(VP8E_SET_ENABLEAUTOALTREF, unsigned int)
898 #define VPX_CTRL_VP8E_SET_ENABLEAUTOALTREF
899 VPX_CTRL_USE_TYPE(VP8E_SET_NOISE_SENSITIVITY, unsigned int)
900 #define VPX_CTRL_VP8E_SET_NOISE_SENSITIVITY
901 VPX_CTRL_USE_TYPE(VP8E_SET_SHARPNESS, unsigned int)
902 #define VPX_CTRL_VP8E_SET_SHARPNESS
903 VPX_CTRL_USE_TYPE(VP8E_SET_STATIC_THRESHOLD, unsigned int)
904 #define VPX_CTRL_VP8E_SET_STATIC_THRESHOLD
905 VPX_CTRL_USE_TYPE(VP8E_SET_TOKEN_PARTITIONS, int) /* vp8e_token_partitions */
906 #define VPX_CTRL_VP8E_SET_TOKEN_PARTITIONS
907
908 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_MAXFRAMES, unsigned int)
909 #define VPX_CTRL_VP8E_SET_ARNR_MAXFRAMES
910 VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_STRENGTH, unsigned int)
911 #define VPX_CTRL_VP8E_SET_ARNR_STRENGTH
912 VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_ARNR_TYPE, unsigned int)
913 #define VPX_CTRL_VP8E_SET_ARNR_TYPE
914 VPX_CTRL_USE_TYPE(VP8E_SET_TUNING, int) /* vp8e_tuning */
915 #define VPX_CTRL_VP8E_SET_TUNING
916 VPX_CTRL_USE_TYPE(VP8E_SET_CQ_LEVEL, unsigned int)
917 #define VPX_CTRL_VP8E_SET_CQ_LEVEL
918
919 VPX_CTRL_USE_TYPE(VP9E_SET_TILE_COLUMNS, int)
920 #define VPX_CTRL_VP9E_SET_TILE_COLUMNS
921 VPX_CTRL_USE_TYPE(VP9E_SET_TILE_ROWS, int)
922 #define VPX_CTRL_VP9E_SET_TILE_ROWS
923
924 VPX_CTRL_USE_TYPE(VP9E_SET_TPL, int)
925 #define VPX_CTRL_VP9E_SET_TPL
926
927 VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER, int *)
928 #define VPX_CTRL_VP8E_GET_LAST_QUANTIZER
929 VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER_64, int *)
930 #define VPX_CTRL_VP8E_GET_LAST_QUANTIZER_64
931 VPX_CTRL_USE_TYPE(VP9E_GET_SVC_LAYER_ID, vpx_svc_layer_id_t *)
932 #define VPX_CTRL_VP9E_GET_SVC_LAYER_ID
933
934 VPX_CTRL_USE_TYPE(VP8E_SET_MAX_INTRA_BITRATE_PCT, unsigned int)
935 #define VPX_CTRL_VP8E_SET_MAX_INTRA_BITRATE_PCT
936 VPX_CTRL_USE_TYPE(VP8E_SET_MAX_INTER_BITRATE_PCT, unsigned int)
937 #define VPX_CTRL_VP8E_SET_MAX_INTER_BITRATE_PCT
938
939 VPX_CTRL_USE_TYPE(VP8E_SET_GF_CBR_BOOST_PCT, unsigned int)
940 #define VPX_CTRL_VP8E_SET_GF_CBR_BOOST_PCT
941
942 VPX_CTRL_USE_TYPE(VP8E_SET_SCREEN_CONTENT_MODE, unsigned int)
943 #define VPX_CTRL_VP8E_SET_SCREEN_CONTENT_MODE
944
945 VPX_CTRL_USE_TYPE(VP9E_SET_GF_CBR_BOOST_PCT, unsigned int)
946 #define VPX_CTRL_VP9E_SET_GF_CBR_BOOST_PCT
947
948 VPX_CTRL_USE_TYPE(VP9E_SET_LOSSLESS, unsigned int)
949 #define VPX_CTRL_VP9E_SET_LOSSLESS
950
951 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PARALLEL_DECODING, unsigned int)
952 #define VPX_CTRL_VP9E_SET_FRAME_PARALLEL_DECODING
953
954 VPX_CTRL_USE_TYPE(VP9E_SET_AQ_MODE, unsigned int)
955 #define VPX_CTRL_VP9E_SET_AQ_MODE
956
957 VPX_CTRL_USE_TYPE(VP9E_SET_ALT_REF_AQ, int)
958 #define VPX_CTRL_VP9E_SET_ALT_REF_AQ
959
960 VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PERIODIC_BOOST, unsigned int)
961 #define VPX_CTRL_VP9E_SET_FRAME_PERIODIC_BOOST
962
963 VPX_CTRL_USE_TYPE(VP9E_SET_NOISE_SENSITIVITY, unsigned int)
964 #define VPX_CTRL_VP9E_SET_NOISE_SENSITIVITY
965
966 VPX_CTRL_USE_TYPE(VP9E_SET_TUNE_CONTENT, int) /* vp9e_tune_content */
967 #define VPX_CTRL_VP9E_SET_TUNE_CONTENT
968
969 VPX_CTRL_USE_TYPE(VP9E_SET_COLOR_SPACE, int)
970 #define VPX_CTRL_VP9E_SET_COLOR_SPACE
971
972 VPX_CTRL_USE_TYPE(VP9E_SET_MIN_GF_INTERVAL, unsigned int)
973 #define VPX_CTRL_VP9E_SET_MIN_GF_INTERVAL
974
975 VPX_CTRL_USE_TYPE(VP9E_SET_MAX_GF_INTERVAL, unsigned int)
976 #define VPX_CTRL_VP9E_SET_MAX_GF_INTERVAL
977
978 VPX_CTRL_USE_TYPE(VP9E_GET_ACTIVEMAP, vpx_active_map_t *)
979 #define VPX_CTRL_VP9E_GET_ACTIVEMAP
980
981 VPX_CTRL_USE_TYPE(VP9E_SET_COLOR_RANGE, int)
982 #define VPX_CTRL_VP9E_SET_COLOR_RANGE
983
984 VPX_CTRL_USE_TYPE(VP9E_SET_SVC_REF_FRAME_CONFIG, vpx_svc_ref_frame_config_t *)
985 #define VPX_CTRL_VP9E_SET_SVC_REF_FRAME_CONFIG
986
987 VPX_CTRL_USE_TYPE(VP9E_SET_RENDER_SIZE, int *)
988 #define VPX_CTRL_VP9E_SET_RENDER_SIZE
989
990 VPX_CTRL_USE_TYPE(VP9E_SET_TARGET_LEVEL, unsigned int)
991 #define VPX_CTRL_VP9E_SET_TARGET_LEVEL
992
993 VPX_CTRL_USE_TYPE(VP9E_SET_ROW_MT, unsigned int)
994 #define VPX_CTRL_VP9E_SET_ROW_MT
995
996 VPX_CTRL_USE_TYPE(VP9E_GET_LEVEL, int *)
997 #define VPX_CTRL_VP9E_GET_LEVEL
998
999 VPX_CTRL_USE_TYPE(VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST, unsigned int)
1000 #define VPX_CTRL_VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST
1001
1002 VPX_CTRL_USE_TYPE(VP9E_SET_SVC_INTER_LAYER_PRED, unsigned int)
1003 #define VPX_CTRL_VP9E_SET_SVC_INTER_LAYER_PRED
1004
1005 VPX_CTRL_USE_TYPE(VP9E_SET_SVC_FRAME_DROP_LAYER, vpx_svc_frame_drop_t *)
1006 #define VPX_CTRL_VP9E_SET_SVC_FRAME_DROP_LAYER
1007
1008 VPX_CTRL_USE_TYPE(VP9E_GET_SVC_REF_FRAME_CONFIG, vpx_svc_ref_frame_config_t *)
1009 #define VPX_CTRL_VP9E_GET_SVC_REF_FRAME_CONFIG
1010
1011 VPX_CTRL_USE_TYPE(VP9E_SET_SVC_GF_TEMPORAL_REF, unsigned int)
1012 #define VPX_CTRL_VP9E_SET_SVC_GF_TEMPORAL_REF
1013
1014 VPX_CTRL_USE_TYPE(VP9E_SET_SVC_SPATIAL_LAYER_SYNC,
1015 vpx_svc_spatial_layer_sync_t *)
1016 #define VPX_CTRL_VP9E_SET_SVC_SPATIAL_LAYER_SYNC
1017
1018 VPX_CTRL_USE_TYPE(VP9E_SET_POSTENCODE_DROP, unsigned int)
1019 #define VPX_CTRL_VP9E_SET_POSTENCODE_DROP
1020
1023 #ifdef __cplusplus
1024 } // extern "C"
1025 #endif
1026
1027 #endif // VPX_VPX_VP8CX_H_
vpx_roi_map::roi_map
unsigned char * roi_map
Definition: vp8cx.h:727
vpx_svc_spatial_layer_sync::base_layer_intra_only
int base_layer_intra_only
Definition: vp8cx.h:862
VP8E_SET_CPUUSED
Codec control function to set encoder internal speed settings.
Definition: vp8cx.h:155
vpx_svc_ref_frame_config::reference_alt_ref
int reference_alt_ref[5]
Definition: vp8cx.h:825
vpx_active_map_t
struct vpx_active_map vpx_active_map_t
vpx active region map
vpx_encoder.h
Describes the encoder algorithm interface to applications.
vpx_active_map::cols
unsigned int cols
Definition: vp8cx.h:750
vp8e_enc_control_id
vp8e_enc_control_id
VPx encoder control functions.
Definition: vp8cx.h:125
VP9E_SET_SVC_INTER_LAYER_PRED
Codec control function to constrain the inter-layer prediction (prediction of lower spatial resolutio...
Definition: vp8cx.h:616
VP9E_SET_TPL
Codec control function to enable temporal dependency model.
Definition: vp8cx.h:665
vpx_roi_map::delta_q
int delta_q[8]
Definition: vp8cx.h:731
vpx_svc_ref_frame_config::lst_fb_idx
int lst_fb_idx[5]
Definition: vp8cx.h:815
VP9E_SET_TUNE_CONTENT
Codec control function to set content type.
Definition: vp8cx.h:460
VP9E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity.
Definition: vp8cx.h:418
VPX_SCALING_MODE
enum vpx_scaling_mode_1d VPX_SCALING_MODE
vpx 1-D scaling mode
vpx_roi_map::cols
unsigned int cols
Definition: vp8cx.h:729
vpx_svc_frame_drop::framedrop_mode
SVC_LAYER_DROP_MODE framedrop_mode
Definition: vp8cx.h:851
VP9E_GET_LEVEL
Codec control function to get bitstream level.
Definition: vp8cx.h:573
VP8E_SET_FRAME_FLAGS
Codec control function to set reference and update frame flags.
Definition: vp8cx.h:260
VP8E_SET_SCALEMODE
Codec control function to set encoder scaling mode.
Definition: vp8cx.h:142
vpx_scaling_mode::v_scaling_mode
VPX_SCALING_MODE v_scaling_mode
Definition: vp8cx.h:760
vp8e_token_partitions
vp8e_token_partitions
VP8 token partition mode.
Definition: vp8cx.h:770
VP9E_TEMPORAL_LAYERING_MODE
enum vp9e_temporal_layering_mode VP9E_TEMPORAL_LAYERING_MODE
Temporal layering mode enum for VP9 SVC.
VP8E_SET_ROI_MAP
Codec control function to pass an ROI map to encoder.
Definition: vp8cx.h:130
vpx_svc_frame_drop::framedrop_thresh
int framedrop_thresh[5]
Definition: vp8cx.h:849
vpx_svc_ref_frame_config::reference_golden
int reference_golden[5]
Definition: vp8cx.h:824
VP9E_SET_SVC_SPATIAL_LAYER_SYNC
Codec control function to enable spatial layer sync frame, for any spatial layer. Enabling it for lay...
Definition: vp8cx.h:657
VP8E_SET_TUNING
Codec control function to set visual tuning.
Definition: vp8cx.h:229
VP8E_SET_CQ_LEVEL
Codec control function to set constrained quality level.
Definition: vp8cx.h:239
VP8E_SET_ARNR_TYPE
Definition: vp8cx.h:223
vpx_svc_ref_frame_config::update_alt_ref
int update_alt_ref[5]
Definition: vp8cx.h:822
VP9E_SET_ROW_MT
Codec control function to set row level multi-threading.
Definition: vp8cx.h:567
vpx_svc_layer_id::spatial_layer_id
int spatial_layer_id
Definition: vp8cx.h:800
VP8E_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set Max data rate for Intra frames.
Definition: vp8cx.h:254
VP9E_SET_SVC_PARAMETERS
Codec control function to set parameters for SVC.
Definition: vp8cx.h:441
vpx_svc_frame_drop
vp9 svc frame dropping parameters.
Definition: vp8cx.h:848
vpx_svc_layer_id::temporal_layer_id_per_spatial
int temporal_layer_id_per_spatial[5]
Definition: vp8cx.h:803
VP9E_SET_TILE_COLUMNS
Codec control function to set number of tile columns.
Definition: vp8cx.h:348
VPX_SS_MAX_LAYERS
#define VPX_SS_MAX_LAYERS
Definition: vpx_encoder.h:46
VPX_CTRL_USE_TYPE
#define VPX_CTRL_USE_TYPE(id, typ)
vpx_codec_control type definition macro
Definition: vpx_codec.h:419
VP9E_SET_TARGET_LEVEL
Codec control function to set target level.
Definition: vp8cx.h:559
vpx_svc_ref_frame_config::reference_last
int reference_last[5]
Definition: vp8cx.h:823
vpx_roi_map::static_threshold
unsigned int static_threshold[4]
Definition: vp8cx.h:737
vpx_svc_ref_frame_config::update_buffer_slot
int update_buffer_slot[5]
Definition: vp8cx.h:818
VP9E_SET_AQ_MODE
Codec control function to set adaptive quantization mode.
Definition: vp8cx.h:395
vpx_roi_map::skip
int skip[8]
Definition: vp8cx.h:734
VP9E_SET_COLOR_SPACE
Codec control function to set color space info.
Definition: vp8cx.h:491
VP9E_GET_SVC_LAYER_ID
Codec control function to get svc layer ID.
Definition: vp8cx.h:468
vpx_roi_map::delta_lf
int delta_lf[8]
Definition: vp8cx.h:732
VP9E_SET_LOSSLESS
Codec control function to set lossless encoding mode.
Definition: vp8cx.h:324
VP8E_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder.
Definition: vp8cx.h:208
VP8E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode.
Definition: vp8cx.h:598
vpx_svc_layer_id
vp9 svc layer parameters
Definition: vp8cx.h:799
VP8E_SET_TEMPORAL_LAYER_ID
Codec control function to set the temporal layer id.
Definition: vp8cx.h:301
VP9E_TEMPORAL_LAYERING_MODE_0101
0-1-0-1... temporal layering scheme with two temporal layers.
Definition: vp8cx.h:709
VP9E_SET_POSTENCODE_DROP
Codec control function to enable postencode frame drop.
Definition: vp8cx.h:675
VP8E_SET_TOKEN_PARTITIONS
Codec control function to set the number of token partitions.
Definition: vp8cx.h:191
VP8E_SET_NOISE_SENSITIVITY
control function to set noise sensitivity
Definition: vp8cx.h:170
vpx_codec_iface_t
const struct vpx_codec_iface vpx_codec_iface_t
Codec interface structure.
Definition: vpx_codec.h:174
vpx_svc_frame_drop_t
struct vpx_svc_frame_drop vpx_svc_frame_drop_t
vp9 svc frame dropping parameters.
vpx_roi_map::ref_frame
int ref_frame[8]
Definition: vp8cx.h:735
LAYER_DROP
Definition: vp8cx.h:837
vpx_svc_spatial_layer_sync_t
struct vpx_svc_spatial_layer_sync vpx_svc_spatial_layer_sync_t
vp9 svc spatial layer sync parameters.
VP9E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode.
Definition: vp8cx.h:290
VP9E_GET_SVC_REF_FRAME_CONFIG
Codec control function to get the refresh and reference flags and the buffer indices, up to the last encoded spatial layer.
Definition: vp8cx.h:632
vpx_roi_map::enabled
uint8_t enabled
Definition: vp8cx.h:724
VP9E_SET_SVC_REF_FRAME_CONFIG
Codec control function to set the frame flags and buffer indices for spatial layers. The frame flags and buffer indices are set using the struct vpx_svc_ref_frame_config defined below.
Definition: vp8cx.h:542
vp9e_temporal_layering_mode
vp9e_temporal_layering_mode
Temporal layering mode enum for VP9 SVC.
Definition: vp8cx.h:695
VP9E_SET_SVC_FRAME_DROP_LAYER
Codec control function to set mode and thresholds for frame dropping in SVC. Drop frame thresholds ar...
Definition: vp8cx.h:625
VP9E_SET_RENDER_SIZE
Codec control function to set intended rendering image size.
Definition: vp8cx.h:550
vpx_svc_ref_frame_config_t
struct vpx_svc_ref_frame_config vpx_svc_ref_frame_config_t
vp9 svc frame flag parameters.
VP9E_TEMPORAL_LAYERING_MODE_0212
0-2-1-2... temporal layering scheme with three temporal layers.
Definition: vp8cx.h:713
VP9E_TEMPORAL_LAYERING_MODE_NOLAYERING
No temporal layering. Used when only spatial layering is used.
Definition: vp8cx.h:699
VPX_CTRL_USE_TYPE_DEPRECATED
#define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ)
vpx_codec_control deprecated type definition macro
Definition: vpx_codec.h:445
VP9E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test in VP9. Please note that this is...
Definition: vp8cx.h:607
CONSTRAINED_LAYER_DROP
Definition: vp8cx.h:835
VP9E_SET_ROI_MAP
Codec control function to pass an ROI map to encoder.
Definition: vp8cx.h:433
vpx_active_map::active_map
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition: vp8cx.h:748
VP8E_SET_SCREEN_CONTENT_MODE
Codec control function to set encoder screen content mode.
Definition: vp8cx.h:309
VP9E_TEMPORAL_LAYERING_MODE_BYPASS
Bypass mode. Used when application needs to control temporal layering. This will only work when the n...
Definition: vp8cx.h:705
FULL_SUPERFRAME_DROP
Definition: vp8cx.h:838
vpx_active_map::rows
unsigned int rows
Definition: vp8cx.h:749
VP8E_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf.
Definition: vp8cx.h:214
vpx_svc_layer_id::temporal_layer_id
int temporal_layer_id
Definition: vp8cx.h:802
vpx_scaling_mode_t
struct vpx_scaling_mode vpx_scaling_mode_t
vpx image scaling mode
VP9E_REGISTER_CX_CALLBACK
Codec control function to register callback to get per layer packet.
Definition: vp8cx.h:476
VP8E_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf.
Definition: vp8cx.h:220
VP9E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost.
Definition: vp8cx.h:410
VP9E_GET_ACTIVEMAP
Codec control function to get an Active map back from the encoder.
Definition: vp8cx.h:525
vpx_svc_spatial_layer_sync
vp9 svc spatial layer sync parameters.
Definition: vp8cx.h:860
VP9E_SET_SVC_GF_TEMPORAL_REF
Codec control function to enable/disable use of golden reference as a second temporal reference for S...
Definition: vp8cx.h:642
vp8.h
Provides controls common to both the VP8 encoder and decoder.
VP9E_SET_COLOR_RANGE
Codec control function to set color range bit.
Definition: vp8cx.h:534
vpx_svc_layer_id_t
struct vpx_svc_layer_id vpx_svc_layer_id_t
vp9 svc layer parameters
VP8E_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder.
Definition: vp8cx.h:199
VP8E_SET_ENABLEAUTOALTREF
Codec control function to enable automatic use of arf frames.
Definition: vp8cx.h:161
vpx_svc_frame_drop::max_consec_drop
int max_consec_drop
Definition: vp8cx.h:852
VP9E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames.
Definition: vp8cx.h:511
VP9E_SET_TEMPORAL_LAYERING_MODE
Codec control function to set temporal layering mode.
Definition: vp8cx.h:503
vpx_scaling_mode::h_scaling_mode
VPX_SCALING_MODE h_scaling_mode
Definition: vp8cx.h:759
VP9E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames.
Definition: vp8cx.h:519
vpx_svc_ref_frame_config::update_golden
int update_golden[5]
Definition: vp8cx.h:821
VP9E_SET_SVC
Codec control function to turn on/off SVC in encoder.
Definition: vp8cx.h:427
vpx_svc_spatial_layer_sync::spatial_layer_sync
int spatial_layer_sync[5]
Definition: vp8cx.h:861
vpx_active_map
vpx active region map
Definition: vp8cx.h:746
vpx_roi_map_t
struct vpx_roi_map vpx_roi_map_t
vpx region of interest map
vpx_roi_map::rows
unsigned int rows
Definition: vp8cx.h:728
VP9E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature.
Definition: vp8cx.h:382
VP9E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for Inter frames.
Definition: vp8cx.h:275
vpx_svc_ref_frame_config::update_last
int update_last[5]
Definition: vp8cx.h:820
vpx_svc_ref_frame_config
vp9 svc frame flag parameters.
Definition: vp8cx.h:814
VP8E_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static.
Definition: vp8cx.h:185
vpx_svc_ref_frame_config::duration
int64_t duration[5]
Definition: vp8cx.h:826
vpx_scaling_mode_1d
vpx_scaling_mode_1d
vpx 1-D scaling mode
Definition: vp8cx.h:682
vpx_svc_ref_frame_config::alt_fb_idx
int alt_fb_idx[5]
Definition: vp8cx.h:817
VP9E_SET_TILE_ROWS
Codec control function to set number of tile rows.
Definition: vp8cx.h:368
vp8e_tuning
vp8e_tuning
VP8 model tuning parameters.
Definition: vp8cx.h:790
VP8E_SET_SHARPNESS
Codec control function to set higher sharpness at the expense of a lower PSNR.
Definition: vp8cx.h:179
vpx_roi_map
vpx region of interest map
Definition: vp8cx.h:722
VP9E_SET_ALT_REF_AQ
Codec control function to enable/disable special mode for altref adaptive quantization. You can use it with –aq-mode concurrently.
Definition: vp8cx.h:583
SVC_LAYER_DROP_MODE
SVC_LAYER_DROP_MODE
VP9 svc frame dropping mode.
Definition: vp8cx.h:834
vpx_svc_ref_frame_config::gld_fb_idx
int gld_fb_idx[5]
Definition: vp8cx.h:816
vpx_scaling_mode
vpx image scaling mode
Definition: vp8cx.h:758
VP9E_SET_SVC_LAYER_ID
Codec control function to set svc layer for spatial and temporal.
Definition: vp8cx.h:450
VP8E_SET_ACTIVEMAP
Codec control function to pass an Active map to encoder.
Definition: vp8cx.h:136
vp9e_tune_content
vp9e_tune_content
Definition: vp8cx.h:778