ref: 50d3629c61f2b2187076f5b12fe24e06a97ef320
parent: aee577b691223b7430ba16fdd67ca735a535c47a
author: Alex Converse <aconverse@google.com>
date: Fri Jun 17 12:47:15 EDT 2016
Repack vp9_token_state. Reduces size from 32 bytes to 24 bytes on x86_64. Change-Id: I8a22552343a1fc916117f35267fe6a295250f742
--- a/vp9/encoder/vp9_encodemb.c
+++ b/vp9/encoder/vp9_encodemb.c
@@ -50,11 +50,10 @@
pd->dst.buf, pd->dst.stride);
}
-// TODO(aconverse): Re-pack this structure.
typedef struct vp9_token_state {
- int rate;
int64_t error;
- int next;
+ int rate;
+ int16_t next;
int16_t token;
tran_low_t qc;
tran_low_t dqc;