Home
last modified time | relevance | path

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

123

/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h61 struct AMediaFormat;
62 typedef struct AMediaFormat AMediaFormat; typedef
69 AMediaFormat *AMediaFormat_new() __INTRODUCED_IN(21);
74 media_status_t AMediaFormat_delete(AMediaFormat*) __INTRODUCED_IN(21);
82 const char* AMediaFormat_toString(AMediaFormat*) __INTRODUCED_IN(21);
87 bool AMediaFormat_getInt32(AMediaFormat*, const char *name, int32_t *out) __INTRODUCED_IN(21);
91 bool AMediaFormat_getInt64(AMediaFormat*, const char *name, int64_t *out) __INTRODUCED_IN(21);
95 bool AMediaFormat_getFloat(AMediaFormat*, const char *name, float *out) __INTRODUCED_IN(21);
99 bool AMediaFormat_getSize(AMediaFormat*, const char *name, size_t *out) __INTRODUCED_IN(21);
106 bool AMediaFormat_getBuffer(AMediaFormat*, const char *name, void** data, size_t *size) __INTRODUCE…
[all …]
DNdkMediaCodec.h100 AMediaFormat *format);
164 const AMediaFormat* format,
276 AMediaFormat* AMediaCodec_getOutputFormat(AMediaCodec*) __INTRODUCED_IN(21);
376 AMediaCodec *mData, const AMediaFormat* params) __INTRODUCED_IN(26);
407 AMediaFormat* AMediaCodec_getBufferFormat(AMediaCodec*, size_t index) __INTRODUCED_IN(28);
466 AMediaFormat* AMediaCodec_getInputFormat(AMediaCodec*) __INTRODUCED_IN(28);
DNdkMediaExtractor.h109 AMediaFormat* AMediaExtractor_getTrackFormat(AMediaExtractor*, size_t idx) __INTRODUCED_IN(21);
225 AMediaFormat* AMediaExtractor_getFileFormat(AMediaExtractor*) __INTRODUCED_IN(28);
267 AMediaFormat *fmt) __INTRODUCED_IN(28);
/frameworks/av/media/ndk/
DNdkMediaFormat.cpp38 AMediaFormat *AMediaFormat_new() { in AMediaFormat_new()
45 media_status_t AMediaFormat_delete(AMediaFormat *mData) { in AMediaFormat_delete()
52 void AMediaFormat_clear(AMediaFormat *format) { in AMediaFormat_clear()
57 media_status_t AMediaFormat_copy(AMediaFormat *to, AMediaFormat *from) { in AMediaFormat_copy()
68 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()
164 bool AMediaFormat_getDouble(AMediaFormat* format, const char *name, double *out) { in AMediaFormat_getDouble()
169 bool AMediaFormat_getSize(AMediaFormat* format, const char *name, size_t *out) { in AMediaFormat_getSize()
[all …]
/frameworks/av/media/extractors/midi/
DMidiExtractor.h34 AMediaFormat *fileMetadata,
35 AMediaFormat *trackMetadata);
60 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
62 virtual media_status_t getMetaData(AMediaFormat *meta);
71 AMediaFormat *mFileMetadata;
74 AMediaFormat *mTrackMetadata;
DMidiExtractor.cpp41 AMediaFormat *trackMetadata);
45 virtual media_status_t getFormat(AMediaFormat *);
55 AMediaFormat *mTrackMetadata;
72 AMediaFormat *trackMetadata) in MidiSource()
111 media_status_t MidiSource::getFormat(AMediaFormat *meta) in getFormat()
148 AMediaFormat *fileMetadata, in MidiEngine()
149 AMediaFormat *trackMetadata) : in MidiEngine()
252 AMediaFormat *meta = buffer->meta_data(); in readBuffer()
311 AMediaFormat *meta, in getTrackMetaData()
320 media_status_t MidiExtractor::getMetaData(AMediaFormat *meta) in getMetaData()
/frameworks/av/media/libmedia/
DNdkMediaFormatPriv.cpp32 AMediaFormat* AMediaFormat_fromMsg(sp<AMessage> *data) { in AMediaFormat_fromMsg()
34 AMediaFormat* mData = new AMediaFormat(); in AMediaFormat_fromMsg()
43 void AMediaFormat_getFormat(const AMediaFormat* mData, sp<AMessage> *dest) { in AMediaFormat_getFormat()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataUtils.h23 struct AMediaFormat;
29 bool MakeAVCCodecSpecificData(AMediaFormat *meta, const uint8_t *data, size_t size);
35 bool MakeAACCodecSpecificData(AMediaFormat *meta, unsigned profile, unsigned sampling_freq_index,
39 AMediaFormat *fileMeta, const char *comment, size_t commentLength);
/frameworks/av/media/extractors/flac/
DFLACExtractor.h36 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
38 virtual media_status_t getMetaData(AMediaFormat *meta);
48 AMediaFormat *mFileMetadata;
51 AMediaFormat *mTrackMetadata;
DFLACExtractor.cpp60 AMediaFormat *meta,
65 virtual media_status_t getFormat(AMediaFormat *meta);
75 AMediaFormat *mTrackMetadata;
100 AMediaFormat *fileMetadata = 0,
101 AMediaFormat *trackMetadata = 0);
139 AMediaFormat *mFileMetadata;
140 AMediaFormat *mTrackMetadata;
447 AMediaFormat *fileMetadata, in FLACParser()
448 AMediaFormat *trackMetadata) in FLACParser()
642 AMediaFormat *meta = buffer->meta_data(); in readBuffer()
[all …]
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.h45 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
47 virtual media_status_t getMetaData(AMediaFormat *meta);
69 AMediaFormat *mMeta;
100 AMediaFormat *meta,
106 AMediaFormat *meta);
/frameworks/av/include/media/
DNdkMediaFormatPriv.h39 struct AMediaFormat { struct
51 AMediaFormat* AMediaFormat_fromMsg(sp<AMessage> *); argument
52 void AMediaFormat_getFormat(const AMediaFormat* mData, sp<AMessage> *dest);
DMediaExtractorPluginApi.h22 struct AMediaFormat;
62 AMediaFormat* (*meta_data)(void *handle);
80 media_status_t (*getFormat)(void *data, AMediaFormat *format);
93 AMediaFormat *meta,
96 media_status_t (*getMetaData)(void *data, AMediaFormat *meta);
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp36 AMediaFormat *meta,
44 virtual media_status_t getFormat(AMediaFormat *);
54 AMediaFormat *mMeta;
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()
235 DataSourceHelper *source, AMediaFormat *meta, in AMRSource()
274 media_status_t AMRSource::getFormat(AMediaFormat *meta) { in getFormat()
350 AMediaFormat *meta = buffer->meta_data(); in read()
DAMRExtractor.h38 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
40 virtual media_status_t getMetaData(AMediaFormat *meta);
48 AMediaFormat *mMeta;
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp38 AMediaFormat *meta,
45 virtual media_status_t getFormat(AMediaFormat*);
56 AMediaFormat *mMeta;
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()
225 AMediaFormat *meta, in AACSource()
266 media_status_t AACSource::getFormat(AMediaFormat *meta) { in getFormat()
310 AMediaFormat *meta = buffer->meta_data(); in read()
DAACExtractor.h38 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
40 virtual media_status_t getMetaData(AMediaFormat *meta);
48 AMediaFormat *mMeta;
/frameworks/av/media/extractors/mp3/
DMP3Extractor.h42 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
44 virtual media_status_t getMetaData(AMediaFormat *meta);
52 AMediaFormat *mMeta;
/frameworks/av/media/extractors/wav/
DWAVExtractor.h38 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
40 virtual media_status_t getMetaData(AMediaFormat *meta);
56 AMediaFormat *mTrackMeta;
DWAVExtractor.cpp72 AMediaFormat *meta,
79 virtual media_status_t getFormat(AMediaFormat *meta);
93 AMediaFormat *mMeta;
121 media_status_t WAVExtractor::getMetaData(AMediaFormat *meta) { in getMetaData()
145 AMediaFormat *meta, in getTrackMetaData()
369 AMediaFormat *meta, in WAVSource()
418 media_status_t WAVSource::getFormat(AMediaFormat *meta) { in getFormat()
566 AMediaFormat *meta = buffer->meta_data(); in read()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DDecoder.h60 AMediaFormat *getFormat();
65 void onFormatChanged(AMediaCodec *codec, AMediaFormat *format) override;
81 AMediaFormat *mFormat;
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.h62 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
64 virtual media_status_t getMetaData(AMediaFormat *meta);
80 AMediaFormat *meta;
146 AMediaFormat *mFileMetaData;
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.h92 virtual void onFormatChanged(AMediaCodec *codec, AMediaFormat *format) { in onFormatChanged()
126 void OnFormatChangedCB(AMediaCodec *codec, void *userdata, AMediaFormat *format);
132 AMediaCodec *createMediaCodec(AMediaFormat *format, const char *mime, string codecName,
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp51 virtual media_status_t getFormat(AMediaFormat *);
78 media_status_t getFormat(AMediaFormat *) const;
89 media_status_t getFileMetaData(AMediaFormat *meta) { in getFileMetaData()
133 AMediaFormat *mMeta;
134 AMediaFormat *mFileMeta;
245 media_status_t OggSource::getFormat(AMediaFormat *meta) { in getFormat()
287 AMediaFormat *meta = packet->meta_data(); in read()
341 media_status_t MyOggExtractor::getFormat(AMediaFormat *meta) const { in getFormat()
631 AMediaFormat *meta = (*out)->meta_data(); in readNextPacket()
705 AMediaFormat *mFormat;
[all …]
DOggExtractor.h39 virtual media_status_t getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t flags);
41 virtual media_status_t getMetaData(AMediaFormat *meta);

123