Index: source/libvpx/vp9/common/vp9_onyx.h |
=================================================================== |
--- source/libvpx/vp9/common/vp9_onyx.h (revision 251189) |
+++ source/libvpx/vp9/common/vp9_onyx.h (working copy) |
@@ -55,6 +55,7 @@ |
MODE_FIRSTPASS = 0x3, |
MODE_SECONDPASS = 0x4, |
MODE_SECONDPASS_BEST = 0x5, |
+ MODE_REALTIME = 0x6, |
} MODE; |
typedef enum { |
@@ -146,8 +147,12 @@ |
// END DATARATE CONTROL OPTIONS |
// ---------------------------------------------------------------- |
- // Spatial scalability |
- int ss_number_layers; |
+ // Spatial and temporal scalability. |
+ int ss_number_layers; // Number of spatial layers. |
+ int ts_number_layers; // Number of temporal layers. |
+ // Bitrate allocation (CBR mode) and framerate factor, for temporal layers. |
+ int ts_target_bitrate[VPX_TS_MAX_LAYERS]; |
+ int ts_rate_decimator[VPX_TS_MAX_LAYERS]; |
// these parameters aren't to be used in final build don't use!!! |
int play_alternate; |