MCPcopy Create free account
hub / github.com/Tencent/libpag / CheckBeforeExport

Function CheckBeforeExport

exporter/src/export/ExportVerify.cpp:646–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646void CheckBeforeExport(std::shared_ptr<PAGExportSession> session,
647 std::vector<pag::Composition*>& compositions,
648 std::vector<pag::ImageBytes*>& images) {
649 CheckBitmapAndVideoNum(session, compositions, images);
650 CheckEffect(session, compositions.back());
651 CheckVideoTrack(session, compositions.back());
652 CheckContinuousSequenceComposition(session, compositions.back());
653 CheckBmpSuffix(session, compositions.back());
654 CheckLayerNum(session, compositions);
655 CheckImageFillRule(session, compositions.back());
656 CheckVideoCompositionInUIScenes(session, compositions);
657 CheckDuplicateVideoSequence(session, compositions);
658 CheckLayerProperty(session, compositions);
659}
660
661void CheckAfterExport(std::shared_ptr<PAGExportSession> session,
662 std::vector<pag::Composition*>& compositions) {

Callers 1

exportAsFileMethod · 0.85

Calls 10

CheckBitmapAndVideoNumFunction · 0.85
CheckEffectFunction · 0.85
CheckVideoTrackFunction · 0.85
CheckBmpSuffixFunction · 0.85
CheckLayerNumFunction · 0.85
CheckImageFillRuleFunction · 0.85
CheckLayerPropertyFunction · 0.85

Tested by

no test coverage detected