|
|
@ -69,18 +69,17 @@ namespace ams
|
|
|
|
uint8_t& operator()(int Nc, int I, int J);
|
|
|
|
uint8_t& operator()(int Nc, int I, int J);
|
|
|
|
const uint8_t& operator()(int Nc, int I, int J) const;
|
|
|
|
const uint8_t& operator()(int Nc, int I, int J) const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void clear();
|
|
|
|
void clear();
|
|
|
|
void setall(amspixel color);
|
|
|
|
void setall(amspixel color);
|
|
|
|
int setallplane(int Ncp, uint8_t val);
|
|
|
|
|
|
|
|
|
|
|
|
//todo
|
|
|
|
|
|
|
|
|
|
|
|
int get_colorplane(int Ncp, amsbitplane* bp);
|
|
|
|
int get_colorplane(int Ncp, amsbitplane* bp);
|
|
|
|
int set_colorplane(int Ncp, const amsbitplane* bp);
|
|
|
|
int set_colorplane(int Ncp, const amsbitplane* bp);
|
|
|
|
|
|
|
|
|
|
|
|
//applies image with alpha blending
|
|
|
|
//applies image with alpha blending
|
|
|
|
int apply_image(int I0, int J0, amsimage *img);
|
|
|
|
int apply_image(int I0, int J0, amsimage *img);
|
|
|
|
|
|
|
|
|
|
|
|
//applied color to any pixels where the bitplane's value is >= thresh
|
|
|
|
//applied color to any pixels where the bitplane's value is >= thresh
|
|
|
|
int apply_bitplane_nz(int I0, int J0, amsbitplane* bp, amspixel color, uint8_t thresh);
|
|
|
|
int apply_bitplane_nz(int I0, int J0, amsbitplane* bp, amspixel color, uint8_t thresh);
|
|
|
|
|
|
|
|
|
|
|
|