]> granicus.if.org Git - libx264/commitdiff
reduce the size of some cabac arrays
authorLoren Merritt <pengvado@akuvian.org>
Tue, 25 Mar 2008 01:25:19 +0000 (19:25 -0600)
committerLoren Merritt <pengvado@akuvian.org>
Tue, 25 Mar 2008 01:25:19 +0000 (19:25 -0600)
encoder/rdo.c

index 31c720aac1230495df6efd663947a489ea187004..bd481cf4b16db7f2da0eb8d4ab13dac2a2c54f87 100644 (file)
@@ -26,8 +26,8 @@
 
 #define RDO_SKIP_BS
 
-static int cabac_prefix_transition[15][128];
-static int cabac_prefix_size[15][128];
+static uint8_t cabac_prefix_transition[15][128];
+static uint16_t cabac_prefix_size[15][128];
 
 /* CAVLC: produces exactly the same bit count as a normal encode */
 /* this probably still leaves some unnecessary computations */