Lines Matching refs:refMime

51     const char *refMime = nullptr, *testMime = nullptr;  in isFormatSimilar()  local
52 bool hasRefMime = AMediaFormat_getString(refFormat, AMEDIAFORMAT_KEY_MIME, &refMime); in isFormatSimilar()
55 if (!hasRefMime || !hasTestMime || strcmp(refMime, testMime) != 0) return false; in isFormatSimilar()
57 if (!strncmp(refMime, "audio/", strlen("audio/"))) { in isFormatSimilar()
69 } else if (!strncmp(refMime, "video/", strlen("video/"))) { in isFormatSimilar()
98 const char* refMime = nullptr; in isMediaSimilar() local
99 bool hasKey = AMediaFormat_getString(refFormat, AMEDIAFORMAT_KEY_MIME, &refMime); in isMediaSimilar()
100 if (!hasKey || (mime != nullptr && strcmp(refMime, mime) != 0)) { in isMediaSimilar()
120 ALOGD(" Mime: %s mismatch for sample: %d", refMime, frameCount); in isMediaSimilar()
131 ALOGD("Mime: %s Size exp/got: %d / %zd ", refMime, refSampleInfo.size, refSz); in isMediaSimilar()
138 ALOGD("Mime: %s Size exp/got: %d / %zd ", refMime, testSampleInfo.size, in isMediaSimilar()
145 ALOGD("Mime: %s TrackID exp/got: %zu / %d", refMime, refTrackID, trackIndex); in isMediaSimilar()
151 ALOGD("Mime: %s TrackID exp/got %zd / %d : ", refMime, testTrackID, in isMediaSimilar()
157 ALOGD("Mime: %s Mismatch in sample data", refMime); in isMediaSimilar()
164 ALOGD("Mime: %s Mismatch in sampleCount", refMime); in isMediaSimilar()
170 ALOGD("Mime: %s calls post advance() are not OK", refMime); in isMediaSimilar()
175 ALOGD("Mime: %s calls post advance() are not OK", refMime); in isMediaSimilar()
179 ALOGV("Mime: %s Sample: %d flags: %d size: %d ts: %d", refMime, frameCount, in isMediaSimilar()
449 const char *refMime = nullptr, *testMime = nullptr; in isFileFormatIdentical() local
450 bool hasRefKey = AMediaFormat_getString(refFormat, AMEDIAFORMAT_KEY_MIME, &refMime); in isFileFormatIdentical()
453 if (hasRefKey && hasTestKey && strcmp(refMime, testMime) == 0) { in isFileFormatIdentical()
456 ALOGE("file format exp/got : %s/%s", refMime, testMime); in isFileFormatIdentical()