Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dwavenc.c71 int16_t *peak_maxpos, *peak_maxneg; member
147 av_freep(&wav->peak_maxpos); in wav_deinit()
177 wav->peak_maxpos = av_mallocz_array(par->channels, sizeof(*wav->peak_maxpos)); in peak_init_writer()
179 if (!wav->peak_maxpos || !wav->peak_maxneg) in peak_init_writer()
212 wav->peak_maxpos[c] = wav->peak_maxpos[c] / 256; in peak_write_frame()
217 wav->peak_maxpos[c] = in peak_write_frame()
218 FFMAX(wav->peak_maxpos[c], wav->peak_maxneg[c]); in peak_write_frame()
222 wav->peak_maxpos[c]; in peak_write_frame()
229 wav->peak_maxpos[c]); in peak_write_frame()
237 wav->peak_maxpos[c] = 0; in peak_write_frame()
[all …]