Home
last modified time | relevance | path

Searched refs:XAuint32 (Results 1 – 16 of 16) 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.h36 #define XA_ANDROID_VIDEOCODEC_VP8 ((XAuint32) 0x00000006)
38 #define XA_ANDROID_VIDEOPROFILE_VP8_MAIN ((XAuint32) 0x00000001)
40 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION0 ((XAuint32) 0x00000001)
41 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION1 ((XAuint32) 0x00000002)
42 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION2 ((XAuint32) 0x00000003)
43 #define XA_ANDROID_VIDEOLEVEL_VP8_VERSION3 ((XAuint32) 0x00000004)
54 #define XA_ANDROID_ITEMKEY_NONE ((XAuint32) 0x00000000)
55 #define XA_ANDROID_ITEMKEY_EOS ((XAuint32) 0x00000001)
56 #define XA_ANDROID_ITEMKEY_DISCONTINUITY ((XAuint32) 0x00000002)
57 #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.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);
DVideoCodec_to_android.cpp43 static XAuint32 VideoDecoderNbProfLevel[kNbVideoMimeTypes];
45 static XAuint32 NbSupportedDecoderTypes = 0;
48 XAuint32 convertOpenMaxIlToAl(OMX_U32 ilVideoProfileOrLevel) { in convertOpenMaxIlToAl()
54 return (XAuint32) (__builtin_ctz(ilVideoProfileOrLevel) + 1); in convertOpenMaxIlToAl()
127 XAuint32 android_videoCodec_getNbDecoders() { in android_videoCodec_getNbDecoders()
132 void android_videoCodec_getDecoderIds(XAuint32 nbDecoders, XAuint32 *pDecoderIds) { in android_videoCodec_getDecoderIds()
133 XAuint32 *pIds = pDecoderIds; in android_videoCodec_getDecoderIds()
134 XAuint32 nbFound = 0; in android_videoCodec_getDecoderIds()
149 SLresult android_videoCodec_getProfileLevelCombinationNb(XAuint32 decoderId, XAuint32 *pNb) in android_videoCodec_getProfileLevelCombinationNb()
167 SLresult android_videoCodec_getProfileLevelCombination(XAuint32 decoderId, XAuint32 plIndex, in android_videoCodec_getProfileLevelCombination()
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()
375 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.c52 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.c1017 XAuint32 deviceID, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateCameraDevice()
1030 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateRadioDevice()
1042 static XAresult IXAEngine_CreateLEDDevice(XAEngineItf self, XAObjectItf *pDevice, XAuint32 deviceID, in IXAEngine_CreateLEDDevice()
1043 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IXAEngine_CreateLEDDevice()
1054 XAuint32 deviceID, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IXAEngine_CreateVibraDevice()
1067 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateMediaPlayer()
1268 XADataSink *pDataSnk, XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IEngine_CreateMediaRecorder()
1287 XAuint32 numInterfaces, const XAInterfaceID *pInterfaceIds, in IXAEngine_CreateOutputMix()
1298 XADataSource *pDataSource, XAuint32 numInterfaces, in IXAEngine_CreateMetadataExtractor()
1309 void *pParameters, XAuint32 objectID, XAuint32 numInterfaces, in IXAEngine_CreateExtensionObject()
[all …]
DIAndroidBufferQueue.c127 XAuint32 formatData = *((XAuint32*)pItems->itemData); in setItems()
/frameworks/wilhelm/src/
Dxa_entry.c21 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.h104 XAuint32 domain;
Ddevices.c146 const XAuint32 kMaxVideoDecoders = sizeof(VideoCodecIds) / sizeof(VideoCodecIds[0]);
/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()