| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // (5)=Two Pass - Second Pass Best. The encoder uses the statistics that | 105 // (5)=Two Pass - Second Pass Best. The encoder uses the statistics that |
| 106 // were generated in the first encoding pass to create the compressed | 106 // were generated in the first encoding pass to create the compressed |
| 107 // output using the highest possible quality, and taking a | 107 // output using the highest possible quality, and taking a |
| 108 // longer amount of time to encode.. ( speed setting ignored ) | 108 // longer amount of time to encode.. ( speed setting ignored ) |
| 109 int mode; | 109 int mode; |
| 110 | 110 |
| 111 // Key Framing Operations | 111 // Key Framing Operations |
| 112 int auto_key; // autodetect cut scenes and set the keyframes | 112 int auto_key; // autodetect cut scenes and set the keyframes |
| 113 int key_freq; // maximum distance to key frame. | 113 int key_freq; // maximum distance to key frame. |
| 114 | 114 |
| 115 int allow_lag; // allow lagged compression (if 0 lagin frames is ignored) | |
| 116 int lag_in_frames; // how many frames lag before we start encoding | 115 int lag_in_frames; // how many frames lag before we start encoding |
| 117 | 116 |
| 118 // ---------------------------------------------------------------- | 117 // ---------------------------------------------------------------- |
| 119 // DATARATE CONTROL OPTIONS | 118 // DATARATE CONTROL OPTIONS |
| 120 | 119 |
| 121 int end_usage; // vbr or cbr | 120 int end_usage; // vbr or cbr |
| 122 | 121 |
| 123 // buffer targeting aggressiveness | 122 // buffer targeting aggressiveness |
| 124 int under_shoot_pct; | 123 int under_shoot_pct; |
| 125 int over_shoot_pct; | 124 int over_shoot_pct; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 143 // two pass datarate control | 142 // two pass datarate control |
| 144 int two_pass_vbrbias; // two pass datarate control tweaks | 143 int two_pass_vbrbias; // two pass datarate control tweaks |
| 145 int two_pass_vbrmin_section; | 144 int two_pass_vbrmin_section; |
| 146 int two_pass_vbrmax_section; | 145 int two_pass_vbrmax_section; |
| 147 // END DATARATE CONTROL OPTIONS | 146 // END DATARATE CONTROL OPTIONS |
| 148 // ---------------------------------------------------------------- | 147 // ---------------------------------------------------------------- |
| 149 | 148 |
| 150 // Spatial and temporal scalability. | 149 // Spatial and temporal scalability. |
| 151 int ss_number_layers; // Number of spatial layers. | 150 int ss_number_layers; // Number of spatial layers. |
| 152 int ts_number_layers; // Number of temporal layers. | 151 int ts_number_layers; // Number of temporal layers. |
| 152 // Bitrate allocation for spatial layers. |
| 153 int ss_target_bitrate[VPX_SS_MAX_LAYERS]; |
| 153 // Bitrate allocation (CBR mode) and framerate factor, for temporal layers. | 154 // Bitrate allocation (CBR mode) and framerate factor, for temporal layers. |
| 154 int ts_target_bitrate[VPX_TS_MAX_LAYERS]; | 155 int ts_target_bitrate[VPX_TS_MAX_LAYERS]; |
| 155 int ts_rate_decimator[VPX_TS_MAX_LAYERS]; | 156 int ts_rate_decimator[VPX_TS_MAX_LAYERS]; |
| 156 | 157 |
| 157 // these parameters aren't to be used in final build don't use!!! | 158 // these parameters aren't to be used in final build don't use!!! |
| 158 int play_alternate; | 159 int play_alternate; |
| 159 int alt_freq; | 160 int alt_freq; |
| 160 | 161 |
| 161 int encode_breakout; // early breakout : for video conf recommend 800 | 162 int encode_breakout; // early breakout : for video conf recommend 800 |
| 162 | 163 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 | 239 |
| 239 void vp9_set_svc(VP9_PTR comp, int use_svc); | 240 void vp9_set_svc(VP9_PTR comp, int use_svc); |
| 240 | 241 |
| 241 int vp9_get_quantizer(VP9_PTR c); | 242 int vp9_get_quantizer(VP9_PTR c); |
| 242 | 243 |
| 243 #ifdef __cplusplus | 244 #ifdef __cplusplus |
| 244 } // extern "C" | 245 } // extern "C" |
| 245 #endif | 246 #endif |
| 246 | 247 |
| 247 #endif // VP9_COMMON_VP9_ONYX_H_ | 248 #endif // VP9_COMMON_VP9_ONYX_H_ |
| OLD | NEW |