Home
last modified time | relevance | path

Searched refs:planewidth (Results 1 – 25 of 43) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
Dvf_fillborders.c48 int planewidth[4]; member
98 memset(ptr + y * linesize + s->planewidth[p] - s->borders[p].right, in smear_borders8()
99 *(ptr + y * linesize + s->planewidth[p] - s->borders[p].right - 1), in smear_borders8()
105 ptr + s->borders[p].top * linesize, s->planewidth[p]); in smear_borders8()
111 s->planewidth[p]); in smear_borders8()
130 ptr[y * linesize + s->planewidth[p] - s->borders[p].right + x] = in smear_borders16()
131 *(ptr + y * linesize + s->planewidth[p] - s->borders[p].right - 1); in smear_borders16()
137 ptr + s->borders[p].top * linesize, s->planewidth[p] * 2); in smear_borders16()
143 s->planewidth[p] * 2); in smear_borders16()
162 ptr[y * linesize + s->planewidth[p] - s->borders[p].right + x] = in mirror_borders8()
[all …]
Dvf_mergeplanes.c33 int planewidth[4]; member
43 int planewidth[4]; member
161 s->planewidth[i], s->planeheight[i]); in process_frame()
188 s->planewidth[1] = in config_output()
189 …s->planewidth[2] = AV_CEIL_RSHIFT(((s->outdesc->comp[1].depth > 8) + 1) * outlink->w, s->outdesc-… in config_output()
190 s->planewidth[0] = in config_output()
191 s->planewidth[3] = ((s->outdesc->comp[0].depth > 8) + 1) * outlink->w; in config_output()
216 inputp->planewidth[1] = in config_output()
217 …inputp->planewidth[2] = AV_CEIL_RSHIFT(((indesc->comp[1].depth > 8) + 1) * inlink->w, indesc->log… in config_output()
218 inputp->planewidth[0] = in config_output()
[all …]
Dvf_bitplanenoise.c36 int planewidth[4]; member
86 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
87 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
133 for (x = 1; x < s->planewidth[plane] - 1; x++) { in filter_frame()
146 for (x = 1; x < s->planewidth[plane] - 1; x++) { in filter_frame()
163 for (x = 1; x < s->planewidth[plane] - 1; x++) { in filter_frame()
176 for (x = 1; x < s->planewidth[plane] - 1; x++) { in filter_frame()
187 stats[plane] /= s->planewidth[plane] * s->planeheight[plane]; in filter_frame()
Dvf_deband.c40 int planewidth[4]; member
150 const int w = s->planewidth[p] - 1; in deband_8_c()
154 const int pos = y * s->planewidth[0]; in deband_8_c()
156 for (x = 0; x < s->planewidth[p]; x++) { in deband_8_c()
194 const int pos = y * s->planewidth[0]; in deband_8_coupling_c()
196 for (x = 0; x < s->planewidth[0]; x++) { in deband_8_coupling_c()
205 const int w = s->planewidth[p] - 1; in deband_8_coupling_c()
259 const int pos = y * s->planewidth[0]; in deband_16_coupling_c()
261 for (x = 0; x < s->planewidth[0]; x++) { in deband_16_coupling_c()
270 const int w = s->planewidth[p] - 1; in deband_16_coupling_c()
[all …]
Dvf_entropy.c37 int planewidth[4]; member
92 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
93 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
121 float total = s->planewidth[plane] * s->planeheight[plane]; in filter_frame()
130 for (x = 0; x < s->planewidth[plane]; x++) { in filter_frame()
138 for (x = 0; x < s->planewidth[plane]; x++) { in filter_frame()
Dvf_pullup.c199 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
200 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
202 s->metric_w = (s->planewidth[mp] - ((s->junk_left + s->junk_right) << 3)) >> 3; in config_input()
204 s->metric_offset = (s->junk_left << 3) + (s->junk_top << 1) * s->planewidth[mp]; in config_input()
254 b->planes[i] = av_malloc(s->planeheight[i] * s->planewidth[i]); in alloc_buffer()
535 int ystep = s->planewidth[mp] << 3; in compute_metric()
536 int stride = s->planewidth[mp] << 1; /* field stride */ in compute_metric()
550 a = fa->buffer->planes[mp] + pa * s->planewidth[mp] + s->metric_offset; in compute_metric()
551 b = fb->buffer->planes[mp] + pb * s->planewidth[mp] + s->metric_offset; in compute_metric()
623 ss = src->planes[i] + parity * s->planewidth[i]; in copy_field()
[all …]
Dvf_median.c120 if (s->planewidth[i] < s->radius * 2 + 1) { in check_params()
121 …%d plane width %d must be not less than %d, clipping radius.\n", i, s->planewidth[i], s->radius * … in check_params()
122 s->radius = (s->planewidth[i] - 1) / 2; in check_params()
140 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
141 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
194 const int w = s->planewidth[plane]; in filter_slice()
Dvf_deflicker.c57 int planewidth[4]; member
176 for (x = 0; x < s->planewidth[0]; x++) { in calc_avgy8()
186 return 1.0f * sum / (s->planeheight[0] * s->planewidth[0]); in calc_avgy8()
199 for (x = 0; x < s->planewidth[0]; x++) { in calc_avgy16()
209 return 1.0f * sum / (s->planeheight[0] * s->planewidth[0]); in calc_avgy16()
331 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
332 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
392 s->planewidth[y] * (1 + (s->depth > 8)), s->planeheight[y]); in filter_frame()
Dvf_scroll.c41 int planewidth[4]; member
90 const int w = s->planewidth[p] * s->bytes; in scroll_slice()
171 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in config_input()
172 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
Dvf_colorconstancy.c84 int planewidth[4]; member
222 … td->data[b][p] = av_mallocz_array(s->planeheight[p] * s->planewidth[p], sizeof(*td->data[b][p])); in setup_derivative_buffers()
264 const int width = s->planewidth[plane]; in slice_get_derivative()
326 const int width = s->planewidth[plane]; in slice_normalize()
386 int width = s->planewidth[1]; in get_derivative()
448 const int width = s->planewidth[plane]; in filter_slice_grey_edge()
493 int nb_jobs = FFMIN3(s->planeheight[1], s->planewidth[1], s->nb_threads); in filter_grey_edge()
601 const int width = s->planewidth[plane]; in diagonal_transformation()
630 int nb_jobs = FFMIN3(s->planeheight[1], s->planewidth[1], s->nb_threads); in chromatic_adaptation()
669 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_props()
[all …]
Dvf_dblur.c39 int planewidth[4]; member
110 const int width = s->planewidth[plane]; in diriir2d()
149 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
150 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
210 const int width = s->planewidth[plane]; in filter_frame()
Dvf_avgblur.c39 int planewidth[4]; member
181 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
182 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
210 const int width = s->planewidth[plane]; in averageiir2d()
273 const int width = s->planewidth[plane]; in filter_frame()
Dvf_bilateral.c41 int planewidth[4]; member
107 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
108 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
310 s->planewidth[plane] * ((s->depth + 7) / 8), s->planeheight[plane]); in BILATERAL()
316 s->planewidth[plane], s->planeheight[plane], in BILATERAL()
320 s->planewidth[plane], s->planeheight[plane], in BILATERAL()
Dvf_cas.c35 int planewidth[4]; member
60 const int w = s->planewidth[p]; in cas_slice8()
127 const int w = s->planewidth[p]; in cas_slice16()
250 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
251 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
Dvf_maskedthreshold.c37 int planewidth[4], planeheight[4]; member
117 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input()
118 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
140 const int w = s->planewidth[p]; in threshold_slice()
Dvf_hflip.c137 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_props()
138 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_props()
183 const int width = s->planewidth[plane]; in filter_slice()
Dvf_yaepblur.c43 int planewidth[4]; member
246 s->planewidth[plane] * ((s->depth + 7) / 8), in FILTER_SLICE()
252 td.width = s->planewidth[plane]; in FILTER_SLICE()
276 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
277 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
Dvf_psnr.c54 int planewidth[4]; member
116 const int outw = s->planewidth[c]; in compute_images_mse()
316 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input_ref()
317 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input_ref()
320 sum += s->planeheight[j] * s->planewidth[j]; in config_input_ref()
323 s->planeweight[j] = (double) s->planeheight[j] * s->planewidth[j] / sum; in config_input_ref()
Dvf_vaguedenoiser.c50 int planewidth[4]; member
153 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
154 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
167 …th = ((s->planes & 2 || s->planes & 4) && s->nb_planes > 1) ? s->planewidth[1] : s->planewidth[0]; in config_input()
178 s->hlowsize[p][0] = (s->planewidth[p] + 1) >> 1; in config_input()
179 s->hhighsize[p][0] = s->planewidth[p] >> 1; in config_input()
419 const int width = s->planewidth[p]; in filter()
433 s->planewidth[p] * s->bpc, s->planeheight[p]); in filter()
Dvf_ssim.c60 int planewidth[4]; member
306 s->planewidth[i], s->planeheight[i], s->temp, in do_ssim()
406 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input_ref()
407 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input_ref()
409 sum += s->planeheight[i] * s->planewidth[i]; in config_input_ref()
411 s->coefs[i] = (double) s->planeheight[i] * s->planewidth[i] / sum; in config_input_ref()
Dvf_dedot.c50 int planewidth[4]; member
121 for (int x = 1; x < s->planewidth[0] - 1; x++) { \
196 for (int x = 0; x < s->planewidth[plane]; x++) { \
244 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, s->desc->log2_chroma_w); in config_output()
245 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_output()
Dvf_maskedminmax.c44 int planewidth[4], planeheight[4]; member
143 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input()
144 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
166 const int w = s->planewidth[p]; in maskedminmax_slice()
Dvf_gblur.c181 const int width = s->planewidth[plane]; in gaussianiir2d()
236 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
237 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
290 const int width = s->planewidth[plane]; in filter_frame()
Dvf_removegrain.c476 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_input()
477 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_input()
548 memcpy(dst, src, s->planewidth[i]); in filter_slice()
552 memcpy(dst, src, s->planewidth[i]); in filter_slice()
559 int w_asm = (s->planewidth[i] - 2) & ~15; in filter_slice()
569 for (; x < s->planewidth[i] - 1; x++) { in filter_slice()
614 s->planewidth[i], s->planeheight[i]); in filter_frame()
618 memcpy(dst, src, s->planewidth[i]); in filter_frame()
626 memcpy(dst, src, s->planewidth[i]); in filter_frame()
Dvf_fftfilt.c49 int planewidth[MAX_PLANES]; member
252 values[VAR_W] = s->planewidth[plane]; in do_eval()
273 s->planewidth[1] = s->planewidth[2] = AV_CEIL_RSHIFT(inlink->w, desc->log2_chroma_w); in config_props()
274 s->planewidth[0] = s->planewidth[3] = inlink->w; in config_props()
281 int w = s->planewidth[i]; in config_props()
347 int w = s->planewidth[plane]; in filter_frame()

12