01org/libyami — pull request #23 by pinxiong (2014-05-13 03:17:06+00:00)
Title: Update data type

1.Update data types, including replacing
'uint8' to 'uint8_t', 'int8' to 'int8_t',
'uint16' to 'uint16_t', 'int16' to 'int16_t',
'uint32' to 'uint32_t', 'int32' to 'int32_t',
'uint64' to 'uint64_t', 'int64' to 'int64_t',
'boolean' to 'bool', 'BOOL' to 'bool',
'TRUE' to 'true', 'FALSE' to 'false'

2.Create a directory 'vaapi', which contains all files
related vaapi,including 'vaapibuffer.cpp','vaapibuffer.h',
'vaapiimage.cpp', 'vaapiimage.h', 'vaapiptrs.h',
'vaapisurface.h', 'vaapiutils.cpp', 'vaapiutils.h'.
All of those files mentioned above are belong to the directory 'common' before.

3.Update Makefile.am, Configure.ac

4.Add the file 'common_def.h' into the directory 'common',
which includes the define of 'TREU',
'FALSE' and the macro 'N_ELEMENTS(array)'

5.Remove the macro 'N_ELEMENTS(array)' in the files 'vaapisurface.cpp'
and 'vaapitypes.h', instead of adding the reference of '#include '