Home
last modified time | relevance | path

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

123

/frameworks/av/media/ndk/include/media/
DNdkMediaCodec.h113 media_status_t error,
147 media_status_t AMediaCodec_delete(AMediaCodec*) __INTRODUCED_IN(21);
152 media_status_t AMediaCodec_configure(
163 media_status_t AMediaCodec_start(AMediaCodec*) __INTRODUCED_IN(21);
168 media_status_t AMediaCodec_stop(AMediaCodec*) __INTRODUCED_IN(21);
174 media_status_t AMediaCodec_flush(AMediaCodec*) __INTRODUCED_IN(21);
222 media_status_t AMediaCodec_queueInputBuffer(AMediaCodec*, size_t idx,
229 media_status_t AMediaCodec_queueSecureInputBuffer(AMediaCodec*, size_t idx,
248 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool render) __INTRODUCED_…
260 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface) __INTRODUCED_IN(2…
[all …]
DNdkMediaDrm.h197 media_status_t AMediaDrm_setOnEventListener(AMediaDrm *,
205 media_status_t AMediaDrm_setOnExpirationUpdateListener(AMediaDrm *,
213 media_status_t AMediaDrm_setOnKeysChangeListener(AMediaDrm *,
222 media_status_t AMediaDrm_openSession(AMediaDrm *,
229 media_status_t AMediaDrm_closeSession(AMediaDrm *,
278 media_status_t AMediaDrm_getKeyRequest(AMediaDrm *, const AMediaDrmScope *scope,
300 media_status_t AMediaDrm_provideKeyResponse(AMediaDrm *, const AMediaDrmScope *scope,
311 media_status_t AMediaDrm_restoreKeys(AMediaDrm *, const AMediaDrmSessionId *sessionId,
319 media_status_t AMediaDrm_removeKeys(AMediaDrm *,
335 media_status_t AMediaDrm_queryKeyStatus(AMediaDrm *, const AMediaDrmSessionId *sessionId,
[all …]
DNdkImageReader.h92 media_status_t AImageReader_new(
120 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window) __INTROD…
136 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width) __INTRODUCE…
152 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) __INTRODU…
165 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format) __INTRODU…
178 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) __I…
214 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) __INTRODU…
258 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) __INTRO…
301 media_status_t AImageReader_setImageListener(
369 media_status_t AImageReader_newWithUsage(
[all …]
DNdkImage.h589 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width) __INTRODUCED_IN(24);
603 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height) __INTRODUCED_IN(24);
619 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format) __INTRODUCED_IN(24);
636 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect) __INTRODUCED_IN…
660 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs) __INTRODUCED_I…
678 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) __INTRODUCE…
705 media_status_t AImage_getPlanePixelStride(
732 media_status_t AImage_getPlaneRowStride(
756 media_status_t AImage_getPlaneData(
806 media_status_t AImage_getHardwareBuffer(const AImage* image, /*out*/AHardwareBuffer** buffer) __INT…
DNdkMediaMuxer.h66 media_status_t AMediaMuxer_delete(AMediaMuxer*) __INTRODUCED_IN(21);
79 media_status_t AMediaMuxer_setLocation(AMediaMuxer*,
94 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees) __INTRODUCED_IN(21);
107 media_status_t AMediaMuxer_start(AMediaMuxer*) __INTRODUCED_IN(21);
113 media_status_t AMediaMuxer_stop(AMediaMuxer*) __INTRODUCED_IN(21);
122 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
DNdkMediaExtractor.h62 media_status_t AMediaExtractor_delete(AMediaExtractor*) __INTRODUCED_IN(21);
67 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor*, int fd, off64_t offset,
73 media_status_t AMediaExtractor_setDataSource(AMediaExtractor*,
81 media_status_t AMediaExtractor_setDataSourceCustom(AMediaExtractor*,
102 media_status_t AMediaExtractor_selectTrack(AMediaExtractor*, size_t idx) __INTRODUCED_IN(21);
108 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor*, size_t idx) __INTRODUCED_IN(21);
148 media_status_t AMediaExtractor_seekTo(AMediaExtractor*,
226 media_status_t AMediaExtractor_getSampleFormat(AMediaExtractor *ex,
/frameworks/av/media/ndk/
DNdkImagePriv.h52 media_status_t getWidth(/*out*/int32_t* width) const;
53 media_status_t getHeight(/*out*/int32_t* height) const;
54 media_status_t getFormat(/*out*/int32_t* format) const;
55 media_status_t getNumPlanes(/*out*/int32_t* numPlanes) const;
56 media_status_t getTimestamp(/*out*/int64_t* timestamp) const;
58 media_status_t lockImage();
59 media_status_t unlockImageIfLocked(/*out*/int* fenceFd);
61 media_status_t getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const;
62 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
63 media_status_t getPlaneData(int planeIdx,/*out*/uint8_t** data, /*out*/int* dataLength) const;
[all …]
DNdkImageReaderPriv.h64 media_status_t init();
66 media_status_t setImageListener(AImageReader_ImageListener* listener);
67 media_status_t setBufferRemovedListener(AImageReader_BufferRemovedListener* listener);
69 media_status_t acquireNextImage(/*out*/AImage** image, /*out*/int* fenceFd);
70 media_status_t acquireLatestImage(/*out*/AImage** image, /*out*/int* fenceFd);
72 media_status_t getWindowNativeHandle(/*out*/native_handle_t **handle);
88 media_status_t acquireImageLocked(/*out*/AImage** image, /*out*/int* fenceFd);
96 media_status_t setImageListenerLocked(AImageReader_ImageListener* listener);
97 media_status_t setBufferRemovedListenerLocked(AImageReader_BufferRemovedListener* listener);
133 media_status_t setImageListener(AImageReader_ImageListener* listener);
[all …]
DNdkMediaMuxer.cpp55 media_status_t AMediaMuxer_delete(AMediaMuxer *muxer) { in AMediaMuxer_delete()
62 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { in AMediaMuxer_setLocation()
67 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer *muxer, int degrees) { in AMediaMuxer_setOrientationHint()
80 media_status_t AMediaMuxer_start(AMediaMuxer *muxer) { in AMediaMuxer_start()
85 media_status_t AMediaMuxer_stop(AMediaMuxer *muxer) { in AMediaMuxer_stop()
90 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer, in AMediaMuxer_writeSampleData()
DNdkImage.cpp104 media_status_t
118 media_status_t
132 media_status_t
146 media_status_t
160 media_status_t
174 media_status_t AImage::lockImage() { in lockImage()
208 media_status_t AImage::unlockImageIfLocked(int* fenceFd) { in unlockImageIfLocked()
238 media_status_t
298 media_status_t
415 media_status_t
[all …]
DNdkImageReader.cpp132 media_status_t
170 media_status_t
183 media_status_t
188 media_status_t
194 media_status_t
199 media_status_t
275 media_status_t
396 media_status_t
521 media_status_t ret = image->unlockImageIfLocked(&unlockFenceFd); in releaseImageLocked()
557 media_status_t AImageReader::getWindowNativeHandle(native_handle **handle) { in getWindowNativeHandle()
[all …]
DNdkMediaCodec.cpp43 static media_status_t translate_error(status_t err) { in translate_error()
47 return (media_status_t) AMEDIACODEC_INFO_TRY_AGAIN_LATER; in translate_error()
355 media_status_t AMediaCodec_delete(AMediaCodec *mData) { in AMediaCodec_delete()
375 media_status_t AMediaCodec_getName( in AMediaCodec_getName()
401 media_status_t AMediaCodec_configure( in AMediaCodec_configure()
425 media_status_t AMediaCodec_setAsyncNotifyCallback( in AMediaCodec_setAsyncNotifyCallback()
447 media_status_t AMediaCodec_releaseCrypto(AMediaCodec *mData) { in AMediaCodec_releaseCrypto()
452 media_status_t AMediaCodec_start(AMediaCodec *mData) { in AMediaCodec_start()
464 media_status_t AMediaCodec_stop(AMediaCodec *mData) { in AMediaCodec_stop()
465 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()
[all …]
DNdkMediaDrm.cpp201 static media_status_t translateStatus(status_t status) { in translateStatus()
202 media_status_t result = AMEDIA_ERROR_UNKNOWN; in translateStatus()
347 media_status_t AMediaDrm_setOnEventListener(AMediaDrm *mObj, AMediaDrmEventListener listener) { in AMediaDrm_setOnEventListener()
362 media_status_t AMediaDrm_setOnExpirationUpdateListener(AMediaDrm *mObj, in AMediaDrm_setOnExpirationUpdateListener()
378 media_status_t AMediaDrm_setOnKeysChangeListener(AMediaDrm *mObj, in AMediaDrm_setOnKeysChangeListener()
403 media_status_t AMediaDrm_openSession(AMediaDrm *mObj, AMediaDrmSessionId *sessionId) { in AMediaDrm_openSession()
422 media_status_t AMediaDrm_closeSession(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId) { in AMediaDrm_closeSession()
440 media_status_t AMediaDrm_getKeyRequest(AMediaDrm *mObj, const AMediaDrmScope *scope, in AMediaDrm_getKeyRequest()
494 media_status_t AMediaDrm_provideKeyResponse(AMediaDrm *mObj, const AMediaDrmScope *scope, in AMediaDrm_provideKeyResponse()
526 media_status_t AMediaDrm_restoreKeys(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_restoreKeys()
[all …]
/frameworks/av/include/media/
DMediaExtractorPluginApi.h69 media_status_t (*acquire_buffer)(void *handle,
78 media_status_t (*start)(void *data, CMediaBufferGroup *bufferGroup);
79 media_status_t (*stop)(void *data);
80 media_status_t (*getFormat)(void *data, AMediaFormat *format);
81 media_status_t (*read)(void *data, CMediaBuffer **buffer, uint32_t options, int64_t seekPosUs);
91 media_status_t (*getTrackMetaData)(
96 media_status_t (*getMetaData)(void *data, AMediaFormat *meta);
98 media_status_t (*setMediaCas)(void *data, const uint8_t* casToken, size_t size);
DMediaExtractorPluginHelper.h100 media_status_t acquire_buffer(
103 media_status_t ret =
131 virtual media_status_t start() = 0;
132 virtual media_status_t stop() = 0;
133 virtual media_status_t getFormat(AMediaFormat *format) = 0;
165 virtual media_status_t read(
182 wrapper->start = [](void *data, CMediaBufferGroup *bufferGroup) -> media_status_t { in wrap()
190 wrapper->stop = [](void *data) -> media_status_t { in wrap()
193 wrapper->getFormat = [](void *data, AMediaFormat *meta) -> media_status_t { in wrap()
197 -> media_status_t { in wrap()
[all …]
DNdkMediaErrorPriv.h23 media_status_t translate_error(android::status_t);
25 android::status_t reverse_translate_error(media_status_t);
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp41 virtual media_status_t start();
42 virtual media_status_t stop();
44 virtual media_status_t getFormat(AMediaFormat *);
46 virtual media_status_t read(
99 static media_status_t getFrameSizeByOffset(DataSourceHelper *source, in getFrameSizeByOffset()
197 media_status_t AMRExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
221 media_status_t AMRExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData()
253 media_status_t AMRSource::start() { in start()
264 media_status_t AMRSource::stop() { in stop()
271 media_status_t AMRSource::getFormat(AMediaFormat *meta) { in getFormat()
[all …]
/frameworks/base/media/native/midi/include/amidi/
DAMidi.h81 media_status_t AMIDI_API AMidiDevice_fromJava(
96 media_status_t AMIDI_API AMidiDevice_release(const AMidiDevice *midiDevice) __INTRODUCED_IN(29);
153 media_status_t AMIDI_API AMidiOutputPort_open(const AMidiDevice *device, int32_t portNumber,
200 media_status_t AMIDI_API AMidiInputPort_open(const AMidiDevice *device, int32_t portNumber,
241 media_status_t AMIDI_API AMidiInputPort_sendFlush(const AMidiInputPort *inputPort) __INTRODUCED_IN(…
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp42 virtual media_status_t start();
43 virtual media_status_t stop();
44 virtual media_status_t getFormat(AMediaFormat *);
46 virtual media_status_t read(
89 media_status_t MidiSource::start() in start()
99 media_status_t MidiSource::stop() in stop()
110 media_status_t MidiSource::getFormat(AMediaFormat *meta) in getFormat()
115 media_status_t MidiSource::read( in read()
298 media_status_t MidiExtractor::getTrackMetaData( in getTrackMetaData()
308 media_status_t MidiExtractor::getMetaData(AMediaFormat *meta) in getMetaData()
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp42 virtual media_status_t start();
43 virtual media_status_t stop();
45 virtual media_status_t getFormat(AMediaFormat*);
47 virtual media_status_t read(
186 media_status_t AACExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
207 media_status_t AACExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData()
240 media_status_t AACSource::start() { in start()
256 media_status_t AACSource::stop() { in stop()
263 media_status_t AACSource::getFormat(AMediaFormat *meta) { in getFormat()
267 media_status_t AACSource::read( in read()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp51 virtual media_status_t getFormat(AMediaFormat *);
53 virtual media_status_t start();
54 virtual media_status_t stop();
56 virtual media_status_t read(
78 media_status_t getFormat(AMediaFormat *) const;
85 virtual media_status_t readNextPacket(MediaBufferHelper **buffer) = 0;
89 media_status_t getFileMetaData(AMediaFormat *meta) { in getFileMetaData()
152 virtual media_status_t verifyHeader(MediaBufferHelper *buffer, uint8_t type) = 0;
160 media_status_t _readNextPacket(MediaBufferHelper **buffer, bool calcVorbisTimestamp);
186 virtual media_status_t readNextPacket(MediaBufferHelper **buffer) { in readNextPacket()
[all …]
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp47 virtual media_status_t start();
48 virtual media_status_t stop();
49 virtual media_status_t getFormat(AMediaFormat *);
51 virtual media_status_t read(
78 virtual media_status_t start();
79 virtual media_status_t stop();
80 virtual media_status_t getFormat(AMediaFormat *);
82 virtual media_status_t read(
139 media_status_t MPEG2PSExtractor::getTrackMetaData( in getTrackMetaData()
149 media_status_t MPEG2PSExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
[all …]
DMPEG2TSExtractor.h46 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
48 virtual media_status_t getMetaData(AMediaFormat *meta);
50 virtual media_status_t setMediaCas(const uint8_t* /*casToken*/, size_t /*size*/) override;
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp77 virtual media_status_t start();
78 virtual media_status_t stop();
79 virtual media_status_t getFormat(AMediaFormat *meta);
81 virtual media_status_t read(
121 media_status_t WAVExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
144 media_status_t WAVExtractor::getTrackMetaData( in getTrackMetaData()
151 const media_status_t status = AMediaFormat_copy(meta, mTrackMeta); in getTrackMetaData()
391 media_status_t WAVSource::start() { in start()
408 media_status_t WAVSource::stop() { in stop()
418 media_status_t WAVSource::getFormat(AMediaFormat *meta) { in getFormat()
[all …]
/frameworks/rs/
DrsGrallocConsumer.h44 media_status_t lockNextBuffer(uint32_t idx = 0);
45 media_status_t unlockBuffer(uint32_t idx = 0);
54 media_status_t releaseAcquiredBufferLocked(uint32_t idx);

123