hardware/intel/libva
Revisión | a1c74db238495a4727976fb5ae211c3e5e9db5e7 (tree) |
---|---|
Tiempo | 2014-02-13 16:07:47 |
Autor | Tianmi Chen <tianmi.chen@inte...> |
Commiter | Xiang, Haihao |
libva: change the types of all fields in VABoolCoderContextVPX
BZ: 120268
Change the types of all fields in VABoolCoderContextVPX to
"unsigned char" to avoid potential bugs.
Change-Id: I483f115080cefe45ae49503ff5737c7dfff305a8
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
@@ -51,11 +51,11 @@ extern "C" { | ||
51 | 51 | typedef struct _VABoolCoderContextVPX |
52 | 52 | { |
53 | 53 | /* partition 0 "range" */ |
54 | - unsigned short range; | |
54 | + unsigned char range; | |
55 | 55 | /* partition 0 "value" */ |
56 | - unsigned int value; | |
56 | + unsigned char value; | |
57 | 57 | /* partition 0 number of shifts before an output byte is available */ |
58 | - unsigned short count; | |
58 | + unsigned char count; | |
59 | 59 | } VABoolCoderContextVPX; |
60 | 60 | |
61 | 61 | /** |