Searched defs:meta (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/av/media/libstagefright/
H A DMediaAdapter.cpp27 MediaAdapter::MediaAdapter(const sp<MetaData> &meta) argument
30 mOutputFormat(meta) {
H A DAMRWriter.cpp67 sp<MetaData> meta = source->getFormat(); local
70 CHECK(meta->findCString(kKeyMIMEType, &mime));
81 CHECK(meta->findInt32(kKeyChannelCount, &channelCount));
83 CHECK(meta->findInt32(kKeySampleRate, &sampleRate));
H A DAACExtractor.cpp40 const sp<MetaData> &meta,
140 sp<AMessage> meta = _meta; local
142 if (meta == NULL) {
147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) {
153 CHECK(meta->findInt64("offset", &offset));
201 sp<MetaData> meta = new MetaData; local
204 return meta;
207 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC_ADTS);
209 return meta;
238 const sp<DataSource> &source, const sp<MetaData> &meta,
237 AACSource( const sp<DataSource> &source, const sp<MetaData> &meta, const Vector<uint64_t> &offset_vector, int64_t frame_duration_us) argument
336 SniffAAC( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
[all...]
H A DAACWriter.cpp80 sp<MetaData> meta = source->getFormat(); local
83 CHECK(meta->findCString(kKeyMIMEType, &mime));
86 CHECK(meta->findInt32(kKeyChannelCount, &mChannelCount));
87 CHECK(meta->findInt32(kKeySampleRate, &mSampleRate));
91 if (meta->findInt32(kKeyAACProfile, &mAACProfile)) {
H A DAMRExtractor.cpp37 const sp<MetaData> &meta,
174 sp<MetaData> meta = new MetaData; local
177 return meta;
180 meta->setCString(kKeyMIMEType, mIsWide ? "audio/amr-wb" : "audio/amr");
182 return meta;
209 const sp<DataSource> &source, const sp<MetaData> &meta,
212 mMeta(meta),
208 AMRSource( const sp<DataSource> &source, const sp<MetaData> &meta, bool isWide, const off64_t *offset_table, size_t offset_table_length) argument
H A DJPEGSource.cpp101 sp<MetaData> meta = new MetaData; local
102 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG);
103 meta->setInt32(kKeyWidth, mWidth);
104 meta->setInt32(kKeyHeight, mHeight);
105 meta->setInt32(kKeyMaxInputSize, mSize);
107 return meta;
H A DMediaExtractor.cpp155 sp<AMessage> meta; local
160 if (!sniff(source, &tmp, &confidence, &meta)) {
176 ret = new MP3Extractor(source, meta);
191 ret = new AACExtractor(source, meta);
231 const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) {
234 meta->clear();
252 *meta = newMeta;
230 sniff( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *meta) argument
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp81 sp<AMessage> ABuffer::meta() { function in class:android::ABuffer
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyboardShortcutsTestCase.java47 private void testKeyboardShortcut(final int keyCode, final int meta, final int expectedId) { argument
50 keyCode, 0, meta, KeyCharacterMap.VIRTUAL_KEYBOARD, 0);
55 keyCode, 0, meta, KeyCharacterMap.VIRTUAL_KEYBOARD, 0);
/frameworks/av/cmds/stagefright/
H A DSineSource.cpp51 sp<MetaData> meta = new MetaData; local
52 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW);
53 meta->setInt32(kKeyChannelCount, mNumChannels);
54 meta->setInt32(kKeySampleRate, mSampleRate);
55 meta->setInt32(kKeyMaxInputSize, kBufferSize);
56 meta->setInt32(kKeyPcmEncoding, kAudioEncodingPcm16bit);
58 return meta;
H A Daudioloop.cpp97 sp<AMessage> meta = new AMessage; local
98 meta->setString(
103 meta->setInt32("channel-count", channels);
104 meta->setInt32("sample-rate", kSampleRate);
105 meta->setInt32("bitrate", kBitRate);
108 meta->setInt32("max-input-size", maxInputSize);
115 sp<IMediaSource> encoder = MediaCodecSource::Create(looper, meta, source);
H A Dmuxer.cpp183 sp<MetaData> meta; local
184 err = extractor->getSampleMeta(&meta);
189 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) {
H A Drecordvideo.cpp74 sp<MetaData> meta = new MetaData; local
75 meta->setInt32(kKeyWidth, mWidth);
76 meta->setInt32(kKeyHeight, mHeight);
77 meta->setInt32(kKeyColorFormat, mColorFormat);
78 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
80 return meta;
/frameworks/av/media/libmedia/
H A DMediaCodecBuffer.cpp75 sp<AMessage> MediaCodecBuffer::meta() { function in class:android::MediaCodecBuffer
H A DIMediaExtractor.cpp181 sp<MetaData> meta = getTrackMetaData(idx, flags); local
182 if (meta == NULL) {
185 meta->writeToParcel(*reply);
193 sp<MetaData> meta = getMetaData(); local
194 if (meta != NULL) {
195 meta->writeToParcel(*reply);
/frameworks/av/media/libstagefright/rtsp/
H A DVideoSource.h40 sp<MetaData> meta = new MetaData; local
41 meta->setInt32(kKeyWidth, mWidth);
42 meta->setInt32(kKeyHeight, mHeight);
43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
45 return meta;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp39 sp<MetaData> meta = source->getFormat(); local
41 CHECK(meta->findCString(kKeyMIMEType, &mime));
116 sp<MetaData> meta = mSource->getFormat(); local
118 CHECK(meta->findCString(kKeyMIMEType, &tmp));
174 accessUnit->meta()->setInt64("timeUs", timeUs);
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbuffer_hub_client.h140 // |meta| are passed unaltered to the consumers. The producer must not modify
143 int Post(const LocalHandle& ready_fence, const void* meta,
153 int Post(const LocalHandle& ready_fence, const Meta& meta) { argument
154 return Post(ready_fence, &meta, sizeof(meta));
266 int Acquire(LocalHandle* ready_fence, void* meta, size_t meta_size_bytes);
273 int Acquire(LocalHandle* ready_fence, Meta* meta) { argument
274 return Acquire(ready_fence, meta, sizeof(*meta));
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp170 sp<MetaData> meta = source->getFormat(); local
182 CHECK(meta->findInt32(kKeyChannelCount, &channelCount));
184 CHECK(meta->findInt32(kKeySampleRate, &sr));
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMetadataTest.java47 public static METADATA_EXPECTEDRESULT meta; field in class:MediaMetadataTest
84 assertEquals(TAG, meta_data_file[fileIndex][meta.CD_TRACK.ordinal()], value);
88 assertEquals(TAG, meta_data_file[fileIndex][meta.ALBUM.ordinal()], value);
92 assertEquals(TAG, meta_data_file[fileIndex][meta.ARTIST.ordinal()], value);
96 assertEquals(TAG, meta_data_file[fileIndex][meta.AUTHOR.ordinal()], value);
100 assertEquals(TAG, meta_data_file[fileIndex][meta.COMPOSER.ordinal()], value);
104 assertEquals(TAG, meta_data_file[fileIndex][meta.DATE.ordinal()], value);
108 assertEquals(TAG, meta_data_file[fileIndex][meta.GENRE.ordinal()], value);
112 assertEquals(TAG, meta_data_file[fileIndex][meta.TITLE.ordinal()], value);
116 assertEquals(TAG, meta_data_file[fileIndex][meta
[all...]
/frameworks/native/libs/vr/libdvr/
H A Ddvr_buffer.cpp78 const void* meta, size_t meta_size_bytes) {
83 int result = write_buffer->write_buffer->Post(fence, meta, meta_size_bytes);
140 void* meta, size_t meta_size_bytes) {
146 read_buffer->read_buffer->Acquire(&ready_fence, meta, meta_size_bytes);
77 dvrWriteBufferPost(DvrWriteBuffer* write_buffer, int ready_fence_fd, const void* meta, size_t meta_size_bytes) argument
139 dvrReadBufferAcquire(DvrReadBuffer* read_buffer, int* ready_fence_fd, void* meta, size_t meta_size_bytes) argument
/frameworks/av/include/media/stagefright/
H A DMPEG4Extractor.h80 sp<MetaData> meta; member in struct:android::MPEG4Extractor::Track
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp148 sp<MetaData> meta; local
153 &meta);
156 return meta;
160 sp<MetaData> meta; local
166 &meta);
176 if (err != OK || convertMetaDataToMessage(meta, &format) != OK) {
287 CHECK(buffer->meta()->findInt64("baseUs", &baseUs));
288 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
H A DNuPlayerDrm.cpp268 NuPlayerDrm::CryptoInfo *NuPlayerDrm::getSampleCryptoInfo(sp<MetaData> meta) argument
274 if (meta == NULL) {
275 ALOGE("getSampleCryptoInfo: Unexpected. No meta data for sample.");
279 if (!meta->findData(kKeyEncryptedSizes, &type, &crypteddata, &cryptedsize)) {
291 if (meta->findData(kKeyPlainSizes, &type, &cleardata, &clearsize)) {
302 if (meta->findData(kKeyCryptoKey, &type, &key, &keysize)) {
313 if (meta->findData(kKeyCryptoIV, &type, &iv, &ivsize)) {
323 if (!meta->findInt32(kKeyCryptoMode, &mode)) {
H A DStreamingSource.cpp246 sp<MetaData> meta = source->getFormat(); local
247 if (meta == NULL) {
251 status_t err = convertMetaDataToMessage(meta, &format);
280 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));

Completed in 101 milliseconds

123