Home
last modified time | relevance | path

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

123

/frameworks/av/media/ndk/include/media/
DNdkMediaCodec.h113 media_status_t error,
155 media_status_t AMediaCodec_delete(AMediaCodec*) __INTRODUCED_IN(21);
162 media_status_t AMediaCodec_configure(
175 media_status_t AMediaCodec_start(AMediaCodec*) __INTRODUCED_IN(21);
182 media_status_t AMediaCodec_stop(AMediaCodec*) __INTRODUCED_IN(21);
190 media_status_t AMediaCodec_flush(AMediaCodec*) __INTRODUCED_IN(21);
246 media_status_t AMediaCodec_queueInputBuffer(AMediaCodec*, size_t idx,
255 media_status_t AMediaCodec_queueSecureInputBuffer(AMediaCodec*, size_t idx,
285 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool render) __INTRODUCED_…
299 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface) __INTRODUCED_IN(2…
[all …]
DNdkMediaDrm.h205 media_status_t AMediaDrm_setOnEventListener(AMediaDrm *,
215 media_status_t AMediaDrm_setOnExpirationUpdateListener(AMediaDrm *,
225 media_status_t AMediaDrm_setOnKeysChangeListener(AMediaDrm *,
236 media_status_t AMediaDrm_openSession(AMediaDrm *,
245 media_status_t AMediaDrm_closeSession(AMediaDrm *,
296 media_status_t AMediaDrm_getKeyRequest(AMediaDrm *, const AMediaDrmScope *scope,
319 media_status_t AMediaDrm_provideKeyResponse(AMediaDrm *, const AMediaDrmScope *scope,
332 media_status_t AMediaDrm_restoreKeys(AMediaDrm *, const AMediaDrmSessionId *sessionId,
342 media_status_t AMediaDrm_removeKeys(AMediaDrm *,
360 media_status_t AMediaDrm_queryKeyStatus(AMediaDrm *, const AMediaDrmSessionId *sessionId,
[all …]
DNdkImageReader.h94 media_status_t AImageReader_new(
126 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window) __INTROD…
144 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width) __INTRODUCE…
162 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) __INTRODU…
177 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format) __INTRODU…
192 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages) __I…
230 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image) __INTRODU…
275 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image) __INTRO…
320 media_status_t AImageReader_setImageListener(
391 media_status_t AImageReader_newWithUsage(
[all …]
DNdkImage.h593 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width) __INTRODUCED_IN(24);
609 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height) __INTRODUCED_IN(24);
627 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format) __INTRODUCED_IN(24);
646 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect) __INTRODUCED_IN…
672 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs) __INTRODUCED_I…
692 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) __INTRODUCE…
721 media_status_t AImage_getPlanePixelStride(
750 media_status_t AImage_getPlaneRowStride(
776 media_status_t AImage_getPlaneData(
830 media_status_t AImage_getHardwareBuffer(const AImage* image, /*out*/AHardwareBuffer** buffer) __INT…
DNdkMediaExtractor.h67 media_status_t AMediaExtractor_delete(AMediaExtractor*) __INTRODUCED_IN(21);
74 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor*, int fd, off64_t offset,
82 media_status_t AMediaExtractor_setDataSource(AMediaExtractor*,
92 media_status_t AMediaExtractor_setDataSourceCustom(AMediaExtractor*,
119 media_status_t AMediaExtractor_selectTrack(AMediaExtractor*, size_t idx) __INTRODUCED_IN(21);
127 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor*, size_t idx) __INTRODUCED_IN(21);
177 media_status_t AMediaExtractor_seekTo(AMediaExtractor*,
266 media_status_t AMediaExtractor_getSampleFormat(AMediaExtractor *ex,
DNdkMediaMuxer.h70 media_status_t AMediaMuxer_delete(AMediaMuxer*) __INTRODUCED_IN(21);
85 media_status_t AMediaMuxer_setLocation(AMediaMuxer*,
102 media_status_t AMediaMuxer_setOrientationHint(AMediaMuxer*, int degrees) __INTRODUCED_IN(21);
119 media_status_t AMediaMuxer_start(AMediaMuxer*) __INTRODUCED_IN(21);
127 media_status_t AMediaMuxer_stop(AMediaMuxer*) __INTRODUCED_IN(21);
138 media_status_t AMediaMuxer_writeSampleData(AMediaMuxer *muxer,
/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);
89 media_status_t acquireImageLocked(/*out*/AImage** image, /*out*/int* fenceFd);
97 media_status_t setImageListenerLocked(AImageReader_ImageListener* listener);
98 media_status_t setBufferRemovedListenerLocked(AImageReader_BufferRemovedListener* listener);
134 media_status_t setImageListener(AImageReader_ImageListener* listener);
[all …]
DNdkImage.cpp90 media_status_t
104 media_status_t
118 media_status_t
132 media_status_t
146 media_status_t
160 media_status_t AImage::lockImage() { in lockImage()
194 media_status_t AImage::unlockImageIfLocked(int* fenceFd) { in unlockImageIfLocked()
224 media_status_t
284 media_status_t
401 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
280 media_status_t
405 media_status_t
530 media_status_t ret = image->unlockImageIfLocked(&unlockFenceFd); in releaseImageLocked()
566 media_status_t AImageReader::getWindowNativeHandle(native_handle **handle) { in getWindowNativeHandle()
[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()
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()
361 media_status_t AMediaCodec_delete(AMediaCodec *mData) { in AMediaCodec_delete()
381 media_status_t AMediaCodec_getName( in AMediaCodec_getName()
407 media_status_t AMediaCodec_configure( in AMediaCodec_configure()
431 media_status_t AMediaCodec_setAsyncNotifyCallback( in AMediaCodec_setAsyncNotifyCallback()
453 media_status_t AMediaCodec_releaseCrypto(AMediaCodec *mData) { in AMediaCodec_releaseCrypto()
458 media_status_t AMediaCodec_start(AMediaCodec *mData) { in AMediaCodec_start()
470 media_status_t AMediaCodec_stop(AMediaCodec *mData) { in AMediaCodec_stop()
471 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()
200 media_status_t AMRExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
224 media_status_t AMRExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData()
256 media_status_t AMRSource::start() { in start()
267 media_status_t AMRSource::stop() { in stop()
274 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/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/midi/
DMidiExtractor.cpp43 virtual media_status_t start();
44 virtual media_status_t stop();
45 virtual media_status_t getFormat(AMediaFormat *);
47 virtual media_status_t read(
90 media_status_t MidiSource::start() in start()
100 media_status_t MidiSource::stop() in stop()
111 media_status_t MidiSource::getFormat(AMediaFormat *meta) in getFormat()
116 media_status_t MidiSource::read( in read()
310 media_status_t MidiExtractor::getTrackMetaData( in getTrackMetaData()
320 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(
189 media_status_t AACExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
210 media_status_t AACExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData()
243 media_status_t AACSource::start() { in start()
259 media_status_t AACSource::stop() { in stop()
266 media_status_t AACSource::getFormat(AMediaFormat *meta) { in getFormat()
270 media_status_t AACSource::read( in read()
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp46 virtual media_status_t start();
47 virtual media_status_t stop();
48 virtual media_status_t getFormat(AMediaFormat *);
50 virtual media_status_t read(
77 virtual media_status_t start();
78 virtual media_status_t stop();
79 virtual media_status_t getFormat(AMediaFormat *);
81 virtual media_status_t read(
144 media_status_t MPEG2PSExtractor::getTrackMetaData( in getTrackMetaData()
154 media_status_t MPEG2PSExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
[all …]
/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);
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp63 virtual media_status_t start();
64 virtual media_status_t stop();
65 virtual media_status_t getFormat(AMediaFormat *meta);
67 virtual media_status_t read(
673 media_status_t FLACSource::start() in start()
684 media_status_t FLACSource::stop() in stop()
695 media_status_t FLACSource::getFormat(AMediaFormat *meta) in getFormat()
697 const media_status_t status = AMediaFormat_copy(meta, mTrackMetadata); in getFormat()
705 media_status_t FLACSource::read( in read()
772 media_status_t FLACExtractor::getTrackMetaData( in getTrackMetaData()
[all …]

123