Home
last modified time | relevance | path

Searched refs:AMediaFormat (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/include/ndk/
DNdkMediaFormat.h38 struct AMediaFormat;
39 typedef struct AMediaFormat AMediaFormat; typedef
41 AMediaFormat *AMediaFormat_new();
42 media_status_t AMediaFormat_delete(AMediaFormat*);
48 const char* AMediaFormat_toString(AMediaFormat*);
50 bool AMediaFormat_getInt32(AMediaFormat*, const char *name, int32_t *out);
51 bool AMediaFormat_getInt64(AMediaFormat*, const char *name, int64_t *out);
52 bool AMediaFormat_getFloat(AMediaFormat*, const char *name, float *out);
57 bool AMediaFormat_getBuffer(AMediaFormat*, const char *name, void** data, size_t *size);
62 bool AMediaFormat_getString(AMediaFormat*, const char *name, const char **out);
[all …]
DNdkMediaCodec.h89 const AMediaFormat* format,
146 AMediaFormat* AMediaCodec_getOutputFormat(AMediaCodec*);
DNdkMediaMuxer.h91 ssize_t AMediaMuxer_addTrack(AMediaMuxer*, const AMediaFormat* format);
DNdkMediaExtractor.h73 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor*, size_t idx);
/frameworks/av/media/ndk/
DNdkMediaFormat.cpp36 struct AMediaFormat { struct
45 AMediaFormat* AMediaFormat_fromMsg(const void* data) { in AMediaFormat_fromMsg() argument
47 AMediaFormat* mData = new AMediaFormat(); in AMediaFormat_fromMsg()
52 void AMediaFormat_getFormat(const AMediaFormat* mData, void* dest) { in AMediaFormat_getFormat()
61 AMediaFormat *AMediaFormat_new() { in AMediaFormat_new()
68 media_status_t AMediaFormat_delete(AMediaFormat *mData) { in AMediaFormat_delete()
76 const char* AMediaFormat_toString(AMediaFormat *mData) { in AMediaFormat_toString()
149 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32()
154 bool AMediaFormat_getInt64(AMediaFormat* format, const char *name, int64_t *out) { in AMediaFormat_getInt64()
159 bool AMediaFormat_getFloat(AMediaFormat* format, const char *name, float *out) { in AMediaFormat_getFloat()
[all …]
DNdkMediaFormatPriv.h36 AMediaFormat* AMediaFormat_fromMsg(void*);
37 void AMediaFormat_getFormat(const AMediaFormat* mData, void* dest);
DNdkMediaMuxer.cpp81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { in AMediaMuxer_addTrack()
DNdkMediaCodec.cpp200 const AMediaFormat* format, in AMediaCodec_configure()
332 AMediaFormat* AMediaCodec_getOutputFormat(AMediaCodec *mData) { in AMediaCodec_getOutputFormat()
DNdkMediaExtractor.cpp128 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor *mData, size_t idx) { in AMediaExtractor_getTrackFormat()