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
}
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: