roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::internal Namespace Reference

Data Structures

class  AddressWindow
 
class  AlignBase
 
struct  ApplyBlendingInPlaceIndexedResolver
 
struct  ApplyBlendingInPlaceResolver
 
struct  ApplyBlendingOverBackgroundResolver
 
struct  ApplyBlendingResolver
 
struct  ApplyBlendingSingleSourceInPlaceResolver
 
struct  ApplyRawFullByteBlendingResolver
 
struct  ApplyRawSubByteBlendingResolver
 
struct  BlendingFiller
 
class  BlendingFillerOperator
 
class  BlendingFillerOperator< ColorMode, pixel_order, byte_order, blending_mode, 1, storage_type >
 
class  BlendingFillerOperator< ColorMode, pixel_order, byte_order, BlendingMode::kSource, 1, storage_type >
 
class  BlendingFillerOperator< ColorMode, pixel_order, byte_order, BlendingMode::kSource, pixels_per_byte, storage_type >
 
struct  BlendingWriter
 
class  BlendingWriterOperator
 
class  BlendingWriterOperator< ColorMode, pixel_order, byte_order, blending_mode, 1, storage_type >
 
class  BufferingStream
 
struct  Clipper
 
struct  Clipper< RawStreamable, RawStreamTypeOf< RawStreamable >, decltype(std::declval< RawStreamable >().CreateClippedRawStream(std::declval< Box >()), void())>
 
class  ColorFormatImpl
 
struct  ColorFormatTraits
 
struct  ColorFormatTraits< Alpha4 >
 
struct  ColorFormatTraits< Alpha8 >
 
struct  ColorFormatTraits< Argb4444 >
 
struct  ColorFormatTraits< Argb6666 >
 
struct  ColorFormatTraits< Argb8888 >
 
struct  ColorFormatTraits< GrayAlpha8 >
 
struct  ColorFormatTraits< Grayscale4 >
 
struct  ColorFormatTraits< Grayscale8 >
 
struct  ColorFormatTraits< ili9488::Rgb666h >
 
struct  ColorFormatTraits< Indexed< 1 > >
 
struct  ColorFormatTraits< Indexed< 2 > >
 
struct  ColorFormatTraits< Indexed< 4 > >
 
struct  ColorFormatTraits< Indexed< 8 > >
 
struct  ColorFormatTraits< Monochrome >
 
struct  ColorFormatTraits< Rgb565 >
 
struct  ColorFormatTraits< Rgb565WithTransparency >
 
struct  ColorFormatTraits< Rgb888 >
 
struct  ColorFormatTraits< Rgba8888 >
 
struct  ColorHash
 Hash functor for Color. More...
 
class  GenericFiller
 
class  GenericFiller< ColorMode, pixel_order, byte_order, 1, storage_type >
 
class  GenericWriter
 
class  GenericWriter< ColorMode, pixel_order, byte_order, 1, storage_type >
 
class  NibbleReader
 
class  NibbleRect
 
class  NibbleRectWindowIterator
 
class  Orienter
 
struct  PaletteElementKey
 
class  PaletteIndex
 
struct  RawColorReader
 
struct  RawColorReader< StreamType, 16 >
 
struct  RawColorReader< StreamType, 24 >
 
struct  RawColorReader< StreamType, 32 >
 
struct  RawColorReader< StreamType, 8 >
 
class  RawStreamableRef
 
struct  RectFillerRectangle
 
struct  RectFillerVisible
 
struct  RectFillWriter
 
class  RleStream4bppxBiased
 
class  RleStream4bppxBiased< Resource, ColorMode, 4 >
 
class  RleStreamRgb565Alpha4
 
class  RleStreamUniform
 
class  RleStreamUniform< Resource, ColorMode, bits_per_pixel, false >
 
class  RleStreamUniform< Resource, ColorMode, bits_per_pixel, true >
 
class  SolidBorder
 
class  SubRectangleRawStream
 
class  SubRectangleStream
 
class  Superposition
 
class  SuperRectangleStream
 
class  TileBase
 
class  UnionStream
 

Typedefs

