Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeExtractorTest.cpp243 class SeekTestParams { class
245 SeekTestParams(AMediaCodecBufferInfo expected, int64_t timeStamp, SeekMode mode) in SeekTestParams() function in SeekTestParams
297 static std::vector<SeekTestParams*> generateSeekTestArgs(const char* srcFile, const char* mime, in generateSeekTestArgs()
299 std::vector<SeekTestParams*> testArgs; in generateSeekTestArgs()
335 testArgs.push_back((new SeekTestParams(currInfo, pts, (SeekMode)mode))); in generateSeekTestArgs()
368 (new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC))); in generateSeekTestArgs()
369 testArgs.push_back((new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_NEXT_SYNC))); in generateSeekTestArgs()
371 (new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_PREVIOUS_SYNC))); in generateSeekTestArgs()
377 new SeekTestParams(currInfo, ptsMinus, AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC))); in generateSeekTestArgs()
379 (new SeekTestParams(currInfo, ptsMinus, AMEDIAEXTRACTOR_SEEK_NEXT_SYNC))); in generateSeekTestArgs()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java699 private class SeekTestParams {
704 SeekTestParams(MediaCodec.BufferInfo expected, long timeStamp, int mode) {
738 private ArrayList<SeekTestParams> generateSeekTestArgs(String srcFile, String mime,
740 ArrayList<SeekTestParams> testArgs = new ArrayList<>();
758 testArgs.add(new SeekTestParams(currInfo, pts, mode));
788 new SeekTestParams(currInfo, pts, MediaExtractor.SEEK_TO_CLOSEST_SYNC));
790 new SeekTestParams(currInfo, pts, MediaExtractor.SEEK_TO_NEXT_SYNC));
792 new SeekTestParams(currInfo, pts,
798 testArgs.add(new SeekTestParams(currInfo, ptsMinus,
800 testArgs.add(new SeekTestParams(currInfo, ptsMinus,
[all …]