Searched refs:outFmt (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoEncoderTest.java | 231 MediaFormat outFmt = MediaFormat.createVideoFormat(outMime, width, height); in initCodecsAndConfigureEncoder() local 243 outFmt.setInteger(MediaFormat.KEY_FRAME_RATE, frameRate); in initCodecsAndConfigureEncoder() 251 outFmt.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); in initCodecsAndConfigureEncoder() 255 outFmt.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, 1); in initCodecsAndConfigureEncoder() 256 outFmt.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in initCodecsAndConfigureEncoder() 257 mEncoder.configure(outFmt, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in initCodecsAndConfigureEncoder() 258 Log.i(TAG, "encoder input format " + mEncoder.getInputFormat() + " from " + outFmt); in initCodecsAndConfigureEncoder()
|