typedef roo_collections::FlatSmallHashSet< Color, ColorHashColorSet
 Small hash set of Color values.
 

Functions

constexpr uint8_t __div_255 (uint16_t arg)
 
constexpr uint8_t __div_255_rounded (uint16_t arg)
 
constexpr uint8_t __div_65280 (uint32_t arg)
 
constexpr uint8_t __div_65280_rounded (uint32_t arg)
 
template<typename Functor , typename... Args>
auto BlenderSpecialization (const BlendingMode blending_mode, Args &&... args) -> decltype(std::declval< Functor >() .template operator()<BlendingMode::kSourceOver >(args...))
 
static constexpr uint32_t TruncTo4bit (uint8_t c)
 
static constexpr uint32_t TruncTo5bit (uint8_t c)
 
static constexpr uint32_t TruncTo6bit (uint8_t c)
 
constexpr uint16_t Resolve565Transparency (uint16_t c, uint16_t t)
 
BlendingMode ResolveBlendingModeForFill (BlendingMode mode, TransparencyMode transparency_mode, Color color)
 
BlendingMode ResolveBlendingModeForWrite (BlendingMode mode, TransparencyMode transparency_mode)
 
void fillReplaceRect (DisplayOutput &output, const Box &extents, PixelStream *stream, BlendingMode mode)
 
void fillPaintRectOverOpaqueBg (DisplayOutput &output, const Box &extents, Color bgColor, PixelStream *stream, BlendingMode mode)
 
void fillPaintRectOverBg (DisplayOutput &output, const Box &extents, Color bgcolor, PixelStream *stream, BlendingMode mode)
 
void writeRectVisible (DisplayOutput &output, const Box &extents, PixelStream *stream, BlendingMode mode)
 
void writeRectVisibleOverOpaqueBg (DisplayOutput &output, const Box &extents, Color bgcolor, PixelStream *stream, BlendingMode mode)
 
void writeRectVisibleOverBg (DisplayOutput &output, const Box &extents, Color bgcolor, PixelStream *stream, BlendingMode mode)
 
void FillRectFromStream (DisplayOutput &output, const Box &extents, PixelStream *stream, Color bgcolor, FillMode fill_mode, BlendingMode blending_mode, TransparencyMode transparency)
 
template<typename Stream >
SubRectangleStream< Stream > MakeSubRectangle (Stream stream, const Box &extents, const Box &bounds)
 
template<typename StreamType >
uint32_t read_varint (StreamType &in, uint32_t result)
 
template<typename RawPixelStream >
void FillRectFromRawStream (DisplayOutput &output, const Box &extents, RawPixelStream *stream, Color bgcolor, FillMode fill_mode, BlendingMode blending_mode)
 
template<typename RawPixelStream >
std::unique_ptr< SubRectangleRawStream< RawPixelStream > > SubRectangle (std::unique_ptr< RawPixelStream > delegate, int16_t width, int16_t width_skip)
 
template<typename RawPixelStream >
std::unique_ptr< SuperRectangleStream< RawPixelStream > > Realign (const Box &outer_extents, const Box &inner_extents, std::unique_ptr< RawPixelStream > stream)
 
template<typename Bg , typename Fg >
std::unique_ptr< UnionStream< Bg, Fg > > MakeUnionStream (std::unique_ptr< Bg > bg, std::unique_ptr< Fg > fg)
 
template<typename Dim >
Dim resolveAnchor (Anchor anchor, Dim first, Dim last)
 

Typedef Documentation

◆ ColorSet

typedef roo_collections::FlatSmallHashSet<Color, ColorHash> roo_display::internal::ColorSet

Small hash set of Color values.

Definition at line 17 of file color_set.h.

Function Documentation

◆ __div_255()

constexpr uint8_t roo_display::internal::__div_255 ( uint16_t  arg)
inlineconstexpr

Definition at line 125 of file blending.h.

Referenced by __div_255_rounded().

◆ __div_255_rounded()

◆ __div_65280()

constexpr uint8_t roo_display::internal::__div_65280 ( uint32_t  arg)
inlineconstexpr

Definition at line 131 of file blending.h.

Referenced by __div_65280_rounded().

