diff options
author | Alex Converse <aconverse@google.com> | 2017-03-03 15:02:56 -0800 |
---|---|---|
committer | Alex Converse <aconverse@google.com> | 2017-03-03 23:09:12 +0000 |
commit | bcd12de6c3a785473085fa9a9c2534e0ecb93062 (patch) | |
tree | 228c8ffb957115df180376e2dfa1d50372d2b77a /vp9/encoder/vp9_encodemb.c | |
parent | 3e7025022ef7732aa5aa41533715d7a249fd0ab4 (diff) | |
download | libvpx-bcd12de6c3a785473085fa9a9c2534e0ecb93062.tar.gz |
Narrow cat6_high_cost tables to uint16_t
Saves 2688 bytes of rodata.
Change-Id: I46633b6e50c2845181c70fff6273a8e58fdd1e56
Diffstat (limited to 'vp9/encoder/vp9_encodemb.c')
-rw-r--r-- | vp9/encoder/vp9_encodemb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_encodemb.c b/vp9/encoder/vp9_encodemb.c index 0c025ad43..ded502d06 100644 --- a/vp9/encoder/vp9_encodemb.c +++ b/vp9/encoder/vp9_encodemb.c @@ -113,9 +113,9 @@ int vp9_optimize_b(MACROBLOCK *mb, int plane, int block, TX_SIZE tx_size, mb->token_costs[tx_size][type][ref]; int best, band, pt, i, final_eob; #if CONFIG_VP9_HIGHBITDEPTH - const int *cat6_high_cost = vp9_get_high_cost_table(xd->bd); + const uint16_t *cat6_high_cost = vp9_get_high_cost_table(xd->bd); #else - const int *cat6_high_cost = vp9_get_high_cost_table(8); + const uint16_t *cat6_high_cost = vp9_get_high_cost_table(8); #endif assert((!type && !plane) || (type && plane)); |