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.java242 private void decodeVideo(VideoFormat videoFormat, VideoViewFactory videoViewFactory) { in decodeVideo() argument
245 videoViewFactory.getSurface(), videoFormat, 10); in decodeVideo()
250 VideoFormat videoFormat, VideoViewSnapshot videoViewSnapshot, int goldenId) { in validateResult() argument
255 result, golden, videoFormat.getOriginalWidth(), videoFormat.getOriginalHeight()); in validateResult()
268 private static VideoFormat getLargerHeightVideoFormat(VideoFormat videoFormat) { in getLargerHeightVideoFormat() argument
269 return new VideoFormat(videoFormat) { in getLargerHeightVideoFormat()
282 private static VideoFormat getLargerWidthVideoFormat(VideoFormat videoFormat) {
283 return new VideoFormat(videoFormat) {
DDecodeAccuracyTestBase.java178 Surface surface, VideoFormat videoFormat, int numOfTotalFrames, long msPerFrameCap, in decodeVideoFrames() argument
182 if (prepareVideoDecode(videoFormat)) { in decodeVideoFrames()
200 Surface surface, VideoFormat videoFormat, int numOfTotalFrames) { in decodeVideoFrames() argument
201 return decodeVideoFrames(surface, videoFormat, numOfTotalFrames, 0, false); in decodeVideoFrames()
208 private boolean prepareVideoDecode(VideoFormat videoFormat) { in prepareVideoDecode() argument
209 MediaFormat mediaFormat = prepareExtractor(videoFormat); in prepareVideoDecode()
213 configureVideoFormat(mediaFormat, videoFormat); in prepareVideoDecode()
221 private MediaFormat prepareExtractor(VideoFormat videoFormat) { in prepareExtractor() argument
222 if (!setExtractorDataSource(videoFormat)) { in prepareExtractor()
225 final int trackNum = getFirstTrackIndexByType(videoFormat.getMediaFormat()); in prepareExtractor()
[all …]