◆ __div_65280_rounded()

constexpr uint8_t roo_display::internal::__div_65280_rounded ( uint32_t  arg)
inlineconstexpr

Definition at line 135 of file blending.h.

References __div_65280().

Referenced by roo_display::BlendOp< BlendingMode::kSourceOver >::operator()().

◆ BlenderSpecialization()

◆ fillPaintRectOverBg()

void roo_display::internal::fillPaintRectOverBg ( DisplayOutput output,
const Box extents,
Color  bgcolor,
PixelStream stream,
BlendingMode  mode 
)
inline

◆ fillPaintRectOverOpaqueBg()

void roo_display::internal::fillPaintRectOverOpaqueBg ( DisplayOutput output,
const Box extents,
Color  bgColor,
PixelStream stream,
BlendingMode  mode 
)
inline

◆ FillRectFromRawStream()

void roo_display::internal::FillRectFromRawStream ( DisplayOutput output,
const Box extents,
RawPixelStream stream,
Color  bgcolor,
FillMode  fill_mode,
BlendingMode  blending_mode 
)

◆ FillRectFromStream()

void roo_display::internal::FillRectFromStream ( DisplayOutput output,
const Box extents,
PixelStream stream,
Color  bgcolor,
FillMode  fill_mode,
BlendingMode  blending_mode,
TransparencyMode  transparency 
)
inline

◆ fillReplaceRect()

void roo_display::internal::fillReplaceRect ( DisplayOutput output,
const Box extents,
PixelStream stream,
BlendingMode  mode 
)
inline

◆ MakeSubRectangle()

template<typename Stream >
SubRectangleStream< Stream > roo_display::internal::MakeSubRectangle ( Stream  stream,
const Box extents,
const Box bounds 
)
inline

◆ MakeUnionStream()

template<typename Bg , typename Fg >
std::unique_ptr< UnionStream< Bg, Fg > > roo_display::internal::MakeUnionStream ( std::unique_ptr< Bg bg,
std::unique_ptr< Fg fg 
)

◆ read_varint()

◆ Realign()

std::unique_ptr< SuperRectangleStream< RawPixelStream > > roo_display::internal::Realign ( const Box outer_extents,
const Box inner_extents,
std::unique_ptr< RawPixelStream stream 
)

◆ Resolve565Transparency()

constexpr uint16_t roo_display::internal::Resolve565Transparency ( uint16_t  c,
uint16_t  t 
)
inlineconstexpr

Definition at line 219 of file color_modes.h.

Referenced by roo_display::Rgb565WithTransparency::fromArgbColor().

◆ resolveAnchor()

template<typename Dim >
Dim roo_display::internal::resolveAnchor ( Anchor  anchor,
Dim  first,
Dim  last 
)
inline

◆ ResolveBlendingModeForFill()

◆ ResolveBlendingModeForWrite()

◆ SubRectangle()

std::unique_ptr< SubRectangleRawStream< RawPixelStream > > roo_display::internal::SubRectangle ( std::unique_ptr< RawPixelStream delegate,
int16_t  width,
int16_t  width_skip 
)

◆ TruncTo4bit()

◆ TruncTo5bit()

static constexpr uint32_t roo_display::internal::TruncTo5bit ( uint8_t  c)
inlinestaticconstexpr

◆ TruncTo6bit()

static constexpr uint32_t roo_display::internal::TruncTo6bit ( uint8_t  c)
inlinestaticconstexpr

◆ writeRectVisible()

void roo_display::internal::writeRectVisible ( DisplayOutput output,
const Box extents,
PixelStream stream,
BlendingMode  mode 
)
inline

◆ writeRectVisibleOverBg()

void roo_display::internal::writeRectVisibleOverBg ( DisplayOutput output,
const Box extents,
Color  bgcolor,
PixelStream stream,
BlendingMode  mode 
)
inline

◆ writeRectVisibleOverOpaqueBg()

void roo_display::internal::writeRectVisibleOverOpaqueBg ( DisplayOutput output,
const Box extents,
Color  bgcolor,
PixelStream stream,
BlendingMode  mode 
)
inline