/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderPsnrTest.java | 68 int height, int bitRate, int bitRateMode) { in getVideoEncoderCfgParams() argument 70 .setBitRate(bitRate) in getVideoEncoderCfgParams() 78 private static void addParams(int bitRate, int width, int height) { in addParams() argument 85 String label = String.format("%.1fmbps_%dx%d_%s", bitRate / 1000000.f, width, in addParams() 88 width, height, bitRate, bitRateMode), label}); in addParams()
|
D | VideoEncoderTargetBitrateTest.java | 72 int height, int bitRate, int bitRateMode, int maxBFrames) { in getVideoEncoderCfgParams() argument 74 .setBitRate(bitRate) in getVideoEncoderCfgParams() 90 for (int bitRate : bitRates) { in addParams() 99 String label = String.format("%dkbps_%dx%d_maxb-%d_%s", bitRate / 1000, in addParams() 102 getVideoEncoderCfgParams(mediaType, width, height, bitRate, in addParams()
|
D | VideoEncoderAdaptiveBitRateTest.java | 81 int height, int bitRate, int bitRateMode) { in getVideoEncoderCfgParams() argument 83 .setBitRate(bitRate) in getVideoEncoderCfgParams()
|
D | VideoEncoderQualityRegressionTestBase.java | 106 int height, int bitRate, int bitRateMode, int keyFrameInterval, int frameRate, in getVideoEncoderCfgParams() argument 111 .setBitRate(bitRate) in getVideoEncoderCfgParams()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | VideoEncoderTest.java | 75 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() argument 79 .setBitRate(bitRate) in getVideoEncoderCfgParams() 95 int bitRate = (int) arg[1]; in prepareTestArgs() local 110 testArgs[1] = getVideoEncoderCfgParams(mediaType, bitRate, width, height, frameRate, in prepareTestArgs() 113 testArgs[3] = String.format("%dkbps_%dx%d_%s_%d-bframes", bitRate / 1000, width, in prepareTestArgs()
|
D | EncoderLevelTest.java | 72 private static EncoderConfigParams[] getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() argument 77 .setBitRate(bitRate) in getVideoEncoderCfgParams()
|
D | EncoderProfileLevelTest.java | 178 private static EncoderConfigParams[] getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() argument 191 .setBitRate(bitRate) in getVideoEncoderCfgParams() 204 private static EncoderConfigParams[] getAudioEncoderCfgParams(String mediaType, int bitRate, in getAudioEncoderCfgParams() argument 209 .setBitRate(bitRate) in getAudioEncoderCfgParams()
|
D | CodecEncoderSurfaceTest.java | 106 private static EncoderConfigParams getVideoEncoderCfgParams(String mediaType, int bitRate, in getVideoEncoderCfgParams() argument 109 .setBitRate(bitRate) in getVideoEncoderCfgParams()
|
D | EncodeDecodeAccuracyTest.java | 184 int height, int frameRate, int bitRate, int range, int standard, int transfer, in getVideoEncoderCfgParams() argument 189 .setBitRate(bitRate) in getVideoEncoderCfgParams()
|
D | CodecEncoderTest.java | 138 int height, int bitRate, int maxBFrames) { in getVideoEncoderCfgParam() argument 140 .setMaxBFrames(maxBFrames).setBitRate(bitRate).build(); in getVideoEncoderCfgParam()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | VideoEncoderCapabilitiesTest.java | 84 int bitRate, boolean optional) { in VideoEncoderCapabilitiesTest() argument 89 mBitRate = bitRate; in VideoEncoderCapabilitiesTest()
|
D | VideoEncoderTest.java | 356 int bitRate = 0; in initCodecsAndConfigureEncoder() local 377 FILE_DIR + mProcessorName + "_" + bitRate + "bps"; in initCodecsAndConfigureEncoder() 497 public void setFrameAndBitRates(int frameRate, int bitRate) { in setFrameAndBitRates() argument 499 mBitRate = bitRate; in setFrameAndBitRates() 1199 int width, int height, int frameRate, int bitRate, boolean flexYUV) { in testDetailed() argument 1208 return test(width, height, frameRate, bitRate, true /* optional */, flexYUV, in testDetailed() 1212 public boolean testSupport(int width, int height, int frameRate, int bitRate) { in testSupport() argument 1214 mVideoCaps.getBitrateRange().contains(bitRate); in testSupport() 1232 int width, int height, int frameRate, int bitRate, boolean optional, in test() argument 1242 processor.setFrameAndBitRates(frameRate, bitRate); in test() [all …]
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | NdkMediaCodec.java | 69 int bitRate, in AMediaCodecConfigure() argument 126 int bitRate = format.getInteger(MediaFormat.KEY_BIT_RATE, -1); in configure() local 162 bitRate, in configure()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 567 int bitRate = BITRATE_DEFAULT; in doEncoding() local 569 bitRate = BITRATE_1080p; in doEncoding() 571 bitRate = BITRATE_720p; in doEncoding() 573 bitRate = BITRATE_800x480; in doEncoding() 575 format.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); in doEncoding() 1445 int bitRate = BITRATE_DEFAULT; in getMaxSupportedEncoderSize() local 1447 bitRate = BITRATE_1080p; in getMaxSupportedEncoderSize() 1449 bitRate = BITRATE_720p; in getMaxSupportedEncoderSize() 1451 bitRate = BITRATE_800x480; in getMaxSupportedEncoderSize() 1453 format.setInteger(MediaFormat.KEY_BIT_RATE, bitRate); in getMaxSupportedEncoderSize() [all …]
|
D | MediaCodecTest.java | 1781 int bitRate = 0; in getAvcSupportedFormatInfo() local 1795 bitRate = 4000000; in getAvcSupportedFormatInfo() 1801 bitRate = 4000000; in getAvcSupportedFormatInfo() 1807 bitRate = 10000000; in getAvcSupportedFormatInfo() 1813 bitRate = 14000000; in getAvcSupportedFormatInfo() 1819 bitRate = 20000000; in getAvcSupportedFormatInfo() 1826 bitRate = 20000000; in getAvcSupportedFormatInfo() 1833 info.mBitRate = bitRate; in getAvcSupportedFormatInfo() 1834 Log.i(TAG, "AVC Level 0x" + Integer.toHexString(highestLevel) + " bit rate " + bitRate + in getAvcSupportedFormatInfo() 2113 final int bitRate = acaps.getBitrateRange().getLower(); in testPCMEncoding() local [all …]
|
D | DecodeEditEncodeTest.java | 270 int height, int bitRate, boolean useHighBitDepth) { in DecodeEditEncodeTest() argument 279 mBitRate = bitRate; in DecodeEditEncodeTest()
|
D | EncodeDecodeTest.java | 198 int bitRate, boolean allowBT601, boolean allowBT709) { in EncodeDecodeTest() argument 207 mBitRate = bitRate; in EncodeDecodeTest()
|
/cts/tests/tests/media/common/jni/ |
D | NdkMediaCodec-jni.cpp | 86 jint bitRate, in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure() argument 127 jint values[] = {width, height, colorFormat, bitRate, frameRate, iFrameInterval, lowLatency, in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | EncoderConfigParams.java | 449 public Builder setBitRate(int bitRate) { in setBitRate() argument 450 this.mBitRate = bitRate; in setBitRate()
|
/cts/tests/tests/mediastress/jni/ |
D | native-media-jni.cpp | 225 videoInfo.bitRate, videoInfo.duration); in StreamChangeCallback()
|