mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
iterator_enc: make VP8IteratorReset() static
This function is unused outside of iterator_enc.c. Change-Id: I0f1ecedeb9ed4d9f51d0135f04b8ef00424f24cc
This commit is contained in:
parent
fbd93896a6
commit
6296cc8d0d
@ -54,7 +54,8 @@ void VP8IteratorSetRow(VP8EncIterator* const it, int y) {
|
|||||||
InitLeft(it);
|
InitLeft(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VP8IteratorReset(VP8EncIterator* const it) {
|
// restart a scan
|
||||||
|
static void VP8IteratorReset(VP8EncIterator* const it) {
|
||||||
VP8Encoder* const enc = it->enc_;
|
VP8Encoder* const enc = it->enc_;
|
||||||
VP8IteratorSetRow(it, 0);
|
VP8IteratorSetRow(it, 0);
|
||||||
VP8IteratorSetCountDown(it, enc->mb_w_ * enc->mb_h_); // default
|
VP8IteratorSetCountDown(it, enc->mb_w_ * enc->mb_h_); // default
|
||||||
|
@ -266,8 +266,6 @@ typedef struct {
|
|||||||
// in iterator.c
|
// in iterator.c
|
||||||
// must be called first
|
// must be called first
|
||||||
void VP8IteratorInit(VP8Encoder* const enc, VP8EncIterator* const it);
|
void VP8IteratorInit(VP8Encoder* const enc, VP8EncIterator* const it);
|
||||||
// restart a scan
|
|
||||||
void VP8IteratorReset(VP8EncIterator* const it);
|
|
||||||
// reset iterator position to row 'y'
|
// reset iterator position to row 'y'
|
||||||
void VP8IteratorSetRow(VP8EncIterator* const it, int y);
|
void VP8IteratorSetRow(VP8EncIterator* const it, int y);
|
||||||
// set count down (=number of iterations to go)
|
// set count down (=number of iterations to go)
|
||||||
|
Loading…
Reference in New Issue
Block a user