Lines Matching refs:mime
66 const char* mime, int sampleLimit = INT32_MAX) { in isMediaSimilar() argument
76 if (!hasKey || (mime != nullptr && strcmp(refMime, mime) != 0)) { in isMediaSimilar()
96 ALOGD(" Mime: %s mismatch for sample: %d", mime, frameCount); in isMediaSimilar()
107 ALOGD("Mime: %s Size exp/got: %d / %zd ", mime, refSampleInfo.size, refSz); in isMediaSimilar()
114 ALOGD("Mime: %s Size exp/got: %d / %zd ", mime, testSampleInfo.size, testSz); in isMediaSimilar()
120 ALOGD("Mime: %s TrackID exp/got: %zu / %d", mime, refTrackID, trackIndex); in isMediaSimilar()
126 ALOGD("Mime: %s TrackID exp/got %zd / %d : ", mime, testTrackID, trackIndex); in isMediaSimilar()
131 ALOGD("Mime: %s Mismatch in sample data", mime); in isMediaSimilar()
138 ALOGD("Mime: %s Mismatch in sampleCount", mime); in isMediaSimilar()
144 ALOGD("Mime: %s calls post advance() are not OK", mime); in isMediaSimilar()
149 ALOGD("Mime: %s calls post advance() are not OK", mime); in isMediaSimilar()
153 ALOGV("Mime: %s Sample: %d flags: %d size: %d ts: % " PRId64 "", mime, in isMediaSimilar()
169 if (mime != nullptr && noOfTracksMatched > 0) break; in isMediaSimilar()
173 if (mime == nullptr) { in isMediaSimilar()
259 const char* mime) { in getSeekablePoints() argument
261 if (mime == nullptr) return bookmarks; in getSeekablePoints()
278 if (!hasKey || strcmp(currMime, mime) != 0) { in getSeekablePoints()
302 static std::vector<SeekTestParams*> generateSeekTestArgs(const char* srcFile, const char* mime, in generateSeekTestArgs() argument
305 if (mime == nullptr) return testArgs; in generateSeekTestArgs()
326 if (!hasKey || strcmp(currMime, mime) != 0) { in generateSeekTestArgs()
350 std::vector<AMediaCodecBufferInfo*> bookmarks = getSeekablePoints(srcFile, mime); in generateSeekTestArgs()
409 static int checkSeekPoints(const char* srcFile, const char* mime, in checkSeekPoints() argument
423 if (!hasKey || strcmp(currMime, mime) != 0) { in checkSeekPoints()
788 const char* mime = nullptr; in nativeTestFileFormat() local
789 bool hasKey = AMediaFormat_getString(format, AMEDIAFORMAT_KEY_MIME, &mime); in nativeTestFileFormat()
791 if (hasKey && mime && strlen(mime) > 0) { in nativeTestFileFormat()