Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 849de60c authored by Marcus Oakland's avatar Marcus Oakland Committed by Glenn Kasten
Browse files

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: default avatarMarcus Oakland <marcus.oakland@arm.com>
parent 17b5ca1e
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -48,6 +48,8 @@
#ifndef OMX_Types_h
#ifndef OMX_Types_h
#define OMX_Types_h
#define OMX_Types_h


#include <stdint.h>

#ifdef __cplusplus
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
@@ -160,10 +162,10 @@ typedef unsigned short OMX_U16;
typedef signed short OMX_S16;
typedef signed short OMX_S16;


/** OMX_U32 is a 32 bit unsigned quantity that is 32 bit word aligned */
/** 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 */
/** 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
/* Users with compilers that cannot accept the "long long" designation should