AArch64: Correction to OMX_U32 and OMX_S32

The types of OMX_U32 and OMX_S32 were appropriate to a 32-bit system
but were not appropriate to a 64-bit system. They have been changed to
make them portable between the two systems. With this change and a
change to frameworks/av/media/libstagefright/foundation/AString.cpp,
the android.media.cts.DecoderTest#testFlush CTS test passes.

Change-Id: I8e16c7169f54599c23fea71585b531e48541c78a
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
This commit is contained in:
Marcus Oakland 2014-03-25 17:53:43 +00:00 committed by Glenn Kasten
parent 17b5ca1e66
commit 849de60c1e
1 changed files with 4 additions and 2 deletions

View File

@ -48,6 +48,8 @@
#ifndef OMX_Types_h
#define OMX_Types_h
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@ -160,10 +162,10 @@ typedef unsigned short OMX_U16;
typedef signed short OMX_S16;
/** OMX_U32 is a 32 bit unsigned quantity that is 32 bit word aligned */
typedef unsigned long OMX_U32;
typedef uint32_t OMX_U32;
/** OMX_S32 is a 32 bit signed quantity that is 32 bit word aligned */
typedef signed long OMX_S32;
typedef int32_t OMX_S32;
/* Users with compilers that cannot accept the "long long" designation should