diff options
author | Dmitry Kovalev <dkovalev@google.com> | 2014-06-12 12:35:57 -0700 |
---|---|---|
committer | Dmitry Kovalev <dkovalev@google.com> | 2014-06-12 14:15:27 -0700 |
commit | 4ff1a614f1aa0dcb2741ede101a7e7896b93889e (patch) | |
tree | 8379f7ab9fb101bf831c204f95e0f4d9702fbff5 /vp9/encoder/vp9_speed_features.h | |
parent | c90cd4d572e8f71402b28a97b592ce8f1df7167f (diff) | |
download | libvpx-4ff1a614f1aa0dcb2741ede101a7e7896b93889e.tar libvpx-4ff1a614f1aa0dcb2741ede101a7e7896b93889e.tar.gz libvpx-4ff1a614f1aa0dcb2741ede101a7e7896b93889e.tar.bz2 libvpx-4ff1a614f1aa0dcb2741ede101a7e7896b93889e.zip |
Adding MV_SPEED_FEATURES struct.
Moving all motion vector related speed parameters from SPEED_FEATURES to
MV_SPEED_FEATURES.
Change-Id: I3e9af0039c7162f8671878c5920bce3cb256a84e
Diffstat (limited to 'vp9/encoder/vp9_speed_features.h')
-rw-r--r-- | vp9/encoder/vp9_speed_features.h | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/vp9/encoder/vp9_speed_features.h b/vp9/encoder/vp9_speed_features.h index 4a1a13bc0..c796421db 100644 --- a/vp9/encoder/vp9_speed_features.h +++ b/vp9/encoder/vp9_speed_features.h @@ -133,14 +133,21 @@ typedef enum { ONE_LOOP_REDUCED = 2 } FAST_COEFF_UPDATE; -typedef struct SPEED_FEATURES { - // Frame level coding parameter update - int frame_parameter_update; - +typedef struct MV_SPEED_FEATURES { // Motion search method (Diamond, NSTEP, Hex, Big Diamond, Square, etc). SEARCH_METHODS search_method; - RECODE_LOOP_TYPE recode_loop; + // This parameter controls the number of steps we'll do in a diamond + // search. + int max_step_search_steps; + + // This parameter controls which step in the n-step process we start at. + // It's changed adaptively based on circumstances. + int reduce_first_step_size; + + // If this is set to 1, we limit the motion search range to 2 times the + // largest motion vector found in the last frame. + int auto_mv_step_size; // Subpel_search_method can only be subpel_tree which does a subpixel // logarithmic search that keeps stepping at 1/2 pixel units until @@ -153,18 +160,15 @@ typedef struct SPEED_FEATURES { // Control when to stop subpel search int subpel_force_stop; +} MV_SPEED_FEATURES; - // This parameter controls the number of steps we'll do in a diamond - // search. - int max_step_search_steps; +typedef struct SPEED_FEATURES { + MV_SPEED_FEATURES mv; - // This parameter controls which step in the n-step process we start at. - // It's changed adaptively based on circumstances. - int reduce_first_step_size; + // Frame level coding parameter update + int frame_parameter_update; - // If this is set to 1, we limit the motion search range to 2 times the - // largest motion vector found in the last frame. - int auto_mv_step_size; + RECODE_LOOP_TYPE recode_loop; // Trellis (dynamic programming) optimization of quantized values (+1, 0). int optimize_coefficients; |