From 6296cc8d0df7909e450c4112abcd57c01795b69e Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 12 Jul 2024 13:48:58 -0700 Subject: [PATCH] iterator_enc: make VP8IteratorReset() static This function is unused outside of iterator_enc.c. Change-Id: I0f1ecedeb9ed4d9f51d0135f04b8ef00424f24cc --- src/enc/iterator_enc.c | 3 ++- src/enc/vp8i_enc.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/enc/iterator_enc.c b/src/enc/iterator_enc.c index 29f91d83..4232253c 100644 --- a/src/enc/iterator_enc.c +++ b/src/enc/iterator_enc.c @@ -54,7 +54,8 @@ void VP8IteratorSetRow(VP8EncIterator* const it, int y) { InitLeft(it); } -void VP8IteratorReset(VP8EncIterator* const it) { +// restart a scan +static void VP8IteratorReset(VP8EncIterator* const it) { VP8Encoder* const enc = it->enc_; VP8IteratorSetRow(it, 0); VP8IteratorSetCountDown(it, enc->mb_w_ * enc->mb_h_); // default diff --git a/src/enc/vp8i_enc.h b/src/enc/vp8i_enc.h index f942373d..3a030cc3 100644 --- a/src/enc/vp8i_enc.h +++ b/src/enc/vp8i_enc.h @@ -266,8 +266,6 @@ typedef struct { // in iterator.c // must be called first void VP8IteratorInit(VP8Encoder* const enc, VP8EncIterator* const it); -// restart a scan -void VP8IteratorReset(VP8EncIterator* const it); // reset iterator position to row 'y' void VP8IteratorSetRow(VP8EncIterator* const it, int y); // set count down (=number of iterations to go)