Searched refs:mConfigFormat (Results 1 – 2 of 2) sorted by relevance
/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderColorAspectsTest.java | 54 private MediaFormat mConfigFormat; field in EncoderColorAspectsTest 69 mConfigFormat = new MediaFormat(); in EncoderColorAspectsTest() 70 mConfigFormat.setString(MediaFormat.KEY_MIME, mMime); in EncoderColorAspectsTest() 71 mConfigFormat.setInteger(MediaFormat.KEY_BIT_RATE, 64000); in EncoderColorAspectsTest() 74 mConfigFormat.setInteger(MediaFormat.KEY_WIDTH, mWidth); in EncoderColorAspectsTest() 75 mConfigFormat.setInteger(MediaFormat.KEY_HEIGHT, mHeight); in EncoderColorAspectsTest() 76 mConfigFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in EncoderColorAspectsTest() 77 mConfigFormat.setFloat(MediaFormat.KEY_I_FRAME_INTERVAL, 1.0f); in EncoderColorAspectsTest() 78 mConfigFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, in EncoderColorAspectsTest() 80 if (mRange >= 0) mConfigFormat.setInteger(MediaFormat.KEY_COLOR_RANGE, mRange); in EncoderColorAspectsTest() [all …]
|
D | EncoderProfileLevelTest.java | 49 private MediaFormat mConfigFormat; field in EncoderProfileLevelTest 54 mConfigFormat = new MediaFormat(); in EncoderProfileLevelTest() 55 mConfigFormat.setString(MediaFormat.KEY_MIME, mMime); in EncoderProfileLevelTest() 56 mConfigFormat.setInteger(MediaFormat.KEY_BIT_RATE, bitrate); in EncoderProfileLevelTest() 60 mConfigFormat.setInteger(MediaFormat.KEY_SAMPLE_RATE, mSampleRate); in EncoderProfileLevelTest() 61 mConfigFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, mChannels); in EncoderProfileLevelTest() 66 mConfigFormat.setInteger(MediaFormat.KEY_WIDTH, mWidth); in EncoderProfileLevelTest() 67 mConfigFormat.setInteger(MediaFormat.KEY_HEIGHT, mHeight); in EncoderProfileLevelTest() 68 mConfigFormat.setInteger(MediaFormat.KEY_FRAME_RATE, mFrameRate); in EncoderProfileLevelTest() 69 mConfigFormat.setFloat(MediaFormat.KEY_I_FRAME_INTERVAL, 1.0f); in EncoderProfileLevelTest() [all …]
|