From: Johann Date: Mon, 4 Nov 2019 22:52:21 +0000 (-0600) Subject: remove unused Pass1Encode parameters X-Git-Tag: v1.8.2~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e2562bdb9d6da989edfa6dbe1d80836f95c2fdd;p=platform%2Fupstream%2Flibvpx.git remove unused Pass1Encode parameters BUG=webm:1612 Change-Id: Ifbe5bbba706311057bfc5d5fa9b63e57ac56e398 --- diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index cd0c2e1..29c8cc6 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: