/frameworks/av/media/libmediaformatshaper/ |
D | VQApply.cpp | 102 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", 0); in VQApply() 115 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", qualityTarget); in VQApply() 120 AMediaFormat_setInt32(inFormat, "android._encoding-quality-level", 0); in VQApply() 198 AMediaFormat_setInt32(inFormat, AMEDIAFORMAT_VIDEO_QP_MAX, qpChosen); in VQApply() 210 AMediaFormat_setInt32(inFormat, AMEDIAFORMAT_KEY_BIT_RATE, (int32_t)bitrateChosen); in VQApply() 271 AMediaFormat_setInt32(format, AMEDIAFORMAT_VIDEO_QP_I_MAX, value); in qpSpreadMaxPerFrameType() 278 AMediaFormat_setInt32(format, AMEDIAFORMAT_VIDEO_QP_P_MAX, value); in qpSpreadMaxPerFrameType() 285 AMediaFormat_setInt32(format, AMEDIAFORMAT_VIDEO_QP_B_MAX, value); in qpSpreadMaxPerFrameType() 300 AMediaFormat_setInt32(format, AMEDIAFORMAT_VIDEO_QP_I_MIN, setI); in qpSpreadMinPerFrameType() 305 AMediaFormat_setInt32(format, AMEDIAFORMAT_VIDEO_QP_P_MIN, setP); in qpSpreadMinPerFrameType() [all …]
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.cpp | 203 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_WIDTH, mParams.width); in encode() 204 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_HEIGHT, mParams.height); in encode() 205 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_FRAME_RATE, mParams.frameRate); in encode() 206 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_I_FRAME_INTERVAL, mParams.iFrameInterval); in encode() 207 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_BIT_RATE, mParams.bitrate); in encode() 208 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_COLOR_FORMAT, mParams.colorFormat); in encode() 210 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_PROFILE, mParams.profile); in encode() 211 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_LEVEL, mParams.level); in encode() 214 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, mParams.sampleRate); in encode() 215 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mParams.numChannels); in encode() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 75 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, width); in MakeAVCCodecSpecificData() 76 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, height); in MakeAVCCodecSpecificData() 78 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_WIDTH, sarWidth); in MakeAVCCodecSpecificData() 79 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_HEIGHT, sarHeight); in MakeAVCCodecSpecificData() 194 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in MakeAACCodecSpecificData() 195 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, channel_configuration); in MakeAACCodecSpecificData() 345 AMediaFormat_setInt32(fileMeta, AMEDIAFORMAT_KEY_LOOP, 1); in parseVorbisComment() 352 AMediaFormat_setInt32(fileMeta, kMap[j].mKey, hapticChannelCount); in parseVorbisComment()
|
/frameworks/av/media/libmediatranscoding/tests/ |
D | TranscodingLogger_tests.cpp | 99 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_WIDTH, kDefaultSrcWidth); in CreateSrcFormat() 100 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_HEIGHT, kDefaultSrcHeight); in CreateSrcFormat() 102 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_PROFILE, kDefaultSrcProfile); in CreateSrcFormat() 103 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_LEVEL, kDefaultSrcLevel); in CreateSrcFormat() 104 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_FRAME_RATE, kDefaultSrcFps); in CreateSrcFormat() 105 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_FRAME_COUNT, kDefaultSrcFrameCount); in CreateSrcFormat() 113 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_WIDTH, kDefaultDstWidth); in CreateDstFormat() 114 AMediaFormat_setInt32(fmt, AMEDIAFORMAT_KEY_HEIGHT, kDefaultDstHeight); in CreateDstFormat()
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/fuzzer/ |
D | media_transcoder_fuzzer.cpp | 126 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_PROFILE, mProfile); in getFormat() 127 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_LEVEL, mLevel); in getFormat() 128 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, mBitrate); in getFormat() 129 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_OPERATING_RATE, INT32_MAX); in getFormat() 130 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_PRIORITY, 1); in getFormat()
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | VideoTrackTranscoder.cpp | 233 AMediaFormat_setInt32(encoderFormat, AMEDIAFORMAT_KEY_BIT_RATE, mConfiguredBitrate); in configureDestinationFormat() 246 AMediaFormat_setInt32(encoderFormat, AMEDIAFORMAT_KEY_OPERATING_RATE, operatingRate); in configureDestinationFormat() 253 AMediaFormat_setInt32(encoderFormat, AMEDIAFORMAT_KEY_COLOR_FORMAT, kColorFormatSurface); in configureDestinationFormat() 257 AMediaFormat_setInt32(encoderFormat, AMEDIAFORMAT_KEY_ROTATION, 0); in configureDestinationFormat() 331 AMediaFormat_setInt32(decoderFormat.get(), in configureDestinationFormat() 337 AMediaFormat_setInt32(decoderFormat.get(), TBD_AMEDIACODEC_PARAMETER_KEY_ALLOW_FRAME_DROP, 0); in configureDestinationFormat() 556 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_SAR_WIDTH, sarWidth); in updateTrackFormat() 557 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_SAR_HEIGHT, sarHeight); in updateTrackFormat() 566 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_DISPLAY_WIDTH, displayWidth); in updateTrackFormat() 567 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_DISPLAY_HEIGHT, displayHeight); in updateTrackFormat() [all …]
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 155 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getTrackMetaData() 331 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mNumChannels); in init() 332 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_CHANNEL_MASK, mChannelMask); in init() 333 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mSampleRate); in init() 334 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_BITS_PER_SAMPLE, mBitsPerSample); in init() 425 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, kMaxFrameSize); in getFormat() 426 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getFormat() 573 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 289 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_DELAY, encd); in MP3Extractor() 290 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_PADDING, encp); in MP3Extractor() 340 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in MP3Extractor() 341 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_BIT_RATE, bitrate * 1000); in MP3Extractor() 342 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in MP3Extractor() 390 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_DELAY, delay); in MP3Extractor() 391 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_PADDING, padding); in MP3Extractor() 593 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 556 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_DELAY, delay); in getTrackMetaData() 607 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_PADDING, paddingsamples); in getTrackMetaData() 739 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_TRACK_ID, imageIndex); in readMetaData() 1240 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_CRYPTO_MODE, mode); in parseChunk() 1356 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk() 1358 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk() 1469 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk() 1473 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk() 1477 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk() 1479 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk() [all …]
|
D | ItemTable.cpp | 1579 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_DEFAULT, 1); in getImageMeta() 1584 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, image->width); in getImageMeta() 1585 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, image->height); in getImageMeta() 1593 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_ROTATION, 360 - image->rotation); in getImageMeta() 1599 AMediaFormat_setInt32(meta, in getImageMeta() 1607 AMediaFormat_setInt32(meta, in getImageMeta() 1609 AMediaFormat_setInt32(meta, in getImageMeta() 1635 AMediaFormat_setInt32(meta, in getImageMeta() 1637 AMediaFormat_setInt32(meta, in getImageMeta() 1641 AMediaFormat_setInt32(meta, in getImageMeta() [all …]
|
/frameworks/av/media/extractors/midi/ |
D | MidiExtractor.cpp | 184 AMediaFormat_setInt32( in MidiEngine() 186 AMediaFormat_setInt32( in MidiEngine() 188 AMediaFormat_setInt32( in MidiEngine() 254 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in readBuffer()
|
/frameworks/av/media/ndk/tests/ |
D | NdkMediaFormat_test.cpp | 48 AMediaFormat_setInt32(fmt1, "five", 5); in TEST() 124 AMediaFormat_setInt32(fmt1, "five", 5); in TEST() 160 AMediaFormat_setInt32(fmt2, "vanishing", 50); in TEST()
|
/frameworks/av/media/extractors/flac/ |
D | FLACExtractor.cpp | 546 AMediaFormat_setInt32(mTrackMetadata, in init() 548 AMediaFormat_setInt32(mTrackMetadata, in init() 550 AMediaFormat_setInt32(mTrackMetadata, in init() 565 AMediaFormat_setInt32(mTrackMetadata, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, mMaxBufferSize); in init() 646 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in readBuffer() 701 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getFormat() 782 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getTrackMetaData()
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 297 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read() 636 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_VALID_SAMPLES, currentPageSamples); in readNextPacket() 836 AMediaFormat_setInt32( in _readNextPacket() 912 AMediaFormat_setInt32( in _readNextPacket() 1083 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, kOpusSampleRate); in verifyOpusHeader() 1084 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mChannelCount); in verifyOpusHeader() 1226 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mVi.rate); in verifyHeader() 1227 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mVi.channels); in verifyHeader() 1228 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_BIT_RATE, mVi.bitrate_nominal); in verifyHeader() 1309 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_MASK, channelMask); in setChannelMask() [all …]
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 811 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, block->IsKey()); in readBlock() 831 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_VALID_SAMPLES, validSamples); in readBlock() 1206 AMediaFormat_setInt32(bufMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, isSync); in read() 1651 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, maxInputSize); in addFlacMetadata() 1823 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_COLOR_RANGE, range); in getColorInformation() 1826 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_COLOR_STANDARD, standard); in getColorInformation() 1829 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_COLOR_TRANSFER, transfer); in getColorInformation() 2068 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, (int32_t)width); in addTracks() 2069 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, (int32_t)height); in addTracks() 2079 AMediaFormat_setInt32(meta, in addTracks() [all …]
|
/frameworks/av/media/extractors/amr/ |
D | AMRExtractor.cpp | 161 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, 1); in AMRExtractor() 162 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mIsWide ? 16000 : 8000); in AMRExtractor() 368 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
|
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/ |
D | MediaTranscoderBenchmark.cpp | 92 AMediaFormat_setInt32(videoFormat, AMEDIAFORMAT_KEY_BIT_RATE, kVideoBitRate); in CreateDefaultVideoFormat() 270 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_OPERATING_RATE, INT32_MAX); in SetMaxOperatingRate() 271 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_PRIORITY, 1); in SetMaxOperatingRate() 365 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, bitrate); in SetMimeBitrate()
|
D | MediaTrackTranscoderBenchmark.cpp | 241 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, kVideoBitRate); in GetDefaultTrackFormat() 404 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_OPERATING_RATE, operatingRate); in BenchmarkTranscoderWithOperatingRate() 405 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_PRIORITY, priority); in BenchmarkTranscoderWithOperatingRate()
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 156 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_AAC_PROFILE, profile + 1); in AACExtractor() 331 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
D | HdrTranscodeTests.cpp | 129 AMediaFormat_setInt32(format.get(), TBD_AMEDIACODEC_PARAMETER_KEY_COLOR_TRANSFER_REQUEST, in hdrToSdrConversionSupported()
|
D | TranscoderTestUtils.h | 74 AMediaFormat_setInt32(destinationFormat, AMEDIAFORMAT_KEY_BIT_RATE, kBitRate);
|
/frameworks/av/media/libmediatranscoding/transcoder/tools/ |
D | Transcode.cpp | 114 AMediaFormat_setInt32(dstFormat, AMEDIAFORMAT_KEY_BIT_RATE, config.bitrate); in transcode()
|
/frameworks/av/media/extractors/mpeg2/ |
D | MPEG2TSExtractor.cpp | 117 AMediaFormat_setInt32(format, name, val32); in copyAMessageToAMediaFormat() 202 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, val32); in read() 205 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_CRYPTO_MODE, val32); in read()
|
D | MPEG2PSExtractor.cpp | 718 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, val32); in read() 721 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_CRYPTO_MODE, val32); in read()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaFormat.h | 107 void AMediaFormat_setInt32(AMediaFormat*, const char* name, int32_t value) __INTRODUCED_IN(21);
|