/frameworks/wilhelm/include/OMXAL/ |
D | OpenMAXAL.h | 52 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 …]
|
D | OpenMAXAL_Android.h | 36 #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/ |
D | xaVideoDecoderCapabilities.cpp | 43 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/ |
D | VideoCodec_to_android.cpp | 44 static XAuint32 VideoDecoderNbProfLevel[kNbVideoMimeTypes]; 46 static XAuint32 NbSupportedDecoderTypes = 0; 49 XAuint32 convertOpenMaxIlToAl(OMX_U32 ilVideoProfileOrLevel) { in convertOpenMaxIlToAl() 55 return (XAuint32) (__builtin_ctz(ilVideoProfileOrLevel) + 1); in convertOpenMaxIlToAl() 131 XAuint32 android_videoCodec_getNbDecoders() { in android_videoCodec_getNbDecoders() 136 void android_videoCodec_getDecoderIds(XAuint32 nbDecoders, XAuint32 *pDecoderIds) { in android_videoCodec_getDecoderIds() 137 XAuint32 *pIds = pDecoderIds; in android_videoCodec_getDecoderIds() 138 XAuint32 nbFound = 0; in android_videoCodec_getDecoderIds() 153 SLresult android_videoCodec_getProfileLevelCombinationNb(XAuint32 decoderId, XAuint32 *pNb) in android_videoCodec_getProfileLevelCombinationNb() 171 SLresult android_videoCodec_getProfileLevelCombination(XAuint32 decoderId, XAuint32 plIndex, in android_videoCodec_getProfileLevelCombination()
|
D | VideoCodec_to_android.h | 47 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);
|
D | MediaPlayer_to_android.cpp | 62 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/ |
D | IVideoDecoderCapabilities.cpp | 26 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()
|
D | IStreamInformation.c | 52 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()
|
D | IEngine.c | 1017 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 …]
|
D | IAndroidBufferQueue.c | 127 XAuint32 formatData = *((XAuint32*)pItems->itemData); in setItems()
|
/frameworks/wilhelm/src/ |
D | xa_entry.c | 21 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()
|
D | devices.h | 54 extern const XAuint32 * const VideoDecoderIds; 56 extern const XAuint32 kMaxVideoDecoders;
|
D | data.h | 107 XAuint32 domain;
|
/frameworks/wilhelm/tests/sandbox/ |
D | xaplay.c | 59 #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/ |
D | native-media-jni.c | 85 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()
|