openMSX
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
openmsx::StretchScalerOutputBase< Pixel > Class Template Reference
Inheritance diagram for openmsx::StretchScalerOutputBase< Pixel >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::StretchScalerOutputBase< Pixel >:
Collaboration graph
[legend]

Public Member Functions

 StretchScalerOutputBase (SDLOutputSurface &out, PixelOperations< Pixel > pixelOps)
 
 ~StretchScalerOutputBase () override
 
 StretchScalerOutputBase (const StretchScalerOutputBase &)=delete
 
StretchScalerOutputBaseoperator= (const StretchScalerOutputBase &)=delete
 
unsigned getWidth () const final
 
unsigned getHeight () const final
 
void frameStart () final
 
void frameStop () final
 
std::span< PixelacquireLine (unsigned y) final
 
void fillLine (unsigned y, Pixel color) override
 
- Public Member Functions inherited from openmsx::ScalerOutput< Pixel >
virtual ~ScalerOutput ()=default
 
virtual unsigned getWidth () const =0
 
virtual unsigned getHeight () const =0
 
virtual void frameStart ()=0
 
virtual void frameStop ()=0
 
virtual std::span< PixelacquireLine (unsigned y)=0
 
virtual void releaseLine (unsigned y, std::span< Pixel > buf)=0
 
virtual void fillLine (unsigned y, Pixel color)=0
 

Protected Member Functions

std::span< PixelreleasePre (unsigned y, std::span< Pixel > buf)
 
void releasePost (unsigned y, std::span< Pixel > dstLine)
 
- Protected Member Functions inherited from openmsx::ScalerOutput< Pixel >
 ScalerOutput ()=default
 

Protected Attributes

const PixelOperations< PixelpixelOps
 

Detailed Description

template<std::unsigned_integral Pixel>
class openmsx::StretchScalerOutputBase< Pixel >

Definition at line 14 of file StretchScalerOutput.cc.

Constructor & Destructor Documentation

◆ StretchScalerOutputBase() [1/2]

template<std::unsigned_integral Pixel>
openmsx::StretchScalerOutputBase< Pixel >::StretchScalerOutputBase ( SDLOutputSurface out,
PixelOperations< Pixel pixelOps 
)

Definition at line 105 of file StretchScalerOutput.cc.

◆ ~StretchScalerOutputBase()

template<std::unsigned_integral Pixel>
openmsx::StretchScalerOutputBase< Pixel >::~StretchScalerOutputBase
override

Definition at line 114 of file StretchScalerOutput.cc.

References openmsx::MemoryOps::freeAligned().

◆ StretchScalerOutputBase() [2/2]

template<std::unsigned_integral Pixel>
openmsx::StretchScalerOutputBase< Pixel >::StretchScalerOutputBase ( const StretchScalerOutputBase< Pixel > &  )
delete

Member Function Documentation

◆ acquireLine()

template<std::unsigned_integral Pixel>
std::span< Pixel > openmsx::StretchScalerOutputBase< Pixel >::acquireLine ( unsigned  y)
finalvirtual

◆ fillLine()

template<std::unsigned_integral Pixel>
void openmsx::StretchScalerOutputBase< Pixel >::fillLine ( unsigned  y,
Pixel  color 
)
overridevirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 163 of file StretchScalerOutput.cc.

◆ frameStart()

template<std::unsigned_integral Pixel>
void openmsx::StretchScalerOutputBase< Pixel >::frameStart ( )
inlinefinalvirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 26 of file StretchScalerOutput.cc.

◆ frameStop()

template<std::unsigned_integral Pixel>
void openmsx::StretchScalerOutputBase< Pixel >::frameStop ( )
inlinefinalvirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 27 of file StretchScalerOutput.cc.

◆ getHeight()

template<std::unsigned_integral Pixel>
unsigned openmsx::StretchScalerOutputBase< Pixel >::getHeight
finalvirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 128 of file StretchScalerOutput.cc.

◆ getWidth()

template<std::unsigned_integral Pixel>
unsigned openmsx::StretchScalerOutputBase< Pixel >::getWidth
finalvirtual

Implements openmsx::ScalerOutput< Pixel >.

Definition at line 122 of file StretchScalerOutput.cc.

◆ operator=()

template<std::unsigned_integral Pixel>
StretchScalerOutputBase & openmsx::StretchScalerOutputBase< Pixel >::operator= ( const StretchScalerOutputBase< Pixel > &  )
delete

◆ releasePost()

template<std::unsigned_integral Pixel>
void openmsx::StretchScalerOutputBase< Pixel >::releasePost ( unsigned  y,
std::span< Pixel dstLine 
)
protected

Definition at line 157 of file StretchScalerOutput.cc.

◆ releasePre()

template<std::unsigned_integral Pixel>
std::span< Pixel > openmsx::StretchScalerOutputBase< Pixel >::releasePre ( unsigned  y,
std::span< Pixel buf 
)
protected

Definition at line 149 of file StretchScalerOutput.cc.

Member Data Documentation

◆ pixelOps

template<std::unsigned_integral Pixel>
const PixelOperations<Pixel> openmsx::StretchScalerOutputBase< Pixel >::pixelOps
protected

Definition at line 36 of file StretchScalerOutput.cc.


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