openMSX
Public Member Functions | List of all members
openmsx::Multiply< uint16_t > Class Reference

#include <Scanline.hh>

Public Member Functions

 Multiply (const PixelOperations< uint16_t > &pixelOps)
 
void setFactor (unsigned f)
 
uint16_t multiply (uint16_t p, unsigned factor) const
 
uint16_t multiply (uint16_t p) const
 
std::span< const uint16_t, 0x10000 > getTable () const
 

Detailed Description

Definition at line 17 of file Scanline.hh.

Constructor & Destructor Documentation

◆ Multiply()

openmsx::Multiply< uint16_t >::Multiply ( const PixelOperations< uint16_t > &  pixelOps)
explicit

Definition at line 17 of file Scanline.cc.

Member Function Documentation

◆ getTable()

std::span< const uint16_t, 0x10000 > openmsx::Multiply< uint16_t >::getTable ( ) const
inline

Definition at line 24 of file Scanline.hh.

◆ multiply() [1/2]

uint16_t openmsx::Multiply< uint16_t >::multiply ( uint16_t  p) const
inline

Definition at line 44 of file Scanline.cc.

◆ multiply() [2/2]

uint16_t openmsx::Multiply< uint16_t >::multiply ( uint16_t  p,
unsigned  factor 
) const
inline

Definition at line 36 of file Scanline.cc.

References g.

◆ setFactor()

void openmsx::Multiply< uint16_t >::setFactor ( unsigned  f)

Definition at line 22 of file Scanline.cc.

References enumerate(), and t.


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