Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dac3dec.h220 AVLFG dith_state; ///< for dither generation member
Deac3dec.c144 float noise = nscale * (int32_t)av_lfg_get(&s->dith_state); in ff_eac3_apply_spectral_extension()
242 s->pre_mantissa[ch][bin][blk] = (av_lfg_get(&s->dith_state) & 0x7FFFFF) - 0x400000; in ff_eac3_decode_transform_coeffs_aht_ch()
Dac3dec.c209 av_lfg_init(&s->dith_state, 0); in ac3_decode_init()
537 mantissa = (((av_lfg_get(&s->dith_state)>>8)*181)>>8) - 5931008; in ac3_decode_transform_coeffs_ch()
1518 … av_lfg_init_from_data(&s->dith_state, s->input_buffer, FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE)); in ac3_decode_frame()