Searched refs:videoFormat (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTest.java | 123 VideoViewFactory videoViewFactory, VideoFormat videoFormat) { in runH264DecodeAccuracyTest() argument 124 runDecodeAccuracyTest(videoViewFactory, videoFormat, R.raw.h264decodertestgolden); in runH264DecodeAccuracyTest() 128 VideoViewFactory videoViewFactory, VideoFormat videoFormat) { in runVP9DecodeAccuracyTest() argument 129 runDecodeAccuracyTest(videoViewFactory, videoFormat, R.raw.vp9decodertestgolden); in runVP9DecodeAccuracyTest() 133 VideoViewFactory videoViewFactory, VideoFormat videoFormat) { in runH264DecodeCroppedTest() argument 134 runDecodeAccuracyTest(videoViewFactory, videoFormat, R.raw.h264decodertest520x360golden); in runH264DecodeCroppedTest() 138 VideoViewFactory videoViewFactory, VideoFormat videoFormat, int goldenResId) { in runDecodeAccuracyTest() argument 140 checkNotNull(videoFormat); in runDecodeAccuracyTest() 150 decodeVideo(videoFormat, videoViewFactory); in runDecodeAccuracyTest() 151 validateResult(videoFormat, videoViewSnapshot, goldenResId); in runDecodeAccuracyTest() [all …]
|
D | DecodeAccuracyTestBase.java | 143 Surface surface, VideoFormat videoFormat, int numOfTotalFrames) { in decodeVideoFrames() argument 145 if (prepare(surface, videoFormat)) { in decodeVideoFrames() 159 public PlayerResult decodeVideoFrames(VideoFormat videoFormat, int numOfTotalFrames) { in decodeVideoFrames() argument 160 return decodeVideoFrames(null, videoFormat, numOfTotalFrames); in decodeVideoFrames() 167 private boolean prepare(Surface surface, VideoFormat videoFormat) { in prepare() argument 168 if (!setExtractorDataSource(videoFormat)) { in prepare() 177 configureFormat(mediaFormat, videoFormat); in prepare() 235 private boolean setExtractorDataSource(VideoFormat videoFormat) { in setExtractorDataSource() argument 237 extractor.setDataSource(context, videoFormat.loadUri(context), null); in setExtractorDataSource() 315 private static void configureFormat(MediaFormat mediaFormat, VideoFormat videoFormat) { in configureFormat() argument [all …]
|