Lines Matching defs:image_block
752 struct image_block struct
755 ASTCENC_ALIGNAS float data_r[BLOCK_MAX_TEXELS];
758 ASTCENC_ALIGNAS float data_g[BLOCK_MAX_TEXELS];
761 ASTCENC_ALIGNAS float data_b[BLOCK_MAX_TEXELS];
764 ASTCENC_ALIGNAS float data_a[BLOCK_MAX_TEXELS];
767 uint8_t texel_count;
770 vfloat4 origin_texel;
773 vfloat4 data_min;
776 vfloat4 data_mean;
779 vfloat4 data_max;
782 vfloat4 channel_weight;
785 bool grayscale;
788 bool decode_unorm8;
791 uint8_t rgb_lns[BLOCK_MAX_TEXELS];
794 uint8_t alpha_lns[BLOCK_MAX_TEXELS];
797 unsigned int xpos;
800 unsigned int ypos;
803 unsigned int zpos;
812 inline vfloat4 texel(unsigned int index) const in texel()
827 inline vfloat4 texel3(unsigned int index) const in texel3()
841 inline float get_default_alpha() const in get_default_alpha()
855 inline bool is_constant_channel(int channel) const in is_constant_channel()
867 inline bool is_luminance() const in is_luminance()
880 inline bool is_luminancealpha() const in is_luminancealpha()