Home
last modified time | relevance | path

Searched refs:nb_planes (Results 1 – 25 of 129) sorted by relevance

123456

/third_party/ffmpeg/libavfilter/
Dvf_separatefields.c27 int nb_planes; member
37 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_props_output()
54 static void extract_field(AVFrame *frame, int nb_planes, int type) in extract_field() argument
58 for (i = 0; i < nb_planes; i++) { in extract_field()
80 extract_field(second, s->nb_planes, second->top_field_first); in filter_frame()
97 extract_field(inpicref, s->nb_planes, !inpicref->top_field_first); in filter_frame()
113 extract_field(s->second, s->nb_planes, s->second->top_field_first); in flush_frame()
Ddrawutils.c86 unsigned i, nb_planes = 0; in ff_draw_init2() local
137 nb_planes = FFMAX(nb_planes, c->plane + 1); in ff_draw_init2()
142 draw->nb_planes = nb_planes; in ff_draw_init2()
221 for (plane = 0; plane < draw->nb_planes; plane++) { in ff_copy_rectangle2()
242 for (plane = 0; plane < draw->nb_planes; plane++) { in ff_fill_rectangle()
361 unsigned alpha, nb_planes, nb_comp, plane, comp; in ff_blend_rectangle() local
380nb_planes = draw->nb_planes - !!(draw->desc->flags & AV_PIX_FMT_FLAG_ALPHA && !(draw->flags & FF_D… in ff_blend_rectangle()
381 nb_planes += !nb_planes; in ff_blend_rectangle()
382 for (plane = 0; plane < nb_planes; plane++) { in ff_blend_rectangle()
542 unsigned alpha, nb_planes, nb_comp, plane, comp; in ff_blend_mask() local
[all …]
Dvf_detelecine.c49 int nb_planes; member
158 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
204 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
235 for (i = 0; i < s->nb_planes; i++) in filter_frame()
254 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
273 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
286 for (i = 0; i < s->nb_planes; i++) in filter_frame()
295 for (i = 0; i < s->nb_planes; i++) in filter_frame()
301 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
Dvf_mergeplanes.c37 int nb_planes; member
47 int nb_planes; member
86 s->nb_planes = av_pix_fmt_count_planes(s->out_fmt); in init()
88 for (i = s->nb_planes - 1; i >= 0; i--) { in init()
168 for (i = 0; i < s->nb_planes; i++) { in process_frame()
237 inputp->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_output()
239 for (j = 0; j < inputp->nb_planes; j++) in config_output()
248 for (i = 0; i < s->nb_planes; i++) { in config_output()
253 if (plane + 1 > inputp->nb_planes) { in config_output()
Dvf_xfade.c90 int nb_planes; member
222 for (int p = 0; p < s->nb_planes; p++) { \
276 for (int p = 0; p < s->nb_planes; p++) { \
306 for (int p = 0; p < s->nb_planes; p++) { \
336 for (int p = 0; p < s->nb_planes; p++) { \
366 for (int p = 0; p < s->nb_planes; p++) { \
396 for (int p = 0; p < s->nb_planes; p++) { \
427 for (int p = 0; p < s->nb_planes; p++) { \
460 for (int p = 0; p < s->nb_planes; p++) { \
492 for (int p = 0; p < s->nb_planes; p++) { \
[all …]
Dvf_repeatfields.c28 int nb_planes; member
63 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
115 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
123 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
144 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
Dvf_maskfun.c39 int nb_planes; member
131 for (p = 0; p < s->nb_planes; p++) { \
167 for (p = 0; p < s->nb_planes; p++) { \
208 for (int p = 0; p < s->nb_planes; p++) { in fill_frame()
217 for (int p = 0; p < s->nb_planes; p++) { in fill_frame()
234 for (int p = 0; p < s->nb_planes; p++) { in set_max_sum()
248 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
Dvf_fftfilt.c50 int nb_planes; member
132 for (int plane = 0; plane < s->nb_planes; plane++) { in rdft_horizontal8()
163 for (int plane = 0; plane < s->nb_planes; plane++) { in rdft_horizontal16()
194 for (int plane = 0; plane < s->nb_planes; plane++) { in irdft_horizontal8()
224 for (int plane = 0; plane < s->nb_planes; plane++) { in irdft_horizontal16()
318 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_props()
393 for (int plane = 0; plane < s->nb_planes; plane++) { in multiply_data()
414 for (int plane = 0; plane < s->nb_planes; plane++) { in copy_vertical()
439 for (int plane = 0; plane < s->nb_planes; plane++) { in rdft_vertical()
458 for (int plane = 0; plane < s->nb_planes; plane++) { in irdft_vertical()
[all …]
Dvf_bitplanenoise.c34 int nb_planes; member
74 s->nb_planes = desc->nb_components; in config_input()
116 for (plane = 0; plane < s->nb_planes; plane++) { in filter_frame()
145 for (plane = 0; plane < s->nb_planes; plane++) { in filter_frame()
176 for (plane = 0; plane < s->nb_planes; plane++) { in filter_frame()
Dvf_remap.c54 int nb_planes; member
80 int nb_planes; member
150 for (plane = 0; plane < td->nb_planes ; plane++) { \
240 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
256 if (s->nb_planes > 1 || s->nb_components == 1) { in config_input()
262 if (s->nb_planes > 1 || s->nb_components == 1) { in config_input()
298 td.nb_planes = s->nb_planes; in process_frame()
Dvf_field.c37 int nb_planes; ///< number of planes of the current format member
58 field->nb_planes = av_pix_fmt_count_planes(outlink->format); in config_props_output()
78 for (i = 0; i < field->nb_planes; i++) { in filter_frame()
Dvf_lagfun.c37 int nb_planes; member
84 for (int p = 0; p < s->nb_planes; p++) { \
141 s->nb_planes = av_pix_fmt_count_planes(outlink->format); in config_output()
154 for (int p = 0; p < s->nb_planes; p++) { in config_output()
191 for (int p = 0; p < s->nb_planes; p++) in uninit()
Dvf_hflip_init.h89 static av_unused int ff_hflip_init(FlipContext *s, int step[4], int nb_planes) in ff_hflip_init() argument
91 for (int i = 0; i < nb_planes; i++) { in ff_hflip_init()
105 ff_hflip_init_x86(s, step, nb_planes); in ff_hflip_init()
Dvf_tmidequalizer.c43 int nb_planes; member
192 for (int p = 0; p < s->nb_planes; p++) { in filter_frame()
205 for (int p = 0; p < s->nb_planes; p++) { in filter_frame()
220 for (int p = 0; p < s->nb_planes; p++) { in filter_frame()
234 for (int p = 0; p < s->nb_planes; p++) { in filter_frame()
261 for (int p = 0; p < s->nb_planes; p++) { in filter_frame()
333 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
348 for (int p = 0; p < s->nb_planes; p++) { in config_input()
Dvf_edgedetect.c63 int nb_planes; member
126 edgedetect->nb_planes = inlink->format == AV_PIX_FMT_GRAY8 ? 1 : 3; in config_props()
127 for (p = 0; p < edgedetect->nb_planes; p++) { in config_props()
177 for (p = 0; p < edgedetect->nb_planes; p++) { in filter_frame()
235 for (p = 0; p < edgedetect->nb_planes; p++) { in uninit()
Daf_volumedetect.c42 int nb_planes = nb_channels; in filter_frame() local
48 nb_planes = 1; in filter_frame()
50 for (plane = 0; plane < nb_planes; plane++) { in filter_frame()
Dvf_datascope.c42 int nb_planes; member
113 for (p = 0; p < draw->nb_planes; p++) { in pick_color8()
114 if (draw->nb_planes == 1) { in pick_color8()
131 for (p = 0; p < draw->nb_planes; p++) { in pick_color16()
132 if (draw->nb_planes == 1) { in pick_color16()
149 for (p = 0; p < draw->nb_planes; p++) { in reverse_color8()
161 for (p = 0; p < draw->nb_planes; p++) { in reverse_color16()
187 const int P = FFMAX(s->nb_planes, s->nb_comps); in filter_color2()
234 const int P = FFMAX(s->nb_planes, s->nb_comps); in filter_color()
277 const int P = FFMAX(s->nb_planes, s->nb_comps); in filter_mono()
[all …]
Dvf_fillborders.c46 int nb_planes; member
84 for (p = 0; p < s->nb_planes; p++) { in smear_borders8()
114 for (p = 0; p < s->nb_planes; p++) { in smear_borders16()
146 for (p = 0; p < s->nb_planes; p++) { in mirror_borders8()
179 for (p = 0; p < s->nb_planes; p++) { in mirror_borders16()
212 for (p = 0; p < s->nb_planes; p++) { in fixed_borders8()
237 for (p = 0; p < s->nb_planes; p++) { in fixed_borders16()
270 for (p = 0; p < s->nb_planes; p++) { in reflect_borders8()
303 for (p = 0; p < s->nb_planes; p++) { in reflect_borders16()
336 for (p = 0; p < s->nb_planes; p++) { in wrap_borders8()
[all …]
Dvf_telecine.c48 int nb_planes; member
132 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
186 for (i = 0; i < s->nb_planes; i++) { in filter_frame()
212 for (i = 0; i < s->nb_planes; i++) in filter_frame()
225 for (i = 0; i < s->nb_planes; i++) in filter_frame()
Dvf_unsharp_opencl.c49 int nb_planes; member
118 ctx->nb_planes = 0; in unsharp_opencl_make_filter_params()
120 ctx->nb_planes = FFMAX(ctx->nb_planes, desc->comp[p].plane + 1); in unsharp_opencl_make_filter_params()
122 for (p = 0; p < ctx->nb_planes; p++) { in unsharp_opencl_make_filter_params()
310 for (i = 0; i < ctx->nb_planes; i++) { in unsharp_opencl_uninit()
Dvf_il.c43 int nb_planes; member
97 s->nb_planes = av_pix_fmt_count_planes(inlink->format); in config_input()
158 for (comp = 1; comp < (s->nb_planes - s->has_alpha); comp++) { in filter_frame()
166 comp = s->nb_planes - 1; in filter_frame()
/third_party/ffmpeg/libavcodec/
Dpictordec.c36 int nb_planes; member
85 if (planel >= s->nb_planes) in picmemset()
91 if (s->nb_planes == 1 && in picmemset()
143 s->nb_planes = (tmp >> 4) + 1; in decode_frame()
144 bpp = bits_per_plane * s->nb_planes; in decode_frame()
236 while (plane < s->nb_planes && in decode_frame()
257 if (s->nb_planes - plane > 1) in decode_frame()
260 if (plane < s->nb_planes && x < avctx->width) { in decode_frame()
/third_party/ffmpeg/libavutil/
Dhwcontext_opencl.c1618 for (p = 0; p < desc->nb_planes; p++) { in opencl_pool_free()
1669 desc->nb_planes = p; in opencl_pool_alloc()
1726 for (p = 0; p < desc->nb_planes; p++) { in opencl_frames_uninit()
1759 for (p = 0; p < desc->nb_planes; p++) in opencl_get_buffer()
2067 for (i = 0; i < mapping->frame.nb_planes; i++) { in opencl_unmap_from_drm_beignet()
2098 for (j = 0; j < layer->nb_planes; j++) { in opencl_map_from_drm_beignet()
2137 mapping->frame.nb_planes = ++p; in opencl_map_from_drm_beignet()
2153 for (p = 0; p < mapping->frame.nb_planes; p++) { in opencl_map_from_drm_beignet()
2223 frames_priv->command_queue, desc->nb_planes, desc->planes, in opencl_unmap_from_qsv()
2232 for (p = 0; p < desc->nb_planes; p++) { in opencl_unmap_from_qsv()
[all …]
Dimgutils.c507 int i, j, nb_planes = 0, linesize[4]; in av_image_copy_to_buffer() local
516 nb_planes = FFMAX(desc->comp[i].plane, nb_planes); in av_image_copy_to_buffer()
518 nb_planes++; in av_image_copy_to_buffer()
523 for (i = 0; i < nb_planes; i++) { in av_image_copy_to_buffer()
587 int nb_planes = av_pix_fmt_count_planes(pix_fmt); in av_image_fill_black() local
596 if (!desc || nb_planes < 1 || nb_planes > 4 || desc->flags & AV_PIX_FMT_FLAG_HWACCEL) in av_image_fill_black()
607 if (nb_planes != 1 || !(rgb || mono) || bytewidth < 1) in av_image_fill_black()
670 for (plane = 0; plane < nb_planes; plane++) { in av_image_fill_black()
679 for (plane = 0; plane < nb_planes; plane++) { in av_image_fill_black()
/third_party/ffmpeg/libavformat/
Duncodedframecrcenc.c80 int nb_planes, nb_samples, p; in audio_frame_cksum() local
83 nb_planes = frame->ch_layout.nb_channels; in audio_frame_cksum()
86 nb_samples *= nb_planes; in audio_frame_cksum()
87 nb_planes = 1; in audio_frame_cksum()
92 for (p = 0; p < nb_planes; p++) { in audio_frame_cksum()

123456