[FFmpeg-soc] [soc]: r3928 - dirac/libavcodec/dirac_arith.h

conrad subversion at mplayerhq.hu
Thu Jan 1 21:32:11 CET 2009


Author: conrad
Date: Thu Jan  1 21:32:10 2009
New Revision: 3928

Log:
The probabilites fit in 16 bits, so make the context array smaller

Modified:
   dirac/libavcodec/dirac_arith.h

Modified: dirac/libavcodec/dirac_arith.h
==============================================================================
--- dirac/libavcodec/dirac_arith.h	Thu Jan  1 21:32:08 2009	(r3927)
+++ dirac/libavcodec/dirac_arith.h	Thu Jan  1 21:32:10 2009	(r3928)
@@ -86,7 +86,7 @@ typedef struct dirac_arith_state {
     const uint8_t *bytestream;
     const uint8_t *bytestream_end;
 
-    unsigned int contexts[ARITH_CONTEXT_COUNT];
+    uint16_t contexts[ARITH_CONTEXT_COUNT];
 
     PutBitContext *pb;
 } dirac_arith_state;



More information about the FFmpeg-soc mailing list