diff options
author | Scott LaVarnway <slavarnway@google.com> | 2013-03-20 14:41:24 -0700 |
---|---|---|
committer | Scott LaVarnway <slavarnway@google.com> | 2013-03-20 14:41:24 -0700 |
commit | 699196dc3d348b7e1e92e08eb71d7e519a66d2ec (patch) | |
tree | 8a26f2d0fedb4e3e6ba4023faf243494c5e0d5d8 /vp8 | |
parent | 235898c3b2744b374b3a70ec3e0045c226bbabca (diff) | |
download | libvpx-699196dc3d348b7e1e92e08eb71d7e519a66d2ec.tar libvpx-699196dc3d348b7e1e92e08eb71d7e519a66d2ec.tar.gz libvpx-699196dc3d348b7e1e92e08eb71d7e519a66d2ec.tar.bz2 libvpx-699196dc3d348b7e1e92e08eb71d7e519a66d2ec.zip |
Removed mode_chosen_counts
This eliminates a tsan warning.
Change-Id: I204d109b12adb4e347762e63d12859244f28d1a9
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/encoder/onyx_if.c | 4 | ||||
-rw-r--r-- | vp8/encoder/onyx_int.h | 1 | ||||
-rw-r--r-- | vp8/encoder/rdopt.c | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 555a9e4bc..10d3cc8d2 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -641,7 +641,6 @@ void vp8_set_speed_features(VP8_COMP *cpi) for (i = 0; i < MAX_MODES; i ++) { cpi->mode_check_freq[i] = 0; - cpi->mode_chosen_counts[i] = 0; } cpi->mb.mbs_tested_so_far = 0; @@ -4600,9 +4599,6 @@ static void encode_frame_to_data_rate cm->frame_type, cm->refresh_golden_frame, cm->refresh_alt_ref_frame); - for (i = 0; i < MAX_MODES; i++) - fprintf(fmodes, "%5d ", cpi->mode_chosen_counts[i]); - fprintf(fmodes, "\n"); fclose(fmodes); diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 4f3fde6e1..c79531c5d 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -349,7 +349,6 @@ typedef struct VP8_COMP int ambient_err; unsigned int mode_check_freq[MAX_MODES]; - unsigned int mode_chosen_counts[MAX_MODES]; int rd_baseline_thresh[MAX_MODES]; diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c index 3d60bebda..9080c627c 100644 --- a/vp8/encoder/rdopt.c +++ b/vp8/encoder/rdopt.c @@ -2512,9 +2512,6 @@ void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, x->rd_thresh_mult[best_mode_index]; } - /* Note how often each mode chosen as best */ - cpi->mode_chosen_counts[best_mode_index] ++; - #if CONFIG_TEMPORAL_DENOISING if (cpi->oxcf.noise_sensitivity) { |