Gamp v0.0.7-54-gccdc599
Gamp: Graphics, Audio, Multimedia and Processing
Loading...
Searching...
No Matches
gamp::render::pixel Namespace Reference

Classes

class  ComponentMap
 
class  GenericPixelRect
 Generic PixelRectangle implementation. More...
 
class  PixelFormat
 Packed pixel composition, i.e. More...
 
class  PixelFormats
 Basic pixel formats. More...
 
class  PixelRectangle
 Pixel Rectangle identified by it's hashCode(). More...
 

Typedefs

typedef std::array< CType, 4 > comparray4_t
 
typedef Point2I< uint32_t > Point2u32
 
typedef std::array< uint32_t, 4 > u32array4_t
 

Enumerations

enum class  CType : uint8_t {
  CType::none = 0 , CType::R = 1 , CType::G = 2 , CType::B = 3 ,
  CType::A = 4 , CType::Y = 10 , CType::U = 11 , CType::V = 12
}
 Component types. More...
 

Functions

uint32_t find (CType s, jau::nsize_t poolCount, const comparray4_t &pool, bool mapRGB2Y) noexcept
 Returns first index of given CType within pool , npos if not exists.
 
uint32_t getShifted32 (uint32_t bytesPerPixel, const uint8_t *data)
 Returns shifted bytes from the given data at given offset of maximal 4 bytesPerPixel.
 
uint64_t getShifted64 (uint32_t bytesPerPixel, const uint8_t *data)
 Returns shifted bytes from the given data at given offset of maximal 8 bytesPerPixel.
 
 JAU_MAKE_ENUM_STRING (CType, R, G, B, A, Y, U, V)
 

Variables

constexpr uint32_t npos = std::numeric_limits<uint32_t>::max()
 maximum index, denoting no position or not found.
 

Typedef Documentation

◆ Point2u32

typedef Point2I<uint32_t> jau::math::Point2u32

Definition at line 348 of file vec2i.hpp.