Home
last modified time | relevance | path

Searched refs:setInteger (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecSurfaceEncoder.java156 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpSource()
169 .setInteger(MediaFormat.KEY_WIDTH, decoderFormat.getInteger(MediaFormat.KEY_WIDTH)); in setUpEncoderFormat()
170 encoderFormat.setInteger(MediaFormat.KEY_HEIGHT, in setUpEncoderFormat()
172 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, VIDEO_FRAMERATE); in setUpEncoderFormat()
173 encoderFormat.setInteger(MediaFormat.KEY_BIT_RATE, VIDEO_BITRATE); in setUpEncoderFormat()
175 encoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpEncoderFormat()
178 encoderFormat.setInteger(MediaFormat.KEY_PROFILE, in setUpEncoderFormat()
180 encoderFormat.setInteger(MediaFormat.KEY_LEVEL, in setUpEncoderFormat()
183 encoderFormat.setInteger(MediaFormat.KEY_PROFILE, in setUpEncoderFormat()
186 .setInteger(MediaFormat.KEY_LEVEL, MediaCodecInfo.CodecProfileLevel.AVCLevel4); in setUpEncoderFormat()
[all …]
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java251 encodeFormat.setInteger(MediaFormat.KEY_FRAME_RATE, ENCODE_DEFAULT_FRAME_RATE); in testEncoder()
252 encodeFormat.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, mIFrameInterval); in testEncoder()
253 encodeFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in testEncoder()
254 encodeFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, mColorFormat); in testEncoder()
256 encodeFormat.setInteger(MediaFormat.KEY_PROFILE, mProfile); in testEncoder()
257 encodeFormat.setInteger(MediaFormat.KEY_LEVEL, mLevel); in testEncoder()
262 encodeFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in testEncoder()
/frameworks/base/media/java/android/media/
DAmrInputStream.java64 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, 8000); in AmrInputStream()
65 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in AmrInputStream()
66 format.setInteger(MediaFormat.KEY_BIT_RATE, 12200); in AmrInputStream()
DMediaFormat.java2088 public final void setInteger(@NonNull String name, int value) { in setInteger() method in MediaFormat
2335 setInteger(KEY_FEATURE_ + feature, enabled ? 1 : 0); in setFeatureEnabled()
2350 format.setInteger(KEY_SAMPLE_RATE, sampleRate); in createAudioFormat()
2351 format.setInteger(KEY_CHANNEL_COUNT, channelCount); in createAudioFormat()
2386 format.setInteger(KEY_WIDTH, width); in createVideoFormat()
2387 format.setInteger(KEY_HEIGHT, height); in createVideoFormat()
DMediaCodecInfo.java1373 mDefaultFormat.setInteger(key, 1); in CodecCapabilities()
1774 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitrateRange.getLower()); in getDefaultFormat()
1778 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, 1); in getDefaultFormat()
1781 format.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRates[0]); in getDefaultFormat()
3975 format.setInteger(MediaFormat.KEY_QUALITY, mDefaultQuality);
3979 format.setInteger(MediaFormat.KEY_COMPLEXITY, mDefaultComplexity);
3984 format.setInteger(MediaFormat.KEY_BITRATE_MODE, feat.mValue);
DMediaPlayer.java2603 mFormat.setInteger(MediaFormat.KEY_IS_AUTOSELECT, in.readInt()); in TrackInfo()
2604 mFormat.setInteger(MediaFormat.KEY_IS_DEFAULT, in.readInt()); in TrackInfo()
2605 mFormat.setInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, in.readInt()); in TrackInfo()
2609 mFormat.setInteger(MediaFormat.KEY_HAPTIC_CHANNEL_COUNT, in.readInt()); in TrackInfo()
3136 fFormat.setInteger(MediaFormat.KEY_IS_TIMED_TEXT, 1); in addTimedTextSource()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java190 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, in run()
192 format.setInteger(MediaFormat.KEY_BIT_RATE, BIT_RATE); in run()
193 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in run()
194 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, I_FRAME_INTERVAL); in run()
/frameworks/av/media/module/service.mediatranscoding/tests/TranscodingUidPolicyTestApp/src/com/android/tests/transcoding/
DResourcePolicyTestActivity.java76 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, caps.colorFormats[0]); in getTestFormat()
77 format.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in getTestFormat()
78 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); in getTestFormat()
79 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); in getTestFormat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenInternalAudioRecorder.java122 medFormat.setInteger(MediaFormat.KEY_AAC_PROFILE, in setupSimple()
124 medFormat.setInteger(MediaFormat.KEY_BIT_RATE, mConfig.bitRate); in setupSimple()
125 medFormat.setInteger(MediaFormat.KEY_PCM_ENCODING, mConfig.encoding); in setupSimple()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt10861 HSPLandroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14944 method public final void setInteger(java.lang.String, int);
/frameworks/base/config/
Dboot-image-profile.txt10864 HSPLandroid/media/MediaFormat;->setInteger(Ljava/lang/String;I)V
/frameworks/base/core/api/
Dcurrent.txt23605 method public void setInteger(@NonNull String, int);