Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CGreedyDirtyRegionSolver Class Reference

#include <DirtyRegionSolvers.h>

Inheritance diagram for CGreedyDirtyRegionSolver:
IDirtyRegionSolver

Public Member Functions

 CGreedyDirtyRegionSolver ()
 
void Solve (const CDirtyRegionList &input, CDirtyRegionList &output) override
 
- Public Member Functions inherited from IDirtyRegionSolver
virtual ~IDirtyRegionSolver ()=default
 

Constructor & Destructor Documentation

◆ CGreedyDirtyRegionSolver()

CGreedyDirtyRegionSolver::CGreedyDirtyRegionSolver ( )

Member Function Documentation

◆ Solve()

void CGreedyDirtyRegionSolver::Solve ( const CDirtyRegionList input,
CDirtyRegionList output 
)
overridevirtual
Todo:
if the temporaryCost is 0 then we could skip checking the other regions since there exist no better solution

Implements IDirtyRegionSolver.


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