Searched refs:SINCOS_STEPS (Results 1 – 1 of 1) sorted by relevance
52 static constexpr unsigned int SINCOS_STEPS { 64 }; variable65 alignas(ASTCENC_VECALIGN) static float sin_table[SINCOS_STEPS][ANGULAR_STEPS];66 alignas(ASTCENC_VECALIGN) static float cos_table[SINCOS_STEPS][ANGULAR_STEPS];80 for (unsigned int j = 0; j < SINCOS_STEPS; j++) in prepare_angular_tables()82 …sin_table[j][i] = static_cast<float>(sinf((2.0f * astc::PI / (SINCOS_STEPS - 1.0f)) * angle_step *… in prepare_angular_tables()83 …cos_table[j][i] = static_cast<float>(cosf((2.0f * astc::PI / (SINCOS_STEPS - 1.0f)) * angle_step *… in prepare_angular_tables()118 vfloat sample = loada(dec_weight_ideal_value + i) * (SINCOS_STEPS - 1.0f) + vfloat(12582912.0f); in compute_angular_offsets()119 vint isample = float_as_int(sample) & vint((SINCOS_STEPS - 1)); in compute_angular_offsets()