Home
last modified time | relevance | path

Searched refs:media_status_t (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/include/ndk/
DNdkMediaDrm.h110 media_status_t AMediaDrm_setOnEventListener(AMediaDrm *, AMediaDrmEventListener listener);
118 media_status_t AMediaDrm_openSession(AMediaDrm *, AMediaDrmSessionId *sessionId);
124 media_status_t AMediaDrm_closeSession(AMediaDrm *, const AMediaDrmSessionId *sessionId);
201 media_status_t AMediaDrm_getKeyRequest(AMediaDrm *, const AMediaDrmScope *scope,
223 media_status_t AMediaDrm_provideKeyResponse(AMediaDrm *, const AMediaDrmScope *scope,
233 media_status_t AMediaDrm_restoreKeys(AMediaDrm *, const AMediaDrmSessionId *sessionId,
241 media_status_t AMediaDrm_removeKeys(AMediaDrm *, const AMediaDrmSessionId *keySetId);
256 media_status_t AMediaDrm_queryKeyStatus(AMediaDrm *, const AMediaDrmSessionId *sessionId,
275 media_status_t AMediaDrm_getProvisionRequest(AMediaDrm *, const uint8_t **provisionRequest,
290 media_status_t AMediaDrm_provideProvisionResponse(AMediaDrm *,
[all …]
DNdkMediaCodec.h82 media_status_t AMediaCodec_delete(AMediaCodec*);
87 media_status_t AMediaCodec_configure(
98 media_status_t AMediaCodec_start(AMediaCodec*);
103 media_status_t AMediaCodec_stop(AMediaCodec*);
109 media_status_t AMediaCodec_flush(AMediaCodec*);
133 media_status_t AMediaCodec_queueInputBuffer(AMediaCodec*,
139 media_status_t AMediaCodec_queueSecureInputBuffer(AMediaCodec*,
153 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool render);
163 media_status_t AMediaCodec_releaseOutputBufferAtTime(
198 media_status_t AMediaCodecCryptoInfo_delete(AMediaCodecCryptoInfo*);
[all …]
DNdkMediaMuxer.h57 media_status_t AMediaMuxer_delete(AMediaMuxer*);
70 media_status_t AMediaMuxer_setLocation(AMediaMuxer*, float latitude, float longitude);
84 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees);
97 media_status_t AMediaMuxer_start(AMediaMuxer*);
103 media_status_t AMediaMuxer_stop(AMediaMuxer*);
112 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
DNdkMediaExtractor.h53 media_status_t AMediaExtractor_delete(AMediaExtractor*);
58 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor*, int fd, off64_t offset, off64_t le…
63 media_status_t AMediaExtractor_setDataSource(AMediaExtractor*, const char *location); // TODO suppo…
81 media_status_t AMediaExtractor_selectTrack(AMediaExtractor*, size_t idx);
87 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor*, size_t idx);
126 media_status_t AMediaExtractor_seekTo(AMediaExtractor*, int64_t seekPosUs, SeekMode mode);
DNdkMediaError.h56 } media_status_t; typedef
DNdkMediaFormat.h42 media_status_t AMediaFormat_delete(AMediaFormat*);
/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp40 static media_status_t translate_error(status_t err) { in translate_error()
64 media_status_t AMediaMuxer_delete(AMediaMuxer *muxer) { in AMediaMuxer_delete()
71 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { in AMediaMuxer_setLocation()
76 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer *muxer, int degrees) { in AMediaMuxer_setOrientationHint()
88 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { in AMediaMuxer_start()
93 media_status_t AMediaMuxer_stop(AMediaMuxer *muxer) { in AMediaMuxer_stop()
98 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer, in AMediaMuxer_writeSampleData()
DNdkMediaCodec.cpp41 static media_status_t translate_error(status_t err) { in translate_error()
45 return (media_status_t) AMEDIACODEC_INFO_TRY_AGAIN_LATER; in translate_error()
182 media_status_t AMediaCodec_delete(AMediaCodec *mData) { in AMediaCodec_delete()
198 media_status_t AMediaCodec_configure( in AMediaCodec_configure()
217 media_status_t AMediaCodec_start(AMediaCodec *mData) { in AMediaCodec_start()
229 media_status_t AMediaCodec_stop(AMediaCodec *mData) { in AMediaCodec_stop()
230 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()
241 media_status_t AMediaCodec_flush(AMediaCodec *mData) { in AMediaCodec_flush()
293 media_status_t AMediaCodec_queueInputBuffer(AMediaCodec *mData, in AMediaCodec_queueInputBuffer()
339 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec *mData, size_t idx, bool render) { in AMediaCodec_releaseOutputBuffer()
[all …]
DNdkMediaDrm.cpp113 static media_status_t translateStatus(status_t status) { in translateStatus()
114 media_status_t result = AMEDIA_ERROR_UNKNOWN; in translateStatus()
218 media_status_t AMediaDrm_setOnEventListener(AMediaDrm *mObj, AMediaDrmEventListener listener) { in AMediaDrm_setOnEventListener()
239 media_status_t AMediaDrm_openSession(AMediaDrm *mObj, AMediaDrmSessionId *sessionId) { in AMediaDrm_openSession()
258 media_status_t AMediaDrm_closeSession(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId) { in AMediaDrm_closeSession()
276 media_status_t AMediaDrm_getKeyRequest(AMediaDrm *mObj, const AMediaDrmScope *scope, in AMediaDrm_getKeyRequest()
327 media_status_t AMediaDrm_provideKeyResponse(AMediaDrm *mObj, const AMediaDrmScope *scope, in AMediaDrm_provideKeyResponse()
359 media_status_t AMediaDrm_restoreKeys(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_restoreKeys()
378 media_status_t AMediaDrm_removeKeys(AMediaDrm *mObj, const AMediaDrmSessionId *keySetId) { in AMediaDrm_removeKeys()
399 media_status_t AMediaDrm_queryKeyStatus(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_queryKeyStatus()
[all …]
DNdkMediaExtractor.cpp41 static media_status_t translate_error(status_t err) { in translate_error()
66 media_status_t AMediaExtractor_delete(AMediaExtractor *mData) { in AMediaExtractor_delete()
73 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor *mData, int fd, off64_t offset, off6… in AMediaExtractor_setDataSourceFd()
79 media_status_t AMediaExtractor_setDataSource(AMediaExtractor *mData, const char *location) { in AMediaExtractor_setDataSource()
135 media_status_t AMediaExtractor_selectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_selectTrack()
141 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_unselectTrack()
153 media_status_t AMediaExtractor_seekTo(AMediaExtractor *ex, int64_t seekPosUs, SeekMode mode) { in AMediaExtractor_seekTo()
DNdkMediaCrypto.cpp38 static media_status_t translate_error(status_t err) { in translate_error()
DNdkMediaFormat.cpp68 media_status_t AMediaFormat_delete(AMediaFormat *mData) { in AMediaFormat_delete()