1 #ifndef WEBEVD_PNGARENA_H
2 #define WEBEVD_PNGARENA_H
18 if(dim >= maxdim)
return 0;
59 std::vector<std::unique_ptr<std::array<png_byte, kTotBytes>>>
data;
88 if(ix >=
blocks.size())
return 0;
90 if(!
blocks[ix][iy])
return 0;
99 std::vector<std::vector<png_byte*>>
blocks;
png_byte & operator()(int x, int y, int c)
process_name opflash particleana ie x
std::vector< std::unique_ptr< std::array< png_byte, kTotBytes > > > data
static constexpr int MipMapOffset(int dim, int maxdim)
std::size_t size(FixedBins< T, C > const &) noexcept
friend void AnalyzeArena(const PNGArena &)
png_byte & operator()(int i, int x, int y, int c)
friend JSONFormatter & operator<<(JSONFormatter &, const PNGView &)
process_name opflash particleana ie ie y
const png_byte & operator()(int i, int x, int y, int c) const
void AnalyzeArena(const PNGArena &bytes)
std::vector< std::vector< png_byte * > > blocks
std::vector< bool > fHasMIP
PNGArena(const std::string &name)
png_byte operator()(int x, int y, int c) const
void WritePNGBytes(FILE *fout, int imgIdx, int dim)
byte bytes
Alias for common language habits.
std::vector< std::mutex * > fMIPLocks