| 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 | 279 |
| 280 // Allows sub 8x8 modes to use the prediction filter that was determined | 280 // Allows sub 8x8 modes to use the prediction filter that was determined |
| 281 // best for 8x8 mode. If set to 0 we always re check all the filters for | 281 // best for 8x8 mode. If set to 0 we always re check all the filters for |
| 282 // sizes less than 8x8, 1 means we check all filter modes if no 8x8 filter | 282 // sizes less than 8x8, 1 means we check all filter modes if no 8x8 filter |
| 283 // was selected, and 2 means we use 8 tap if no 8x8 filter mode was selected. | 283 // was selected, and 2 means we use 8 tap if no 8x8 filter mode was selected. |
| 284 int adaptive_pred_interp_filter; | 284 int adaptive_pred_interp_filter; |
| 285 | 285 |
| 286 // Chessboard pattern prediction filter type search | 286 // Chessboard pattern prediction filter type search |
| 287 int cb_pred_filter_search; | 287 int cb_pred_filter_search; |
| 288 | 288 |
| 289 int cb_partition_search; |
| 290 |
| 291 int motion_field_mode_search; |
| 292 |
| 289 // Fast quantization process path | 293 // Fast quantization process path |
| 290 int use_quant_fp; | 294 int use_quant_fp; |
| 291 | 295 |
| 292 // Search through variable block partition types in non-RD mode decision | 296 // Search through variable block partition types in non-RD mode decision |
| 293 // encoding process for RTC. | 297 // encoding process for RTC. |
| 294 int partition_check; | 298 int partition_check; |
| 295 | 299 |
| 296 // Use finer quantizer in every other few frames that run variable block | 300 // Use finer quantizer in every other few frames that run variable block |
| 297 // partition type search. | 301 // partition type search. |
| 298 int force_frame_boost; | 302 int force_frame_boost; |
| 299 | 303 |
| 300 // Maximally allowed base quantization index fluctuation. | 304 // Maximally allowed base quantization index fluctuation. |
| 301 int max_delta_qindex; | 305 int max_delta_qindex; |
| 302 | 306 |
| 303 // Implements various heuristics to skip searching modes | 307 // Implements various heuristics to skip searching modes |
| 304 // The heuristics selected are based on flags | 308 // The heuristics selected are based on flags |
| 305 // defined in the MODE_SEARCH_SKIP_HEURISTICS enum | 309 // defined in the MODE_SEARCH_SKIP_HEURISTICS enum |
| 306 unsigned int mode_search_skip_flags; | 310 unsigned int mode_search_skip_flags; |
| 307 | 311 |
| 308 // A source variance threshold below which the split mode is disabled | |
| 309 unsigned int disable_split_var_thresh; | |
| 310 | |
| 311 // A source variance threshold below which filter search is disabled | 312 // A source variance threshold below which filter search is disabled |
| 312 // Choose a very large value (UINT_MAX) to use 8-tap always | 313 // Choose a very large value (UINT_MAX) to use 8-tap always |
| 313 unsigned int disable_filter_search_var_thresh; | 314 unsigned int disable_filter_search_var_thresh; |
| 314 | 315 |
| 315 // These bit masks allow you to enable or disable intra modes for each | 316 // These bit masks allow you to enable or disable intra modes for each |
| 316 // transform size separately. | 317 // transform size separately. |
| 317 int intra_y_mode_mask[TX_SIZES]; | 318 int intra_y_mode_mask[TX_SIZES]; |
| 318 int intra_uv_mode_mask[TX_SIZES]; | 319 int intra_uv_mode_mask[TX_SIZES]; |
| 319 | 320 |
| 320 // This variable enables an early break out of mode testing if the model for | 321 // This variable enables an early break out of mode testing if the model for |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 struct VP9_COMP; | 378 struct VP9_COMP; |
| 378 | 379 |
| 379 void vp9_set_speed_features(struct VP9_COMP *cpi); | 380 void vp9_set_speed_features(struct VP9_COMP *cpi); |
| 380 | 381 |
| 381 #ifdef __cplusplus | 382 #ifdef __cplusplus |
| 382 } // extern "C" | 383 } // extern "C" |
| 383 #endif | 384 #endif |
| 384 | 385 |
| 385 #endif // VP9_ENCODER_VP9_SPEED_FEATURES_H_ | 386 #endif // VP9_ENCODER_VP9_SPEED_FEATURES_H_ |
| 386 | 387 |
| OLD | NEW |