Searched refs:dstMime (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
D | MediaTranscoderTests.cpp | 177 void testTranscodeVideo(const char* srcPath, const char* destPath, const char* dstMime, in testTranscodeVideo() argument 180 [dstMime, bitrate](AMediaFormat* sourceFormat) { in testTranscodeVideo() 187 (bitrate > 0 || dstMime != nullptr)) { in testTranscodeVideo() 195 if (dstMime != nullptr) { in testTranscodeVideo() 197 dstMime); in testTranscodeVideo() 204 if (dstMime != nullptr) { in testTranscodeVideo() 207 [dstMime](const char* key, AMediaFormat* src __unused, AMediaFormat* dst) { in testTranscodeVideo() 210 return !strcmp(mime, dstMime); in testTranscodeVideo()
|
D | HdrTranscodeTests.cpp | 57 media_status_t transcode(const char* srcFile, const char* dstFile, const char* dstMime) { in transcode() argument 78 AMediaFormat_setString(format.get(), AMEDIAFORMAT_KEY_MIME, dstMime); in transcode()
|
/frameworks/av/media/libmediatranscoding/tests/ |
D | TranscodingLogger_tests.cpp | 41 char const* dstMime, bool dstIsHdr) in SessionEndedAtom() 57 dstMime(dstMime), in SessionEndedAtom() 75 std::string dstMime; member 135 bool srcIsHdr, int32_t dstWidth, int32_t dstHeight, char const* dstMime, in SetUp() 140 dstMime, dstIsHdr); in SetUp() 188 EXPECT_EQ(atom.dstMime, passthrough ? "passthrough" : kDefaultDstMime); in validateLatestAtom()
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | MediaTranscoder.cpp | 54 const char *srcMime, *dstMime; in createVideoTrackFormat() local 56 if (!AMediaFormat_getString(options, AMEDIAFORMAT_KEY_MIME, &dstMime) || in createVideoTrackFormat() 57 strcmp(srcMime, dstMime) == 0) { in createVideoTrackFormat() 327 const char* dstMime = nullptr; in configureTrackFormat() local 328 if (AMediaFormat_getString(destinationOptions, AMEDIAFORMAT_KEY_MIME, &dstMime)) { in configureTrackFormat() 329 if (strncmp(dstMime, "video/", 6) != 0) { in configureTrackFormat() 331 << srcMime << " to " << dstMime; in configureTrackFormat()
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/fuzzer/ |
D | README.md | 12 1. Destination Mime Type (parameter name: `dstMime`) 21 | `dstMime` | 0. `AMEDIA_MIMETYPE_VIDEO_AVC` 1. `AMEDIA_MIMETYPE_VIDEO_HEVC` | Bit 0 (LSB) of 1st b…
|
/frameworks/av/media/libmediatranscoding/ |
D | TranscodingLogger.cpp | 134 const char* dstMime = dstFormat == nullptr in logSessionEnded() local 156 srcDurationMs, srcIsHdr, dstWidth, dstHeight, dstMime, dstIsHdr); in logSessionEnded()
|