diff options
author | Johann <johannkoenig@google.com> | 2019-11-04 16:52:21 -0600 |
---|---|---|
committer | Johann Koenig <johannkoenig@google.com> | 2019-11-07 23:41:04 +0000 |
commit | 3e2562bdb9d6da989edfa6dbe1d80836f95c2fdd (patch) | |
tree | a8abd32fa8038d518983a288c8b315fadabf2b72 /vp8 | |
parent | 17f2474ea4da381d78fa52a1b3ffd664aecf9094 (diff) | |
download | libvpx-3e2562bdb9d6da989edfa6dbe1d80836f95c2fdd.tar libvpx-3e2562bdb9d6da989edfa6dbe1d80836f95c2fdd.tar.gz libvpx-3e2562bdb9d6da989edfa6dbe1d80836f95c2fdd.tar.bz2 libvpx-3e2562bdb9d6da989edfa6dbe1d80836f95c2fdd.zip |
remove unused Pass1Encode parameters
BUG=webm:1612
Change-Id: Ifbe5bbba706311057bfc5d5fa9b63e57ac56e398
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/encoder/onyx_if.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index cd0c2e12b..29c8cc66c 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -2769,13 +2769,8 @@ static int decide_key_frame(VP8_COMP *cpi) { return code_key_frame; } -static void Pass1Encode(VP8_COMP *cpi, size_t *size, unsigned char *dest, - unsigned int *frame_flags) { - (void)size; - (void)dest; - (void)frame_flags; +static void Pass1Encode(VP8_COMP *cpi) { vp8_set_quantizer(cpi, 26); - vp8_first_pass(cpi); } #endif @@ -5066,7 +5061,7 @@ int vp8_get_compressed_data(VP8_COMP *cpi, unsigned int *frame_flags, } switch (cpi->pass) { #if !CONFIG_REALTIME_ONLY - case 1: Pass1Encode(cpi, size, dest, frame_flags); break; + case 1: Pass1Encode(cpi); break; case 2: Pass2Encode(cpi, size, dest, dest_end, frame_flags); break; #endif // !CONFIG_REALTIME_ONLY default: |