Home
last modified time | relevance | path

Searched refs:cos_table (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Ddcaenc.c57 #define COS_T(x) (c->cos_table[(x) & 2047])
105 int32_t cos_table[2048]; member
256 c->cos_table[0] = 0x7fffffff; in encode_init()
257 c->cos_table[512] = 0; in encode_init()
258 c->cos_table[1024] = -c->cos_table[0]; in encode_init()
260 c->cos_table[i] = (int32_t)(0x7fffffff * cos(M_PI * i / 1024)); in encode_init()
261 c->cos_table[1024-i] = -c->cos_table[i]; in encode_init()
262 c->cos_table[102 in encode_init()
[all...]
/third_party/ffmpeg/tests/
H A Daudiogen.c52 static const unsigned short cos_table[(1 << COS_TABLE_BITS) + 2] = { variable
87 p = cos_table + (a >> CSHIFT); in int_cos()
/third_party/astc-encoder/Source/
H A Dastcenc_weight_align.cpp64 ASTCENC_ALIGNAS static float cos_table[SINCOS_STEPS][ANGULAR_STEPS]; variable
80 cos_table[j][i] = static_cast<float>(cosf((2.0f * astc::PI / (SINCOS_STEPS - 1.0f)) * angle_step * static_cast<float>(j))); in prepare_angular_tables()
124 anglesum_x += loada(cos_table[isample] + i); in compute_angular_offsets()

Completed in 3 milliseconds