Searched refs:videoFormat (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeAccuracyTest.java | 254 private void decodeVideo(VideoFormat videoFormat, VideoViewFactory videoViewFactory) { in decodeVideo() argument 257 videoViewFactory.getSurface(), videoFormat, 10); in decodeVideo() 262 VideoFormat videoFormat, VideoViewSnapshot videoViewSnapshot, int goldenId) { in validateResult() argument 267 result, golden, videoFormat.getOriginalWidth(), videoFormat.getOriginalHeight()); in validateResult() 294 private static VideoFormat getLargerHeightVideoFormat(VideoFormat videoFormat) { in getLargerHeightVideoFormat() argument 295 return new VideoFormat(videoFormat) { in getLargerHeightVideoFormat() 308 private static VideoFormat getLargerWidthVideoFormat(VideoFormat videoFormat) { 309 return new VideoFormat(videoFormat) {
|
D | DecodeAccuracyTestBase.java | 180 Surface surface, VideoFormat videoFormat, int numOfTotalFrames, long msPerFrameCap, in decodeVideoFrames() argument 184 if (prepareVideoDecode(videoFormat)) { in decodeVideoFrames() 202 Surface surface, VideoFormat videoFormat, int numOfTotalFrames) { in decodeVideoFrames() argument 203 return decodeVideoFrames(surface, videoFormat, numOfTotalFrames, 0, false); in decodeVideoFrames() 210 private boolean prepareVideoDecode(VideoFormat videoFormat) { in prepareVideoDecode() argument 211 MediaFormat mediaFormat = prepareExtractor(videoFormat); in prepareVideoDecode() 215 configureVideoFormat(mediaFormat, videoFormat); in prepareVideoDecode() 223 private MediaFormat prepareExtractor(VideoFormat videoFormat) { in prepareExtractor() argument 224 if (!setExtractorDataSource(videoFormat)) { in prepareExtractor() 227 final int trackNum = getFirstTrackIndexByType(videoFormat.getMediaFormat()); in prepareExtractor() [all …]
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingManagerTest.java | 770 MediaFormat videoFormat = null; in getVideoTrackFormat() local 777 videoFormat = format; in getVideoTrackFormat() 782 return videoFormat; in getVideoTrackFormat()
|