Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeExtractorTest.cpp252 class SeekTestParams { class
254 SeekTestParams(AMediaCodecBufferInfo expected, int64_t timeStamp, SeekMode mode) in SeekTestParams() function in SeekTestParams
306 static std::vector<SeekTestParams*> generateSeekTestArgs(const char* srcFile, const char* mediaType, in generateSeekTestArgs()
308 std::vector<SeekTestParams*> testArgs; in generateSeekTestArgs()
344 testArgs.push_back((new SeekTestParams(currInfo, pts, (SeekMode)mode))); in generateSeekTestArgs()
377 (new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC))); in generateSeekTestArgs()
378 testArgs.push_back((new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_NEXT_SYNC))); in generateSeekTestArgs()
380 (new SeekTestParams(currInfo, pts, AMEDIAEXTRACTOR_SEEK_PREVIOUS_SYNC))); in generateSeekTestArgs()
386 new SeekTestParams(currInfo, ptsMinus, AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC))); in generateSeekTestArgs()
388 (new SeekTestParams(currInfo, ptsMinus, AMEDIAEXTRACTOR_SEEK_NEXT_SYNC))); in generateSeekTestArgs()
[all …]
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java881 private class SeekTestParams {
886 SeekTestParams(MediaCodec.BufferInfo expected, long timeStamp, int mode) {
921 private ArrayList<SeekTestParams> generateSeekTestArgs(String srcFile, String mediaType,
923 ArrayList<SeekTestParams> testArgs = new ArrayList<>();
942 testArgs.add(new SeekTestParams(currInfo, pts, mode));
972 new SeekTestParams(currInfo, pts, MediaExtractor.SEEK_TO_CLOSEST_SYNC));
974 new SeekTestParams(currInfo, pts, MediaExtractor.SEEK_TO_NEXT_SYNC));
976 new SeekTestParams(currInfo, pts,
982 testArgs.add(new SeekTestParams(currInfo, ptsMinus,
984 testArgs.add(new SeekTestParams(currInfo, ptsMinus,
[all …]