Lines Matching defs:image_block
753 struct image_block struct
756 ASTCENC_ALIGNAS float data_r[BLOCK_MAX_TEXELS];
759 ASTCENC_ALIGNAS float data_g[BLOCK_MAX_TEXELS];
762 ASTCENC_ALIGNAS float data_b[BLOCK_MAX_TEXELS];
765 ASTCENC_ALIGNAS float data_a[BLOCK_MAX_TEXELS];
767 mutable partition_metrics pms[BLOCK_MAX_PARTITIONS];
770 uint8_t texel_count;
773 vfloat4 origin_texel;
776 vfloat4 data_min;
779 vfloat4 data_mean;
782 vfloat4 data_max;
785 vfloat4 channel_weight;
788 bool grayscale;
791 bool decode_unorm8;
794 uint8_t rgb_lns[BLOCK_MAX_TEXELS];
797 uint8_t alpha_lns[BLOCK_MAX_TEXELS];
800 unsigned int xpos;
803 unsigned int ypos;
806 unsigned int zpos;
815 inline vfloat4 texel(unsigned int index) const in texel()
830 inline vfloat4 texel3(unsigned int index) const in texel3()
844 inline float get_default_alpha() const in get_default_alpha()
858 inline bool is_constant_channel(int channel) const in is_constant_channel()
870 inline bool is_luminance() const in is_luminance()
883 inline bool is_luminancealpha() const in is_luminancealpha()