/third_party/ffmpeg/libavfilter/ |
H A D | vf_fillborders.c | 50 int planeheight[4]; member 88 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in smear_borders8() 102 for (y = s->planeheight[p] - s->borders[p].bottom; y < s->planeheight[p]; y++) { in smear_borders8() 104 ptr + (s->planeheight[p] - s->borders[p].bottom - 1) * linesize, in smear_borders8() 118 for (y = s->borders[p].top; y < s->planeheight[p] - s->borders[p].bottom; y++) { in smear_borders16() 134 for (y = s->planeheight[p] - s->borders[p].bottom; y < s->planeheight[p]; y++) { in smear_borders16() 136 ptr + (s->planeheight[p] - s->borders[p].bottom - 1) * linesize, in smear_borders16() 150 for (y = s->borders[p].top; y < s->planeheight[ in mirror_borders8() [all...] |
H A D | vf_bitplanenoise.c | 35 int planeheight[4]; member 76 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 77 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 117 const int linesize = s->planeheight[plane] > 1 ? in->linesize[plane] : 0; in filter_frame() 122 for (y = 0; y < s->planeheight[plane] - 1; y++) { in filter_frame() 146 const int linesize = s->planeheight[plane] > 1 ? in->linesize[plane] / 2 : 0; in filter_frame() 152 for (y = 0; y < s->planeheight[plane] - 1; y++) { in filter_frame() 179 stats[plane] /= s->planewidth[plane] * s->planeheight[plan in filter_frame() [all...] |
H A D | vf_shufflepixels.c | 47 int planeheight[4]; member 116 for (int y = 0; y < s->planeheight[0];) { in make_vertical_map() 123 height = FFMIN(s->block_h, s->planeheight[0] - y); in make_vertical_map() 126 height = FFMIN(s->block_h, s->planeheight[0] - rand * s->block_h); in make_vertical_map() 207 const int slice_start = (s->planeheight[p] * jobnr) / nb_jobs; \ 208 const int slice_end = (s->planeheight[p] * (jobnr+1)) / nb_jobs; \ 240 const int slice_start = (s->planeheight[p] * jobnr) / nb_jobs; \ 241 const int slice_end = (s->planeheight[p] * (jobnr+1)) / nb_jobs; \ 270 const int slice_start = (s->planeheight[p] * jobnr) / nb_jobs; \ 271 const int slice_end = (s->planeheight[ [all...] |
H A D | vf_repeatfields.c | 30 int planeheight[4]; member 60 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 61 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 118 s->linesize[i], s->planeheight[i] / 2); in filter_frame() 127 s->linesize[i], s->planeheight[i] / 2); in filter_frame() 147 s->linesize[i], s->planeheight[i] / 2); in filter_frame()
|
H A D | vf_mergeplanes.c | 39 int planeheight[4]; member 49 int planeheight[4]; member 174 s->planewidth[i], s->planeheight[i]); in process_frame() 205 s->planeheight[1] = in config_output() 206 s->planeheight[2] = AV_CEIL_RSHIFT(outlink->h, s->outdesc->log2_chroma_h); in config_output() 207 s->planeheight[0] = in config_output() 208 s->planeheight[3] = outlink->h; in config_output() 233 inputp->planeheight[1] = in config_output() 234 inputp->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, indesc->log2_chroma_h); in config_output() 235 inputp->planeheight[ in config_output() [all...] |
H A D | vf_entropy.c | 36 int planeheight[4]; member 82 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 83 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 113 float total = s->planewidth[plane] * s->planeheight[plane]; in filter_frame() 121 for (y = 0; y < s->planeheight[plane]; y++) { in filter_frame() 129 for (y = 0; y < s->planeheight[plane]; y++) { in filter_frame()
|
H A D | vf_colorize.c | 37 int planeheight[4]; member 53 const int height = s->planeheight[0]; in colorizey_slice8() 76 const int height = s->planeheight[0]; in colorizey_slice16() 99 const int height = s->planeheight[1]; in colorize_slice8() 127 const int height = s->planeheight[1]; in colorize_slice16() 207 FFMIN(s->planeheight[1], ff_filter_get_nb_threads(ctx))); in filter_frame() 244 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 245 s->planeheight[0] = s->planeheight[ in config_input() [all...] |
H A D | vf_deband.c | 41 int planeheight[4]; member 144 const int start = (s->planeheight[p] * jobnr ) / nb_jobs; in deband_8_c() 145 const int end = (s->planeheight[p] * (jobnr+1)) / nb_jobs; in deband_8_c() 147 const int h = s->planeheight[p] - 1; in deband_8_c() 185 const int start = (s->planeheight[0] * jobnr ) / nb_jobs; in deband_8_coupling_c() 186 const int end = (s->planeheight[0] * (jobnr+1)) / nb_jobs; in deband_8_coupling_c() 202 const int h = s->planeheight[p] - 1; in deband_8_coupling_c() 250 const int start = (s->planeheight[0] * jobnr ) / nb_jobs; in deband_16_coupling_c() 251 const int end = (s->planeheight[0] * (jobnr+1)) / nb_jobs; in deband_16_coupling_c() 267 const int h = s->planeheight[ in deband_16_coupling_c() [all...] |
H A D | vf_detelecine.c | 50 int planeheight[4]; member 155 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 156 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 208 s->planeheight[i]); in filter_frame() 239 s->planeheight[i]); in filter_frame() 261 (s->planeheight[i] - s->first_field + 1) / 2); in filter_frame() 268 (s->planeheight[i] - !s->first_field + 1) / 2); in filter_frame() 277 s->planeheight[ in filter_frame() [all...] |
H A D | vf_fftfilt.c | 53 int planeheight[MAX_PLANES]; member 134 const int h = s->planeheight[plane]; in rdft_horizontal8() 165 const int h = s->planeheight[plane]; in rdft_horizontal16() 196 const int h = s->planeheight[plane]; in irdft_horizontal8() 227 const int h = s->planeheight[plane]; in irdft_horizontal16() 291 values[VAR_H] = s->planeheight[plane]; in do_eval() 315 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_props() 316 s->planeheight[0] = s->planeheight[ in config_props() [all...] |
H A D | vf_median.c | 119 if (s->planeheight[i] < s->radiusV * 2 + 1) { in check_params() 120 av_log(inlink->dst, AV_LOG_WARNING, "The %d plane height %d must be not less than %d, clipping radiusV.\n", i, s->planeheight[i], s->radiusV * 2 + 1); in check_params() 121 s->radiusV = (s->planeheight[i] - 1) / 2; in check_params() 136 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 137 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 144 s->nb_threads = FFMAX(1, FFMIN(s->planeheight[1] / (s->radiusV + 1), ff_filter_get_nb_threads(inlink->dst))); in config_input() 187 const int h = s->planeheight[plane]; in filter_slice()
|
H A D | vf_telecine.c | 49 int planeheight[4]; member 129 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 130 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 193 (s->planeheight[i] - s->first_field + 1) / 2); in filter_frame() 200 (s->planeheight[i] - !s->first_field + 1) / 2); in filter_frame() 216 s->planeheight[i]); in filter_frame() 229 s->planeheight[i]); in filter_frame()
|
H A D | vf_lagfun.c | 40 int planeheight[4]; member 85 const int slice_start = (s->planeheight[p] * jobnr) / nb_jobs; \ 86 const int slice_end = (s->planeheight[p] * (jobnr+1)) / nb_jobs; \ 151 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_output() 152 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_output() 155 s->old[p] = av_calloc(s->planewidth[p] * s->planeheight[p], sizeof(*s->old[0])); in config_output() 181 FFMIN(s->planeheight[1], ff_filter_get_nb_threads(ctx))); in filter_frame()
|
H A D | vf_identity.c | 52 int planeheight[4]; member 91 int planeheight[4]; member 106 const int outh = td->planeheight[c]; in compute_images_msad() 134 const int outh = td->planeheight[c]; in compute_images_identity() 198 td.planeheight[c] = s->planeheight[c]; in do_identity() 202 FFMIN(s->planeheight[1], s->nb_threads)); in do_identity() 210 comp_score[c] = comp_sum[c] / ((double)s->planewidth[c] * s->planeheight[c]); in do_identity() 281 s->planeheight[1] = s->planeheight[ in config_input_ref() [all...] |
H A D | vf_cas.c | 34 int planeheight[4]; member 56 const int slice_start = (s->planeheight[p] * jobnr) / nb_jobs; in cas_slice8() 57 const int slice_end = (s->planeheight[p] * (jobnr+1)) / nb_jobs; in cas_slice8() 62 const int h = s->planeheight[p]; in cas_slice8() 123 const int slice_start = (s->planeheight[p] * jobnr) / nb_jobs; in cas_slice16() 124 const int slice_end = (s->planeheight[p] * (jobnr+1)) / nb_jobs; in cas_slice16() 129 const int h = s->planeheight[p]; in cas_slice16() 237 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 238 s->planeheight[ in config_input() [all...] |
H A D | vf_maskfun.c | 38 int planewidth[4], planeheight[4]; member 117 FFMIN(s->planeheight[1], ff_filter_get_nb_threads(ctx))); in filter_frame() 134 const int h = s->planeheight[p]; \ 171 const int h = s->planeheight[p]; \ 211 for (int y = 0; y < s->planeheight[p]; y++) { in fill_frame() 220 for (int y = 0; y < s->planeheight[p]; y++) { in fill_frame() 237 s->max_sum += (uint64_t)s->sum * s->planewidth[p] * s->planeheight[p]; in set_max_sum() 255 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_input() 256 s->planeheight[ in config_input() [all...] |
H A D | vf_psnr.c | 56 int planeheight[4]; member 115 int planeheight[4]; member 130 const int outh = td->planeheight[c]; in compute_images_mse() 189 td.planeheight[c] = s->planeheight[c]; in do_psnr() 193 FFMIN(s->planeheight[1], s->nb_threads)); in do_psnr() 201 comp_mse[c] = comp_sum[c] / ((double)s->planewidth[c] * s->planeheight[c]); in do_psnr() 342 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input_ref() 343 s->planeheight[ in config_input_ref() [all...] |
H A D | vf_phase.c | 70 int planeheight[4]; member 145 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 146 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 190 for (y = 0, top = 1; y < s->planeheight[plane]; y++, top ^= 1) { in filter_frame()
|
H A D | vf_hflip.c | 76 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_props() 77 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_props() 100 const int height = s->planeheight[plane]; in filter_slice()
|
H A D | vf_deflicker.c | 58 int planeheight[4]; member 168 for (y = 0; y < s->planeheight[0]; y++) { in calc_avgy8() 179 return 1.0f * sum / (s->planeheight[0] * s->planewidth[0]); in calc_avgy8() 191 for (y = 0; y < s->planeheight[0]; y++) { in calc_avgy16() 202 return 1.0f * sum / (s->planeheight[0] * s->planewidth[0]); in calc_avgy16() 322 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 323 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 385 s->planewidth[y] * (1 + (s->depth > 8)), s->planeheight[ in filter_frame() [all...] |
H A D | vf_dedot.c | 51 int planeheight[4]; member 89 const int h = s->planeheight[0]; \ 164 const int h = s->planeheight[plane]; \ 240 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, s->desc->log2_chroma_h); in config_output() 241 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_output() 297 s->planeheight[0])); in activate() 303 s->planeheight[1])); in activate() 307 s->planeheight[ in activate() [all...] |
H A D | vf_lenscorrection.c | 42 int planeheight[4]; member 86 const int w = rect->planewidth[plane], h = rect->planeheight[plane]; \ 128 const int w = rect->planewidth[plane], h = rect->planeheight[plane]; \ 219 int h = rect->planeheight[plane]; in calc_correction() 252 rect->planeheight[1] = rect->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h); in config_output() 253 rect->planeheight[0] = rect->planeheight[3] = inlink->h; in config_output() 275 int h = rect->planeheight[plane]; in config_output() 315 FFMIN(rect->planeheight[ in filter_frame() [all...] |
H A D | vf_fieldhint.c | 50 int planeheight[4]; member 104 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_input() 105 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 246 (s->planeheight[p] + 1) / 2); in filter_frame() 252 (s->planeheight[p] + 1) / 2); in filter_frame()
|
H A D | vf_maskedthreshold.c | 37 int planewidth[4], planeheight[4]; member 110 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, vsub); in config_input() 111 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_input() 136 const int h = s->planeheight[p]; in threshold_slice() 190 FFMIN(s->planeheight[2], ff_filter_get_nb_threads(ctx))); in process_frame()
|
H A D | vf_weave.c | 32 int planeheight[4]; member 80 s->planeheight[1] = s->planeheight[2] = AV_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); in config_props_output() 81 s->planeheight[0] = s->planeheight[3] = inlink->h; in config_props_output() 108 const int height = s->planeheight[i]; in weave_slice() 153 FFMIN(s->planeheight[1], ff_filter_get_nb_threads(ctx))); in filter_frame()
|