]> granicus.if.org Git - libvpx/commitdiff
Merge "Removing unused fields from twopass_rc struct."
authorDmitry Kovalev <dkovalev@google.com>
Mon, 19 May 2014 17:27:47 +0000 (10:27 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Mon, 19 May 2014 17:27:47 +0000 (10:27 -0700)
1  2 
vp9/encoder/vp9_firstpass.c

index 116a0b12a0a9bc39ce061ce8450f8f5a3d23a6bb,b09accfe2efdaa17d0fc0ef58390a84413652a3e..04f03e20795d390538ea74d82869bda1bf50e63f
@@@ -2149,12 -2126,10 +2130,10 @@@ void vp9_rc_get_second_pass_params(VP9_
    FIRSTPASS_STATS this_frame;
    FIRSTPASS_STATS this_frame_copy;
  
-   double this_frame_intra_error;
-   double this_frame_coded_error;
    int target;
    LAYER_CONTEXT *lc = NULL;
 -  int is_spatial_svc = (cpi->use_svc && cpi->svc.number_temporal_layers == 1);
 -
 +  const int is_spatial_svc = (cpi->use_svc &&
 +                              cpi->svc.number_temporal_layers == 1);
    if (is_spatial_svc) {
      lc = &cpi->svc.layer_context[cpi->svc.spatial_layer_id];
      frames_left = (int)(twopass->total_stats.count -