Lines Matching refs:peak_maxpos
71 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()
381 wav->peak_maxpos[c] = FFMAX(wav->peak_maxpos[c], *(int8_t*)(pkt->data + i)); in wav_write_packet()
384 wav->peak_maxpos[c] = FFMAX(wav->peak_maxpos[c], (int16_t)AV_RL16(pkt->data + i)); in wav_write_packet()