Searched refs:encodeFormat (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | EncoderTest.java | 247 MediaFormat encodeFormat; in testEncoder() local 250 encodeFormat = MediaFormat.createVideoFormat(mMime, mWidth, mHeight); in testEncoder() 251 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() 261 encodeFormat = MediaFormat.createAudioFormat(mMime, mSampleRate, mNumChannel); in testEncoder() 262 encodeFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); in testEncoder() [all …]
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Encoder.java | 116 public int encode(String codecName, MediaFormat encodeFormat, String mime, int frameRate, in encode() argument 130 mCodec.configure(encodeFormat, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in encode()
|