Lines Matching refs:tx_block
31 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()
104 noise_tx->tx_block[2 * i + 0] *= (kBeta - 1.0f) / kBeta; in aom_noise_tx_filter()
105 noise_tx->tx_block[2 * i + 1] *= (kBeta - 1.0f) / kBeta; in aom_noise_tx_filter()
113 noise_tx->ifft(noise_tx->tx_block, noise_tx->temp, data); in aom_noise_tx_inverse()
124 float *c = noise_tx->tx_block + 2 * (yb * block_size + xb); in aom_noise_tx_add_energy()
132 aom_free(noise_tx->tx_block); in aom_noise_tx_free()