/frameworks/base/packages/InputDevices/res/raw/ |
D | keyboard_layout_persian.kcm | 25 ctrl, alt, meta: none 32 ctrl, alt, meta: none 39 ctrl, alt, meta: none 46 ctrl, alt, meta: none 53 ctrl, alt, meta: none 60 ctrl, alt, meta: none 67 ctrl, alt, meta: none 74 ctrl, alt, meta: none 81 ctrl, alt, meta: none 88 ctrl, alt, meta: none [all …]
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 71 const sp<MetaData> &meta, sp<AMessage> &msg, uint32_t key, const char *name) { 73 if (meta->findInt32(key, &value)) { 79 static void convertMetaDataToMessageColorAspects(const MetaDataBase *meta, sp<AMessage> &msg) { in convertMetaDataToMessageColorAspects() argument 85 meta->findInt32(kKeyColorRange, &range); in convertMetaDataToMessageColorAspects() 86 meta->findInt32(kKeyColorPrimaries, &primaries); in convertMetaDataToMessageColorAspects() 87 meta->findInt32(kKeyTransferFunction, &transferFunction); in convertMetaDataToMessageColorAspects() 88 meta->findInt32(kKeyColorMatrix, &colorMatrix); in convertMetaDataToMessageColorAspects() 783 void convertMessageToMetaDataFromMappings(const sp<AMessage> &msg, sp<MetaData> &meta) { in convertMessageToMetaDataFromMappings() argument 787 meta->setCString(elem.second, value.c_str()); in convertMessageToMetaDataFromMappings() 794 meta->setFloat(elem.second, value); in convertMessageToMetaDataFromMappings() [all …]
|
D | MetaDataUtils.cpp | 32 bool MakeAVCCodecSpecificData(MetaDataBase &meta, const uint8_t *data, size_t size) { in MakeAVCCodecSpecificData() argument 46 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData() 48 meta.setData(kKeyAVCC, kTypeAVCC, csd->data(), csd->size()); in MakeAVCCodecSpecificData() 49 meta.setInt32(kKeyWidth, width); in MakeAVCCodecSpecificData() 50 meta.setInt32(kKeyHeight, height); in MakeAVCCodecSpecificData() 52 meta.setInt32(kKeySARWidth, sarWidth); in MakeAVCCodecSpecificData() 53 meta.setInt32(kKeySARHeight, sarHeight); in MakeAVCCodecSpecificData() 58 bool MakeAVCCodecSpecificData(AMediaFormat *meta, const uint8_t *data, size_t size) { in MakeAVCCodecSpecificData() argument 59 if (meta == nullptr || data == nullptr || size == 0) { in MakeAVCCodecSpecificData() 72 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData() [all …]
|
D | MediaTrack.cpp | 121 MetaDataBase &meta = (*buffer)->meta_data(); in read() local 128 meta.setInt64(kKeyTime, val64); in read() 131 meta.setInt64(kKeyDuration, val64); in read() 134 meta.setInt64(kKeyTargetTime, val64); in read() 138 meta.setInt32(kKeyIsSyncFrame, val32); in read() 141 meta.setInt32(kKeyTemporalLayerId, val32); in read() 144 meta.setInt32(kKeyTemporalLayerCount, val32); in read() 147 meta.setInt32(kKeyCryptoDefaultIVSize, val32); in read() 150 meta.setInt32(kKeyCryptoMode, val32); in read() 153 meta.setInt32(kKeyEncryptedByteBlock, val32); in read() [all …]
|
D | RemoteMediaExtractor.cpp | 110 sp<MetaData> meta = new MetaData(); in getTrackMetaData() local 111 if (mExtractor->getTrackMetaData(*meta.get(), index, flags) == OK) { in getTrackMetaData() 112 return meta; in getTrackMetaData() 118 sp<MetaData> meta = new MetaData(); in getMetaData() local 119 if (mExtractor->getMetaData(*meta.get()) == OK) { in getMetaData() 120 return meta; in getMetaData()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.cpp | 40 AnotherPacketSource::AnotherPacketSource(const sp<MetaData> &meta) in AnotherPacketSource() argument 50 setFormat(meta); in AnotherPacketSource() 55 void AnotherPacketSource::setFormat(const sp<MetaData> &meta) { in setFormat() argument 64 if (meta == NULL) { in setFormat() 68 mFormat = meta; in setFormat() 70 CHECK(meta->findCString(kKeyMIMEType, &mime)); in setFormat() 102 if (!buffer->meta()->findInt32("discontinuity", &discontinuity)) { in getFormat() 104 if (buffer->meta()->findObject("format", &object)) { in getFormat() 128 if ((*buffer)->meta()->findInt32("discontinuity", &discontinuity)) { in dequeueAccessUnit() 142 mLatestDequeuedMeta = (*buffer)->meta()->dup(); in dequeueAccessUnit() [all …]
|
/frameworks/native/libs/vr/libbufferhub/ |
D | consumer_buffer.cpp | 92 int ConsumerBuffer::Acquire(LocalHandle* ready_fence, void* meta, in Acquire() argument 103 if (meta && user_metadata_size) { in Acquire() 107 memcpy(meta, metadata_src, user_metadata_size); in Acquire() 132 int ConsumerBuffer::LocalRelease(const DvrNativeBufferMetadata* meta, in LocalRelease() argument 134 if (const int error = CheckMetadata(meta->user_metadata_size)) in LocalRelease() 158 if (meta->user_metadata_ptr && meta->user_metadata_size) { in LocalRelease() 159 void* metadata_src = reinterpret_cast<void*>(meta->user_metadata_ptr); in LocalRelease() 160 memcpy(user_metadata_ptr_, metadata_src, meta->user_metadata_size); in LocalRelease() 174 DvrNativeBufferMetadata meta; in Release() local 175 if (const int error = LocalRelease(&meta, release_fence)) in Release() [all …]
|
D | producer_buffer.cpp | 77 int ProducerBuffer::LocalPost(const DvrNativeBufferMetadata* meta, in LocalPost() argument 79 if (const int error = CheckMetadata(meta->user_metadata_size)) in LocalPost() 111 memcpy(metadata_ptr, meta, sizeof(DvrNativeBufferMetadata)); in LocalPost() 113 if (meta->user_metadata_ptr && meta->user_metadata_size) { in LocalPost() 114 void* metadata_src = reinterpret_cast<void*>(meta->user_metadata_ptr); in LocalPost() 115 memcpy(user_metadata_ptr_, metadata_src, meta->user_metadata_size); in LocalPost() 126 int ProducerBuffer::Post(const LocalHandle& ready_fence, const void* meta, in Post() argument 132 canonical_meta.user_metadata_ptr = reinterpret_cast<uint64_t>(meta); in Post() 142 int ProducerBuffer::PostAsync(const DvrNativeBufferMetadata* meta, in PostAsync() argument 146 if (const int error = LocalPost(meta, ready_fence)) in PostAsync() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 399 String meta = nativeExtractMetadata(keyCode); in extractMetadata() local 402 meta = convertGenreTag(meta); in extractMetadata() 404 return meta; in extractMetadata() 426 private String convertGenreTag(String meta) { in convertGenreTag() argument 427 if (TextUtils.isEmpty(meta)) { in convertGenreTag() 431 if (Character.isDigit(meta.charAt(0))) { in convertGenreTag() 434 int genreIndex = Integer.parseInt(meta); in convertGenreTag() 458 if (TextUtils.isEmpty(meta)) { in convertGenreTag() 462 if (meta.startsWith("(RX)")) { in convertGenreTag() 464 meta = meta.substring(4); in convertGenreTag() [all …]
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 38 AMediaFormat *meta, 191 media_status_t AACExtractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 192 AMediaFormat_clear(meta); in getMetaData() 194 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_AUDIO_AAC_ADTS); in getMetaData() 212 media_status_t AACExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData() argument 217 return AMediaFormat_copy(meta, mMeta); in getTrackMetaData() 227 AMediaFormat *meta, in AACSource() argument 231 mMeta(meta), in AACSource() 268 media_status_t AACSource::getFormat(AMediaFormat *meta) { in getFormat() argument 269 return AMediaFormat_copy(meta, mMeta); in getFormat() [all …]
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 246 AMediaFormat *meta = trackInfo.mMeta; in MatroskaSource() local 249 CHECK(AMediaFormat_getString(meta, AMEDIAFORMAT_KEY_MIME, &mime)); in MatroskaSource() 314 media_status_t MatroskaSource::getFormat(AMediaFormat *meta) { in getFormat() argument 315 return AMediaFormat_copy(meta, mExtractor->mTracks.itemAt(mTrackIndex).mMeta); in getFormat() 665 AMediaFormat *meta = mbuf->meta_data(); in setWebmBlockCryptoInfo() local 673 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_KEY, keyId, keyIdSize); in setWebmBlockCryptoInfo() 675 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_IV, ctrCounter, 16); in setWebmBlockCryptoInfo() 728 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in setWebmBlockCryptoInfo() 730 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_ENCRYPTED_SIZES, in setWebmBlockCryptoInfo() 751 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CRYPTO_PLAIN_SIZES, in setWebmBlockCryptoInfo() [all …]
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 213 AMediaFormat *meta, DataSourceHelper *source, 220 virtual media_status_t getFormat(AMediaFormat *meta); 253 DataSourceHelper *source, Mp3Meta *meta) in MP3Extractor() argument 261 if (meta != NULL) { in MP3Extractor() 264 pos = meta->pos; in MP3Extractor() 265 header = meta->header; in MP3Extractor() 266 post_id3_pos = meta->post_id3_pos; in MP3Extractor() 423 AMediaFormat *meta, in getTrackMetaData() argument 428 AMediaFormat_copy(meta, mMeta); in getTrackMetaData() 443 AMediaFormat *meta, DataSourceHelper *source, in MP3Source() argument [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | Utils.h | 33 const MetaDataBase *meta, sp<AMessage> *format); 35 const sp<MetaData> &meta, sp<AMessage> *format); 37 const sp<AMessage> &format, sp<MetaData> &meta); 51 status_t sendMetaDataToHal(sp<MediaPlayerBase::AudioSink>& sink, const sp<MetaData>& meta); 54 status_t getAudioOffloadInfo(const sp<MetaData>& meta, bool hasVideo, 58 bool canOffloadStream(const sp<MetaData>& meta, bool hasVideo, 66 explicit HLSTime(const sp<AMessage> &meta = NULL);
|
D | MetaDataUtils.h | 28 bool MakeAVCCodecSpecificData(MetaDataBase &meta, const uint8_t *data, size_t size); 29 bool MakeAVCCodecSpecificData(AMediaFormat *meta, const uint8_t *data, size_t size); 31 bool MakeAACCodecSpecificData(MetaDataBase &meta, const uint8_t *data, size_t size); 32 bool MakeAACCodecSpecificData(MetaDataBase &meta, unsigned profile, unsigned sampling_freq_index, 35 bool MakeAACCodecSpecificData(AMediaFormat *meta, unsigned profile, unsigned sampling_freq_index,
|
/frameworks/base/core/java/android/text/method/ |
D | DialerKeyListener.java | 56 int meta = getMetaState(content, event); in lookup() local 63 if ((meta & (MetaKeyKeyListener.META_ALT_ON | MetaKeyKeyListener.META_SHIFT_ON)) == 0) { in lookup() 81 if (meta != 0) { in lookup() 86 for (int i = 1; i < kd.meta.length; i++) { in lookup() 87 if (ok(accepted, kd.meta[i])) { in lookup() 88 return kd.meta[i]; in lookup()
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 123 sp<AMessage> meta = new AMessage; in main() local 125 meta->setString( in main() 130 meta->setString("mime", mediaType); in main() 131 meta->setString("testing-name", name); in main() 134 meta->setInt32("channel-count", channels); in main() 135 meta->setInt32("sample-rate", sampleRate); in main() 136 meta->setInt32("bitrate", bitRate); in main() 139 meta->setInt32("max-input-size", maxInputSize); in main() 146 sp<MediaSource> encoder = MediaCodecSource::Create(looper, meta, source); in main()
|
D | SineSource.cpp | 52 sp<MetaData> meta = new MetaData; in getFormat() local 53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat() 54 meta->setInt32(kKeyChannelCount, mNumChannels); in getFormat() 55 meta->setInt32(kKeySampleRate, mSampleRate); in getFormat() 56 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat() 57 meta->setInt32(kKeyPcmEncoding, kAudioEncodingPcm16bit); in getFormat() 59 return meta; in getFormat()
|
D | record.cpp | 63 sp<MetaData> meta = new MetaData; 64 meta->setInt32(kKeyWidth, mWidth); 65 meta->setInt32(kKeyHeight, mHeight); 66 meta->setInt32(kKeyColorFormat, mColorFormat); 67 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); 69 return meta; 132 sp<MetaData> meta; 134 meta = extractor->getTrackMetaData(i); 135 CHECK(meta.get() != NULL); 138 if (!meta->findCString(kKeyMIMEType, &mime)) { [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 201 sp<MetaData> meta; in AMediaExtractor_getSampleFlags() local 202 status_t err = mData->mImpl->getSampleMeta(&meta); in AMediaExtractor_getSampleFlags() 207 if (meta->findInt32(kKeyIsSyncFrame, &val) && val != 0) { in AMediaExtractor_getSampleFlags() 214 if (meta->findData(kKeyEncryptedSizes, &type, &data, &size)) { in AMediaExtractor_getSampleFlags() 342 sp<MetaData> meta; in AMediaExtractor_getSampleCryptoInfo() local 343 if(ex->mImpl->getSampleMeta(&meta) != 0) { in AMediaExtractor_getSampleCryptoInfo() 350 if (!meta->findData(kKeyEncryptedSizes, &type, &crypteddata, &cryptedsize)) { in AMediaExtractor_getSampleCryptoInfo() 357 if (meta->findData(kKeyPlainSizes, &type, &cleardata, &clearsize)) { in AMediaExtractor_getSampleCryptoInfo() 366 if (meta->findData(kKeyCryptoKey, &type, &key, &keysize)) { in AMediaExtractor_getSampleCryptoInfo() 375 if (meta->findData(kKeyCryptoIV, &type, &iv, &ivsize)) { in AMediaExtractor_getSampleCryptoInfo() [all …]
|
/frameworks/av/media/extractors/amr/ |
D | AMRExtractor.cpp | 36 AMediaFormat *meta, 200 media_status_t AMRExtractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 201 AMediaFormat_clear(meta); in getMetaData() 204 AMediaFormat_setString(meta, in getMetaData() 224 media_status_t AMRExtractor::getTrackMetaData(AMediaFormat *meta, size_t index, uint32_t /* flags *… in getTrackMetaData() argument 229 return AMediaFormat_copy(meta, mMeta); in getTrackMetaData() 235 DataSourceHelper *source, AMediaFormat *meta, in AMRSource() argument 238 mMeta(meta), in AMRSource() 274 media_status_t AMRSource::getFormat(AMediaFormat *meta) { in getFormat() argument 275 return AMediaFormat_copy(meta, mMeta); in getFormat() [all …]
|
/frameworks/av/media/libstagefright/httplive/ |
D | M3UParser.cpp | 309 sp<AMessage> M3UParser::meta() { in meta() function in android::M3UParser 317 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt() argument 322 if (meta) { in itemAt() 323 *meta = NULL; in itemAt() 334 if (meta) { in itemAt() 335 *meta = mItems.itemAt(index).mMeta; in itemAt() 432 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI() local 435 if (!meta->findString(key, &groupID)) { in getTypeURI() 441 if (!meta->findString("codecs", &codecs)) { in getTypeURI() 736 sp<AMessage> meta = mItems.itemAt(i).mMeta; in parse() local [all …]
|
D | M3UParser.h | 43 sp<AMessage> meta(); 46 bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL); 95 const AString &line, sp<AMessage> *meta, const char *key); 98 const AString &line, sp<AMessage> *meta, const char *key); 101 const AString &line, sp<AMessage> *meta) const; 104 const AString &line, sp<AMessage> *meta);
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 446 media_status_t MPEG4Extractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 451 AMediaFormat_copy(meta, mFileMetaData); in getMetaData() 474 AMediaFormat *meta, in getTrackMetaData() argument 500 AMediaFormat_getInt64(track->meta, AMEDIAFORMAT_KEY_DURATION, &duration) && in getTrackMetaData() 501 AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &samplerate)) { in getTrackMetaData() 536 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_DELAY, delay); in getTrackMetaData() 587 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_PADDING, paddingsamples); in getTrackMetaData() 596 CHECK(AMediaFormat_getString(track->meta, AMEDIAFORMAT_KEY_MIME, &mime)); in getTrackMetaData() 609 AMediaFormat_setBuffer(track->meta, in getTrackMetaData() 617 if (AMediaFormat_getInt64(track->meta, in getTrackMetaData() [all …]
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 74 AMediaFormat *meta, 81 virtual media_status_t getFormat(AMediaFormat *meta); 123 media_status_t WAVExtractor::getMetaData(AMediaFormat *meta) { in getMetaData() argument 124 AMediaFormat_clear(meta); in getMetaData() 126 AMediaFormat_setString(meta, AMEDIAFORMAT_KEY_MIME, MEDIA_MIMETYPE_CONTAINER_WAV); in getMetaData() 147 AMediaFormat *meta, in getTrackMetaData() argument 153 const media_status_t status = AMediaFormat_copy(meta, mTrackMeta); in getTrackMetaData() 155 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getTrackMetaData() 371 AMediaFormat *meta, in WAVSource() argument 376 mMeta(meta), in WAVSource() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | VideoSource.h | 40 sp<MetaData> meta = new MetaData; in getFormat() local 41 meta->setInt32(kKeyWidth, mWidth); in getFormat() 42 meta->setInt32(kKeyHeight, mHeight); in getFormat() 43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat() 45 return meta; in getFormat()
|