• Home
  • Raw
  • Download

Lines Matching refs:dstFormat

104 using TrackSelectionCallback = std::function<bool(const char* mime, AMediaFormat** dstFormat)>;
162 AMediaFormat* dstFormat = nullptr; in TranscodeMediaFile() local
188 if (trackSelectionCallback(mime, &dstFormat)) { in TranscodeMediaFile()
189 status = transcoder->configureTrackFormat(i, dstFormat); in TranscodeMediaFile()
190 if (strncmp(mime, "video/", 6) == 0 && dstFormat != nullptr) { in TranscodeMediaFile()
192 if (AMediaFormat_getString(dstFormat, AMEDIAFORMAT_KEY_MIME, &mime)) { in TranscodeMediaFile()
195 AMediaFormat_getInt32(dstFormat, AMEDIAFORMAT_KEY_BIT_RATE, &targetBitrate); in TranscodeMediaFile()
202 if (dstFormat != nullptr) { in TranscodeMediaFile()
203 AMediaFormat_delete(dstFormat); in TranscodeMediaFile()
248 using TrackFormatEditCallback = std::function<void(AMediaFormat* dstFormat)>;
372 [mime = "video/avc", bitrate = 12000000](AMediaFormat* dstFormat) { in BM_1920x1080_Avc22Mbps2Avc12Mbps() argument
373 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1920x1080_Avc22Mbps2Avc12Mbps()
381 [mime = "video/avc", bitrate = 8000000](AMediaFormat* dstFormat) { in BM_1920x1080_Avc15Mbps2Avc8Mbps() argument
382 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1920x1080_Avc15Mbps2Avc8Mbps()
396 [mime = "video/avc", bitrate = 8000000](AMediaFormat* dstFormat) { in BM_1920x1080_Avc15MbpsAac2Avc8Mbps() argument
397 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1920x1080_Avc15MbpsAac2Avc8Mbps()
405 [mime = "video/avc", bitrate = 8000000](AMediaFormat* dstFormat) { in BM_1920x1080_Avc15MbpsAac2Avc8MbpsAac() argument
406 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1920x1080_Avc15MbpsAac2Avc8MbpsAac()
426 [mime = "video/hevc", bitrate = 8000000](AMediaFormat* dstFormat) { in BM_1920x1080_Hevc17Mbps2Hevc8Mbps() argument
427 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1920x1080_Hevc17Mbps2Hevc8Mbps()
435 [mime = "video/avc", bitrate = 12000000](AMediaFormat* dstFormat) { in BM_1920x1080_Hevc17Mbps2Avc12Mbps() argument
436 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1920x1080_Hevc17Mbps2Avc12Mbps()
444 [mime = "video/avc", bitrate = 15000000](AMediaFormat* dstFormat) { in BM_1920x1080_60fps_Hevc28Mbps2Avc15Mbps() argument
445 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1920x1080_60fps_Hevc28Mbps2Avc15Mbps()
453 [mime = "video/avc", bitrate = 4000000](AMediaFormat* dstFormat) { in BM_1280x720_Avc10Mbps2Avc4Mbps() argument
454 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1280x720_Avc10Mbps2Avc4Mbps()
468 [mime = "video/avc", bitrate = 4000000](AMediaFormat* dstFormat) { in BM_1280x720_Avc10MbpsAac2Avc4Mbps() argument
469 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1280x720_Avc10MbpsAac2Avc4Mbps()
477 [mime = "video/avc", bitrate = 4000000](AMediaFormat* dstFormat) { in BM_1280x720_Avc10MbpsAac2Avc4MbpsAac() argument
478 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1280x720_Avc10MbpsAac2Avc4MbpsAac()
498 [mime = "video/avc", bitrate = 4000000](AMediaFormat* dstFormat) { in BM_1280x720_Hevc8Mbps2Avc4Mbps() argument
499 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1280x720_Hevc8Mbps2Avc4Mbps()
507 [mime = "video/avc", bitrate = 8000000](AMediaFormat* dstFormat) { in BM_1080x1920_Avc15Mbps2Avc8Mbps() argument
508 SetMimeBitrate(dstFormat, mime, bitrate); in BM_1080x1920_Avc15Mbps2Avc8Mbps()
516 [mime = "video/avc", bitrate = 4000000](AMediaFormat* dstFormat) { in BM_720x1280_Avc10Mbps2Avc4Mbps() argument
517 SetMimeBitrate(dstFormat, mime, bitrate); in BM_720x1280_Avc10Mbps2Avc4Mbps()
525 [mime = "video/avc", bitrate = 20000000](AMediaFormat* dstFormat) { in BM_3840x2160_Hevc42Mbps2Avc20Mbps() argument
526 SetMimeBitrate(dstFormat, mime, bitrate); in BM_3840x2160_Hevc42Mbps2Avc20Mbps()