Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dwavenc.c71 int16_t *peak_maxpos, *peak_maxneg; member
148 av_freep(&wav->peak_maxneg); in wav_deinit()
178 wav->peak_maxneg = av_mallocz_array(par->channels, sizeof(*wav->peak_maxneg)); in peak_init_writer()
179 if (!wav->peak_maxpos || !wav->peak_maxneg) in peak_init_writer()
209 wav->peak_maxneg[c] = -wav->peak_maxneg[c]; in peak_write_frame()
213 wav->peak_maxneg[c] = wav->peak_maxneg[c] / 256; in peak_write_frame()
218 FFMAX(wav->peak_maxpos[c], wav->peak_maxneg[c]); in peak_write_frame()
225 wav->peak_maxneg[c]; in peak_write_frame()
233 wav->peak_maxneg[c]); in peak_write_frame()
238 wav->peak_maxneg[c] = 0; in peak_write_frame()
[all …]