summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-04-20 16:55:59 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-04-20 16:55:59 +0000
commit57e48bc8f77ad6a6392979f44c66389251458ca1 (patch)
tree33ad032770c1e0baa219108fd70f41ee3cf29cf2
parent4cf48ce099348f4181e69bfe31135d2653074436 (diff)
parent933cf345dd0c09cb55e862d6413773b18e2f1404 (diff)
downloadlibvpx-57e48bc8f77ad6a6392979f44c66389251458ca1.tar.gz
Merge "onyx_if,encode_frame_to_data_rate: rm unused var" into main
-rw-r--r--vp8/encoder/onyx_if.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index 44a02b6dd..a78004807 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -3203,7 +3203,6 @@ static void encode_frame_to_data_rate(VP8_COMP *cpi, size_t *size,
int frame_under_shoot_limit;
int Loop = 0;
- int loop_count;
VP8_COMMON *cm = &cpi->common;
int active_worst_qchanged = 0;
@@ -3769,8 +3768,6 @@ static void encode_frame_to_data_rate(VP8_COMP *cpi, size_t *size,
vp8_save_coding_context(cpi);
- loop_count = 0;
-
scale_and_extend_source(cpi->un_scaled_source, cpi);
#if CONFIG_TEMPORAL_DENOISING && CONFIG_POSTPROC
@@ -3993,7 +3990,6 @@ static void encode_frame_to_data_rate(VP8_COMP *cpi, size_t *size,
q_low = cpi->active_best_quality;
q_high = cpi->active_worst_quality;
- loop_count++;
Loop = 1;
continue;
@@ -4219,7 +4215,6 @@ static void encode_frame_to_data_rate(VP8_COMP *cpi, size_t *size,
if (Loop == 1) {
vp8_restore_coding_context(cpi);
- loop_count++;
#if CONFIG_INTERNAL_STATS
cpi->tot_recode_hits++;
#endif