[x264-devel] commit: reduce the size of some cabac arrays (Loren Merritt )

git version control git at videolan.org
Tue Mar 25 04:33:09 CET 2008


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Mon Mar 24 19:25:19 2008 -0600| [4b18012311fe5e823495169ab9a911e1cb9b3907]

reduce the size of some cabac arrays

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=4b18012311fe5e823495169ab9a911e1cb9b3907
---

 encoder/rdo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/encoder/rdo.c b/encoder/rdo.c
index 31c720a..bd481cf 100644
--- a/encoder/rdo.c
+++ b/encoder/rdo.c
@@ -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 */



More information about the x264-devel mailing list