yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::util::anonymous_namespace{indexed_png.cc} Namespace Reference

Functions

void PutU32 (std::vector< uint8_t > &out, uint32_t value)
 
uint32_t GetU32 (const uint8_t *p)
 
void PutChunk (std::vector< uint8_t > &out, const char type[4], const std::vector< uint8_t > &data)
 
uint8_t Paeth (uint8_t a, uint8_t b, uint8_t c)
 

Variables

constexpr uint8_t kSignature [8] = {0x89, 'P', 'N', 'G', 0x0D, 0x0A, 0x1A, 0x0A}
 
constexpr uint64_t kMaxPixels = 64ull * 1024 * 1024
 

Function Documentation

◆ PutU32()

void yaze::util::anonymous_namespace{indexed_png.cc}::PutU32 ( std::vector< uint8_t > & out,
uint32_t value )

Definition at line 20 of file indexed_png.cc.

References PutU32().

Referenced by PutChunk(), and PutU32().

Here is the call graph for this function:

◆ GetU32()

uint32_t yaze::util::anonymous_namespace{indexed_png.cc}::GetU32 ( const uint8_t * p)

Definition at line 27 of file indexed_png.cc.

References GetU32().

Referenced by GetU32().

Here is the call graph for this function:

◆ PutChunk()

void yaze::util::anonymous_namespace{indexed_png.cc}::PutChunk ( std::vector< uint8_t > & out,
const char type[4],
const std::vector< uint8_t > & data )

Definition at line 32 of file indexed_png.cc.

References PutChunk(), and PutU32().

Referenced by PutChunk().

Here is the call graph for this function:

◆ Paeth()

uint8_t yaze::util::anonymous_namespace{indexed_png.cc}::Paeth ( uint8_t a,
uint8_t b,
uint8_t c )

Definition at line 43 of file indexed_png.cc.

References Paeth().

Referenced by Paeth().

Here is the call graph for this function:

Variable Documentation

◆ kSignature

constexpr uint8_t yaze::util::anonymous_namespace{indexed_png.cc}::kSignature[8] = {0x89, 'P', 'N', 'G', 0x0D, 0x0A, 0x1A, 0x0A}
constexpr

Definition at line 16 of file indexed_png.cc.

◆ kMaxPixels

constexpr uint64_t yaze::util::anonymous_namespace{indexed_png.cc}::kMaxPixels = 64ull * 1024 * 1024
constexpr

Definition at line 18 of file indexed_png.cc.