Home
last modified time | relevance | path

Searched refs:XAuint32 (Results 1 – 15 of 15) sorted by relevance

/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h52 typedef xa_uint32_t XAuint32; /* 32 bit unsigned integer */ typedef
55 typedef XAuint32 XAboolean;
58 typedef XAuint32 XAmillisecond;
59 typedef XAuint32 XAmilliHertz;
63 typedef XAuint32 XAmicrosecond;
65 typedef XAuint32 XAresult;
67 #define XA_BOOLEAN_FALSE ((XAuint32) 0x00000000)
68 #define XA_BOOLEAN_TRUE ((XAuint32) 0x00000001)
83 #define XA_RESULT_SUCCESS ((XAuint32) 0x00000000)
84 #define XA_RESULT_PRECONDITIONS_VIOLATED ((XAuint32) 0x00000001)
[all …]
DOpenMAXAL_Android.h38 #define XA_ANDROID_VIDEOCODEC_VP8 ((XAuint32) 0x00000006)
40 #define XA_ANDROID_VIDEOPROFILE_VP8_MAIN ((XAuint32) 0x00000001)
42 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION0 ((XAuint32) 0x00000001)
43 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION1 ((XAuint32) 0x00000002)
44 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION2 ((XAuint32) 0x00000003)
45 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION3 ((XAuint32) 0x00000004)
56 #define XA_ANDROID_ITEMKEY_NONE ((XAuint32) 0x00000000)
57 #define XA_ANDROID_ITEMKEY_EOS ((XAuint32) 0x00000001)
58 #define XA_ANDROID_ITEMKEY_DISCONTINUITY ((XAuint32) 0x00000002)
59 #define XA_ANDROID_ITEMKEY_BUFFERQUEUEEVENT ((XAuint32) 0x00000003)
[all …]
/frameworks/wilhelm/tests/examples/
DxaVideoDecoderCapabilities.cpp43 const char* videoCodecIdToString(XAuint32 decoderId) { in videoCodecIdToString()
60 XAuint32 id;
64 const char *id_to_string(XAuint32 id, const id_to_string_t *table, size_t numEntries) in id_to_string()
78 XAuint32 id1;
83 const char *id_pair_to_string(XAuint32 id1, XAuint32 id2, const id_pair_to_string_t *table, in id_pair_to_string()
97 const char *videoProfileToString(XAuint32 codec, XAuint32 profile) { in videoProfileToString()
160 const char* videoLevelToString(XAuint32 codec, XAuint32 level) { in videoLevelToString()
230 {(XAuint32) XA_ENGINEOPTION_THREADSAFE, (XAuint32) XA_BOOLEAN_TRUE} in TestVideoDecoderCapabilities()
248 XAuint32 numDecoders = 0; in TestVideoDecoderCapabilities()
249 XAuint32 *decoderIds = NULL; in TestVideoDecoderCapabilities()
[all …]
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp45 static XAuint32 VideoDecoderNbProfLevel[kNbVideoMimeTypes];
47 static XAuint32 NbSupportedDecoderTypes = 0;
50 XAuint32 convertOpenMaxIlToAl(OMX_U32 ilVideoProfileOrLevel) { in convertOpenMaxIlToAl()
56 return (XAuint32) (__builtin_ctz(ilVideoProfileOrLevel) + 1); in convertOpenMaxIlToAl()
132 XAuint32 android_videoCodec_getNbDecoders() { in android_videoCodec_getNbDecoders()
137 void android_videoCodec_getDecoderIds(XAuint32 nbDecoders, XAuint32 *pDecoderIds) { in android_videoCodec_getDecoderIds()
138 XAuint32 *pIds = pDecoderIds; in android_videoCodec_getDecoderIds()
139 XAuint32 nbFound = 0; in android_videoCodec_getDecoderIds()
154 SLresult android_videoCodec_getProfileLevelCombinationNb(XAuint32 decoderId, XAuint32 *pNb) in android_videoCodec_getProfileLevelCombinationNb()
172 SLresult android_videoCodec_getProfileLevelCombination(XAuint32 decoderId, XAuint32 plIndex, in android_videoCodec_getProfileLevelCombination()
DVideoCodec_to_android.h47 extern XAuint32 android_videoCodec_getNbDecoders();
56 extern void android_videoCodec_getDecoderIds(XAuint32 nbDecoders, XAuint32 *pDecoderIds);
68 extern SLresult android_videoCodec_getProfileLevelCombinationNb(XAuint32 decoderId, XAuint32 *pNb);
82 extern SLresult android_videoCodec_getProfileLevelCombination(XAuint32 decoderId,
83 XAuint32 plIndex, XAVideoCodecDescriptor *pDescr);
DMediaPlayer_to_android.cpp62 XAuint32 events; in player_handleMediaPlayerEventNotifications()
118 streamInfo.videoInfo.width = (XAuint32)data1; in player_handleMediaPlayerEventNotifications()
119 streamInfo.videoInfo.height = (XAuint32)data2; in player_handleMediaPlayerEventNotifications()
376 XAuint32 sourceLocator = *(XAuint32 *)pDataSrc->pLocator; in android_Player_create()
/frameworks/wilhelm/src/itf/
DIVideoDecoderCapabilities.cpp26 XAuint32 *pNumDecoders, XAuint32 *pDecoderIds) in IVideoDecoderCapabilities_GetVideoDecoders()
45 XAuint32 numDecoders = *pNumDecoders; in IVideoDecoderCapabilities_GetVideoDecoders()
47 const XAuint32 androidNbDecoders = android::android_videoCodec_getNbDecoders(); in IVideoDecoderCapabilities_GetVideoDecoders()
56 memcpy(pDecoderIds, VideoDecoderIds, numDecoders * sizeof(XAuint32)); in IVideoDecoderCapabilities_GetVideoDecoders()
67 XAVideoDecoderCapabilitiesItf self, XAuint32 decoderId, XAuint32 *pIndex, in IVideoDecoderCapabilities_GetVideoDecoderCapabilities()
DIStreamInformation.cpp52 XAuint32 streamIndex, /* [in] */ in IStreamInformation_QueryStreamType()
53 XAuint32 *domain) /* [out] */ in IStreamInformation_QueryStreamType()
74 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamType()
94 XAuint32 streamIndex, /* [in] */ in IStreamInformation_QueryStreamInformation()
111 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamInformation()
162 XAuint32 streamIndex, /* [in] */ in IStreamInformation_QueryStreamName()
175 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamName()
234 XAuint32 *numStreams, /* [in/out] */ in IStreamInformation_QueryActiveStreams()
262 XAuint32 streamNum, /* [in] */ in IStreamInformation_SetActiveStream()
DIEngine.cpp1018 XAuint32 deviceID, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateCameraDevice()
1031 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateRadioDevice()
1043 static XAresult IXAEngine_CreateLEDDevice(XAEngineItf self, XAObjectItf *pDevice, XAuint32 deviceID, in IXAEngine_CreateLEDDevice()
1044 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IXAEngine_CreateLEDDevice()
1055 XAuint32 deviceID, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IXAEngine_CreateVibraDevice()
1068 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateMediaPlayer()
1269 XADataSink *pDataSnk, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateMediaRecorder()
1288 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IXAEngine_CreateOutputMix()
1299 XADataSource *pDataSource, XAuint32 numInterfaces, in IXAEngine_CreateMetadataExtractor()
1310 void *pParameters, XAuint32 objectID, XAuint32 numInterfaces, in IXAEngine_CreateExtensionObject()
[all …]
DIAndroidBufferQueue.cpp127 XAuint32 formatData = *((XAuint32*)pItems->itemData); in setItems()
/frameworks/wilhelm/src/
Dxa_entry.cpp21 XA_API XAresult XAAPIENTRY xaCreateEngine(XAObjectItf *pEngine, XAuint32 numOptions, in xaCreateEngine()
22 const XAEngineOption *pEngineOptions, XAuint32 numInterfaces, in xaCreateEngine()
38 XA_API XAresult XAAPIENTRY xaQueryNumSupportedEngineInterfaces(XAuint32 *pNumSupportedInterfaces) in xaQueryNumSupportedEngineInterfaces()
51 XA_API XAresult XAAPIENTRY xaQuerySupportedEngineInterfaces(XAuint32 index, in xaQuerySupportedEngineInterfaces()
Ddevices.h54 extern const XAuint32 * const VideoDecoderIds;
56 extern const XAuint32 kMaxVideoDecoders;
Ddata.h107 XAuint32 domain;
/frameworks/wilhelm/tests/sandbox/
Dxaplay.c59 #define PREFETCHSTATUS_UNKNOWN ((XAuint32) 0)
60 #define PREFETCHSTATUS_ERROR ((XAuint32) (-1))
66 XAuint32 prefetch_status = PREFETCHSTATUS_UNKNOWN;
75 void streamEventChangeCallback(XAStreamInformationItf caller __unused, XAuint32 eventId, in streamEventChangeCallback()
76 XAuint32 streamIndex, void *pEventData, void *pContext) in streamEventChangeCallback()
92 void prefetchStatusCallback(XAPrefetchStatusItf caller, void *pContext, XAuint32 event) in prefetchStatusCallback()
100 XAuint32 status; in prefetchStatusCallback()
109 XAuint32 new_prefetch_status; in prefetchStatusCallback()
130 void playEventCallback(XAPlayItf caller, void *pContext, XAuint32 event) in playEventCallback()
159 XAuint32 dataSize __unused, in bufferQueueCallback()
[all …]
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c85 void PlayCallback(XAPlayItf caller, void *pContext, XAuint32 event) { in PlayCallback()
97 XAuint32 dataSize, /* input */ in AndroidBufferQueueCallback()
98 XAuint32 dataUsed, /* input */ in AndroidBufferQueueCallback()
100 XAuint32 itemsLength /* input */) in AndroidBufferQueueCallback()
213 sizeof(XAuint32)*2 /*msgLength*/); in AndroidBufferQueueCallback()
226 XAuint32 eventId, in StreamChangeCallback()
227 XAuint32 streamIndex, in StreamChangeCallback()
243 XAuint32 domain; in StreamChangeCallback()
326 sizeof(XAuint32)*2 /*msgLength*/); in enqueueInitialBuffers()