Home
last modified time | relevance | path

Searched refs:media_status_t (Results 1 – 18 of 18) 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*,
154 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec*, size_t idx, bool render);
166 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface);
176 media_status_t AMediaCodec_releaseOutputBufferAtTime(
[all …]
DNdkImageReader.h85 media_status_t AImageReader_new(
113 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window);
129 media_status_t AImageReader_getWidth(const AImageReader* reader, /*out*/int32_t* width);
145 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height);
158 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format);
171 media_status_t AImageReader_getMaxImages(const AImageReader* reader, /*out*/int32_t* maxImages);
207 media_status_t AImageReader_acquireNextImage(AImageReader* reader, /*out*/AImage** image);
251 media_status_t AImageReader_acquireLatestImage(AImageReader* reader, /*out*/AImage** image);
294 media_status_t AImageReader_setImageListener(
DNdkImage.h442 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width);
456 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height);
472 media_status_t AImage_getFormat(const AImage* image, /*out*/int32_t* format);
489 media_status_t AImage_getCropRect(const AImage* image, /*out*/AImageCropRect* rect);
513 media_status_t AImage_getTimestamp(const AImage* image, /*out*/int64_t* timestampNs);
531 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
556 media_status_t AImage_getPlanePixelStride(
581 media_status_t AImage_getPlaneRowStride(
603 media_status_t AImage_getPlaneData(
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,
64 media_status_t AMediaExtractor_setDataSource(AMediaExtractor*, const char *location);
83 media_status_t AMediaExtractor_selectTrack(AMediaExtractor*, size_t idx);
89 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor*, size_t idx);
128 media_status_t AMediaExtractor_seekTo(AMediaExtractor*, int64_t seekPosUs, SeekMode mode);
DNdkMediaError.h60 } media_status_t; typedef
DNdkMediaFormat.h42 media_status_t AMediaFormat_delete(AMediaFormat*);
/frameworks/av/media/ndk/
DNdkImagePriv.h51 media_status_t getWidth(/*out*/int32_t* width) const;
52 media_status_t getHeight(/*out*/int32_t* height) const;
53 media_status_t getFormat(/*out*/int32_t* format) const;
54 media_status_t getNumPlanes(/*out*/int32_t* numPlanes) const;
55 media_status_t getTimestamp(/*out*/int64_t* timestamp) const;
57 media_status_t getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const;
58 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
59 media_status_t getPlaneData(int planeIdx,/*out*/uint8_t** data, /*out*/int* dataLength) const;
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()
DNdkImageReaderPriv.h60 media_status_t init();
62 media_status_t setImageListener(AImageReader_ImageListener* listener);
64 media_status_t acquireNextImage(/*out*/AImage** image);
65 media_status_t acquireLatestImage(/*out*/AImage** image);
78 media_status_t acquireCpuConsumerImageLocked(/*out*/AImage** image);
88 media_status_t setImageListenerLocked(AImageReader_ImageListener* listener);
119 media_status_t setImageListener(AImageReader_ImageListener* listener);
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()
191 media_status_t AMediaCodec_delete(AMediaCodec *mData) { in AMediaCodec_delete()
211 media_status_t AMediaCodec_configure( in AMediaCodec_configure()
230 media_status_t AMediaCodec_start(AMediaCodec *mData) { in AMediaCodec_start()
242 media_status_t AMediaCodec_stop(AMediaCodec *mData) { in AMediaCodec_stop()
243 media_status_t ret = translate_error(mData->mCodec->stop()); in AMediaCodec_stop()
254 media_status_t AMediaCodec_flush(AMediaCodec *mData) { in AMediaCodec_flush()
306 media_status_t AMediaCodec_queueInputBuffer(AMediaCodec *mData, in AMediaCodec_queueInputBuffer()
352 media_status_t AMediaCodec_releaseOutputBuffer(AMediaCodec *mData, size_t idx, bool render) { in AMediaCodec_releaseOutputBuffer()
[all …]
DNdkImageReader.cpp94 media_status_t
106 media_status_t
111 media_status_t
148 media_status_t
252 media_status_t
406 media_status_t
412 media_status_t
421 media_status_t ret = acquireCpuConsumerImageLocked(&prevImage); in acquireLatestImage()
439 media_status_t AImageReader_new( in AImageReader_new()
473 media_status_t ret = tmpReader->init(); in AImageReader_new()
[all …]
DNdkImage.cpp102 media_status_t
116 media_status_t
130 media_status_t
144 media_status_t
158 media_status_t
172 media_status_t
227 media_status_t
335 media_status_t
516 media_status_t AImage_getWidth(const AImage* image, /*out*/int32_t* width) { in AImage_getWidth()
527 media_status_t AImage_getHeight(const AImage* image, /*out*/int32_t* height) { in AImage_getHeight()
[all …]
DNdkMediaDrm.cpp114 static media_status_t translateStatus(status_t status) { in translateStatus()
115 media_status_t result = AMEDIA_ERROR_UNKNOWN; in translateStatus()
213 media_status_t AMediaDrm_setOnEventListener(AMediaDrm *mObj, AMediaDrmEventListener listener) { in AMediaDrm_setOnEventListener()
234 media_status_t AMediaDrm_openSession(AMediaDrm *mObj, AMediaDrmSessionId *sessionId) { in AMediaDrm_openSession()
253 media_status_t AMediaDrm_closeSession(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId) { in AMediaDrm_closeSession()
271 media_status_t AMediaDrm_getKeyRequest(AMediaDrm *mObj, const AMediaDrmScope *scope, in AMediaDrm_getKeyRequest()
324 media_status_t AMediaDrm_provideKeyResponse(AMediaDrm *mObj, const AMediaDrmScope *scope, in AMediaDrm_provideKeyResponse()
356 media_status_t AMediaDrm_restoreKeys(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_restoreKeys()
375 media_status_t AMediaDrm_removeKeys(AMediaDrm *mObj, const AMediaDrmSessionId *keySetId) { in AMediaDrm_removeKeys()
396 media_status_t AMediaDrm_queryKeyStatus(AMediaDrm *mObj, const AMediaDrmSessionId *sessionId, in AMediaDrm_queryKeyStatus()
[all …]
DNdkMediaExtractor.cpp42 static media_status_t translate_error(status_t err) { in translate_error()
67 media_status_t AMediaExtractor_delete(AMediaExtractor *mData) { in AMediaExtractor_delete()
74 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor *mData, int fd, off64_t offset, in AMediaExtractor_setDataSourceFd()
81 media_status_t AMediaExtractor_setDataSource(AMediaExtractor *mData, const char *location) { in AMediaExtractor_setDataSource()
137 media_status_t AMediaExtractor_selectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_selectTrack()
143 media_status_t AMediaExtractor_unselectTrack(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_unselectTrack()
155 media_status_t AMediaExtractor_seekTo(AMediaExtractor *ex, int64_t seekPosUs, SeekMode mode) { in AMediaExtractor_seekTo()
DNdkMediaFormat.cpp72 media_status_t AMediaFormat_delete(AMediaFormat *mData) { in AMediaFormat_delete()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp570 media_status_t mstatus = AMediaCodec_queueInputBuffer(codec, bufidx, in decode()
606 media_status_t mstatus = AMediaCodec_releaseOutputBuffer( in decode()