Lines Matching refs:encoderFormat
426 MediaFormat encoderFormat = new MediaFormat(); in setUpEncoderFormat() local
427 encoderFormat.setString(MediaFormat.KEY_MIME, mMime); in setUpEncoderFormat()
428 encoderFormat.setInteger(MediaFormat.KEY_WIDTH, in setUpEncoderFormat()
430 encoderFormat.setInteger(MediaFormat.KEY_HEIGHT, in setUpEncoderFormat()
432 encoderFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in setUpEncoderFormat()
433 encoderFormat.setInteger(MediaFormat.KEY_BIT_RATE, mBitrate); in setUpEncoderFormat()
434 encoderFormat.setFloat(MediaFormat.KEY_I_FRAME_INTERVAL, 1.0f); in setUpEncoderFormat()
435 encoderFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in setUpEncoderFormat()
437 encoderFormat.setInteger(MediaFormat.KEY_MAX_B_FRAMES, mMaxBFrames); in setUpEncoderFormat()
438 return encoderFormat; in setUpEncoderFormat()
456 MediaFormat encoderFormat = setUpEncoderFormat(decoderFormat); in testSimpleEncodeFromSurface() local
483 configureCodec(decoderFormat, encoderFormat, isAsync, false); in testSimpleEncodeFromSurface()
507 encoderFormat, mCompName, mTestFile, (isAsync ? "async" : "sync")); in testSimpleEncodeFromSurface()