iterator_enc: make VP8IteratorReset() static

This function is unused outside of iterator_enc.c.

Change-Id: I0f1ecedeb9ed4d9f51d0135f04b8ef00424f24cc
This commit is contained in:
James Zern 2024-07-12 13:48:58 -07:00
parent fbd93896a6
commit 6296cc8d0d
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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)