Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Davf_showspectrum.c65 AVFrame *outpicref; member
343 av_frame_free(&s->outpicref); in uninit()
797 drawtext(s->outpicref, 2, outlink->h - 10, "CREATED BY LIBAVFILTER", 0); in draw_legend()
798 drawtext(s->outpicref, outlink->w - 2 - strlen(text) * 10, outlink->h - 10, text, 0); in draw_legend()
804 drawtext(s->outpicref, outlink->w - 2 - strlen(text) * 10, 3, text, 0); in draw_legend()
808 dst = s->outpicref->data[0] + (s->start_y - 1) * s->outpicref->linesize[0] + s->start_x - 1; in draw_legend()
811 dst = s->outpicref->data[0] + (s->start_y + s->h) * s->outpicref->linesize[0] + s->start_x - 1; in draw_legend()
815 dst = s->outpicref->data[0] + (y + s->start_y - 1) * s->outpicref->linesize[0]; in draw_legend()
824 … dst = s->outpicref->data[0] + (s->start_y + h * (ch + 1) - y - hh) * s->outpicref->linesize[0]; in draw_legend()
829 … dst = s->outpicref->data[0] + (s->start_y + h * (ch + 1) - y - hh) * s->outpicref->linesize[0]; in draw_legend()
[all …]
Davf_abitscope.c47 AVFrame *outpicref; member
153 const int w = outpicref->width / inlink->ch_layout.nb_channels; \
154 const int h = outpicref->height / depth; \
167 … uint8_t *dst = outpicref->data[0] + (b * h + j) * outpicref->linesize[0] + w * ch * 4; \
179 const int w = outpicref->width / inlink->ch_layout.nb_channels; \
195 uint8_t *dst = outpicref->data[0] + w * ch * 4 + wb * b * 4 + \
196 s->current_vpos * outpicref->linesize[0]; \
214 AVFrame *outpicref; in filter_frame() local
216 if (s->mode == 0 || !s->outpicref) { in filter_frame()
217 outpicref = ff_get_video_buffer(outlink, outlink->w, outlink->h); in filter_frame()
[all …]
Davf_showspatial.c216 AVFrame *outpicref; in draw_spatial() local
221 outpicref = ff_get_video_buffer(outlink, outlink->w, outlink->h); in draw_spatial()
222 if (!outpicref) in draw_spatial()
225 outpicref->sample_aspect_ratio = (AVRational){1,1}; in draw_spatial()
227 memset(outpicref->data[0] + i * outpicref->linesize[0], 0, outlink->w); in draw_spatial()
228 memset(outpicref->data[1] + i * outpicref->linesize[1], 0, outlink->w); in draw_spatial()
229 memset(outpicref->data[2] + i * outpicref->linesize[2], 0, outlink->w); in draw_spatial()
250 draw_dot(outpicref->data[0] + outpicref->linesize[0] * y + x, outpicref->linesize[0], cg); in draw_spatial()
251 draw_dot(outpicref->data[1] + outpicref->linesize[1] * y + x, outpicref->linesize[1], cb); in draw_spatial()
252 draw_dot(outpicref->data[2] + outpicref->linesize[2] * y + x, outpicref->linesize[2], cr); in draw_spatial()
[all …]
Davf_avectorscope.c60 AVFrame *outpicref; member
120 const int linesize = s->outpicref->linesize[0]; in draw_dot()
131 dst = &s->outpicref->data[0][y * linesize + x * 4]; in draw_dot()
167 const int linesize = s->outpicref->linesize[0]; in fade()
168 const int height = s->outpicref->height; in fade()
174 memset(s->outpicref->data[0] + i * linesize, 0, s->outpicref->width * 4); in fade()
179 uint8_t *d = s->outpicref->data[0] + slice_start * linesize; in fade()
264 if (!s->outpicref || s->outpicref->width != outlink->w || in filter_frame()
265 s->outpicref->height != outlink->h) { in filter_frame()
266 av_frame_free(&s->outpicref); in filter_frame()
[all …]
Dvf_removelogo.c490 AVFrame *outpicref; in filter_frame() local
495 outpicref = inpicref; in filter_frame()
497 outpicref = ff_get_video_buffer(outlink, outlink->w, outlink->h); in filter_frame()
498 if (!outpicref) { in filter_frame()
502 av_frame_copy_props(outpicref, inpicref); in filter_frame()
507 outpicref->data[0], outpicref->linesize[0], in filter_frame()
512 outpicref->data[1], outpicref->linesize[1], in filter_frame()
517 outpicref->data[2], outpicref->linesize[2], in filter_frame()
524 return ff_filter_frame(outlink, outpicref); in filter_frame()
Df_ebur128.c98 AVFrame *outpicref; ///< output picture reference, updated regularly member
288 AVFrame *outpicref; in config_video_output() local
326 av_frame_free(&ebur128->outpicref); in config_video_output()
327 ebur128->outpicref = outpicref = in config_video_output()
329 if (!outpicref) in config_video_output()
331 outpicref->sample_aspect_ratio = (AVRational){1,1}; in config_video_output()
339 memset(outpicref->data[0], 0, ebur128->h * outpicref->linesize[0]); in config_video_output()
342 drawtext(outpicref, PAD, PAD+16, FONT8, font_colors+3, " LU"); in config_video_output()
348 drawtext(outpicref, x, y + ebur128->graph.y, FONT8, font_colors+3, in config_video_output()
356 p = outpicref->data[0] + ebur128->graph.y * outpicref->linesize[0] in config_video_output()
[all …]
Davf_showwaves.c80 AVFrame *outpicref; member
136 av_frame_free(&showwaves->outpicref); in uninit()
562 ret = ff_filter_frame(outlink, showwaves->outpicref); in push_frame()
563 showwaves->outpicref = NULL; in push_frame()
578 AVFrame *out = showwaves->outpicref; in push_single_pic()
647 if (ret == AVERROR_EOF && showwaves->outpicref) { in request_frame()
661 if (!showwaves->outpicref) { in alloc_out_frame()
663 AVFrame *out = showwaves->outpicref = in alloc_out_frame()
698 AVFrame *outpicref = showwaves->outpicref; in showwaves_filter_frame() local
712 outpicref = showwaves->outpicref; in showwaves_filter_frame()
[all …]