Searched refs:max_draw (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | avf_showvolume.c | 302 static inline void draw_max_line(ShowVolumeContext *s, int max_draw, int channel) in draw_max_line() argument 306 … uint8_t *dst = s->out->data[0] + max_draw * s->out->linesize[0] + channel * (s->b + s->h) * 4; in draw_max_line() 313 memcpy(dst + max_draw * 4, s->persistant_max_rgba, sizeof(s->persistant_max_rgba)); in draw_max_line() 324 int c, j, k, max_draw; in filter_frame() local 366 max_draw = calc_max_draw(s, outlink, max); in filter_frame() 368 for (j = max_draw; j < s->w; j++) { in filter_frame() 386 max_draw = FFMAX(0, calc_max_draw(s, outlink, s->max_persistent[c]) - 1); in filter_frame() 387 draw_max_line(s, max_draw, c); in filter_frame() 401 max_draw = calc_max_draw(s, outlink, max); in filter_frame() 406 for (k = 0; k < max_draw; k++) { in filter_frame() [all …]
|