Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
apra::PipelineAnalyzer Class Reference

#include <PipelineAnalyzer.h>

Collaboration diagram for apra::PipelineAnalyzer:
Collaboration graph

Public Member Functions

 PipelineAnalyzer ()=default
 
AnalysisResult analyze (const PipelineDescription &pipeline) const
 
AnalysisResult analyze (const PipelineDescription &pipeline, const ModuleRegistry &registry) const
 

Private Member Functions

std::vector< ConnectionInfobuildConnectionInfoList (const PipelineDescription &pipeline, const ModuleRegistry &registry) const
 
bool checkFrameTypeCompatibility (const ConnectionInfo &conn, AnalysisResult &result) const
 
void checkMemoryTypeCompatibility (const ConnectionInfo &conn, AnalysisResult &result) const
 
void checkFormatCompatibility (const ConnectionInfo &conn, FrameMetadata::MemType effectiveMemType, AnalysisResult &result) const
 
void checkForSuboptimalPatterns (const PipelineDescription &pipeline, const ModuleRegistry &registry, AnalysisResult &result) const
 
const ModuleInfo::PinInfofindOutputPin (const ModuleInfo *info, const std::string &pinName) const
 
const ModuleInfo::PinInfofindInputPin (const ModuleInfo *info, const std::string &pinName) const
 
std::string selectMemoryBridgeModule (FrameMetadata::MemType from, FrameMetadata::MemType to) const
 
std::string selectFormatBridgeModule (FrameMetadata::MemType memType, ImageMetadata::ImageType fromFormat, ImageMetadata::ImageType toFormat) const
 
std::string generateBridgeId (const std::string &fromModule, const std::string &toModule, BridgeType type) const
 

Constructor & Destructor Documentation

◆ PipelineAnalyzer()

apra::PipelineAnalyzer::PipelineAnalyzer ( )
default

Member Function Documentation

◆ analyze() [1/2]

AnalysisResult apra::PipelineAnalyzer::analyze ( const PipelineDescription & pipeline) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ analyze() [2/2]

AnalysisResult apra::PipelineAnalyzer::analyze ( const PipelineDescription & pipeline,
const ModuleRegistry & registry ) const
Here is the call graph for this function:

◆ buildConnectionInfoList()

std::vector< ConnectionInfo > apra::PipelineAnalyzer::buildConnectionInfoList ( const PipelineDescription & pipeline,
const ModuleRegistry & registry ) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkFormatCompatibility()

void apra::PipelineAnalyzer::checkFormatCompatibility ( const ConnectionInfo & conn,
FrameMetadata::MemType effectiveMemType,
AnalysisResult & result ) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkForSuboptimalPatterns()

void apra::PipelineAnalyzer::checkForSuboptimalPatterns ( const PipelineDescription & pipeline,
const ModuleRegistry & registry,
AnalysisResult & result ) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkFrameTypeCompatibility()

bool apra::PipelineAnalyzer::checkFrameTypeCompatibility ( const ConnectionInfo & conn,
AnalysisResult & result ) const
private
Here is the caller graph for this function:

◆ checkMemoryTypeCompatibility()

void apra::PipelineAnalyzer::checkMemoryTypeCompatibility ( const ConnectionInfo & conn,
AnalysisResult & result ) const
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ findInputPin()

const ModuleInfo::PinInfo * apra::PipelineAnalyzer::findInputPin ( const ModuleInfo * info,
const std::string & pinName ) const
private
Here is the caller graph for this function:

◆ findOutputPin()

const ModuleInfo::PinInfo * apra::PipelineAnalyzer::findOutputPin ( const ModuleInfo * info,
const std::string & pinName ) const
private
Here is the caller graph for this function:

◆ generateBridgeId()

std::string apra::PipelineAnalyzer::generateBridgeId ( const std::string & fromModule,
const std::string & toModule,
BridgeType type ) const
private

◆ selectFormatBridgeModule()

std::string apra::PipelineAnalyzer::selectFormatBridgeModule ( FrameMetadata::MemType memType,
ImageMetadata::ImageType fromFormat,
ImageMetadata::ImageType toFormat ) const
private
Here is the caller graph for this function:

◆ selectMemoryBridgeModule()

std::string apra::PipelineAnalyzer::selectMemoryBridgeModule ( FrameMetadata::MemType from,
FrameMetadata::MemType to ) const
private
Here is the caller graph for this function:

The documentation for this class was generated from the following files: