Home
last modified time | relevance | path

Searched refs:VideoFormat (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTest.java174 runTest(new GLSurfaceViewFactory(), new VideoFormat(fileName)); in testGLViewDecodeAccuracy()
179 runTest(new GLSurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testGLViewLargerHeightDecodeAccuracy()
184 runTest(new GLSurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testGLViewLargerWidthDecodeAccuracy()
189 runTest(new SurfaceViewFactory(), new VideoFormat(fileName)); in testSurfaceViewVideoDecodeAccuracy()
194 runTest(new SurfaceViewFactory(), getLargerHeightVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerHeightDecodeAccuracy()
199 runTest(new SurfaceViewFactory(), getLargerWidthVideoFormat(new VideoFormat(fileName))); in testSurfaceViewLargerWidthDecodeAccuracy()
202 private void runTest(VideoViewFactory videoViewFactory, VideoFormat vf) { in runTest()
235 private void decodeVideo(VideoFormat videoFormat, VideoViewFactory videoViewFactory) { in decodeVideo()
243 VideoFormat videoFormat, VideoViewSnapshot videoViewSnapshot, int goldenId) { in validateResult()
261 private static VideoFormat getLargerHeightVideoFormat(VideoFormat videoFormat) { in getLargerHeightVideoFormat()
[all …]
DDecodeAccuracyTestBase.java178 … Surface surface, VideoFormat videoFormat, int numOfTotalFrames, long msPerFrameCap) { in decodeVideoFrames()
197 Surface surface, VideoFormat videoFormat, int numOfTotalFrames) { in decodeVideoFrames()
201 public PlayerResult decodeVideoFrames(VideoFormat videoFormat, int numOfTotalFrames) { in decodeVideoFrames()
209 private boolean prepareVideoDecode(VideoFormat videoFormat) { in prepareVideoDecode()
222 private MediaFormat prepareExtractor(VideoFormat videoFormat) { in prepareExtractor()
360 private boolean setExtractorDataSource(VideoFormat videoFormat) { in setExtractorDataSource()
472 private static void configureVideoFormat(MediaFormat mediaFormat, VideoFormat videoFormat) { in configureVideoFormat()
483 if (videoFormat.getMaxWidth() != VideoFormat.INT_UNSET in configureVideoFormat()
484 && videoFormat.getMaxHeight() != VideoFormat.INT_UNSET) { in configureVideoFormat()
1504 class VideoFormat { class
[all …]