Home
last modified time | relevance | path

Searched refs:tx_block (Results 1 – 1 of 1) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dnoise_util.c31 float *tx_block; member
70 noise_tx->tx_block = (float *)aom_memalign( in aom_noise_tx_malloc()
71 32, 2 * sizeof(*noise_tx->tx_block) * block_size * block_size); in aom_noise_tx_malloc()
74 if (!noise_tx->tx_block || !noise_tx->temp) { in aom_noise_tx_malloc()
80 memset(noise_tx->tx_block, 0, in aom_noise_tx_malloc()
81 2 * sizeof(*noise_tx->tx_block) * block_size * block_size); in aom_noise_tx_malloc()
88 noise_tx->fft(data, noise_tx->temp, noise_tx->tx_block); in aom_noise_tx_forward()
98 float *c = noise_tx->tx_block + 2 * i; in aom_noise_tx_filter()
101 noise_tx->tx_block[2 * i + 0] *= (p - psd[i]) / AOMMAX(p, kEps); in aom_noise_tx_filter()
102 noise_tx->tx_block[2 * i + 1] *= (p - psd[i]) / AOMMAX(p, kEps); in aom_noise_tx_filter()
[all …]