Lines Matching defs:edgedetect
67 AVFILTER_DEFINE_CLASS(edgedetect);
71 EdgeDetectContext *edgedetect = ctx->priv;
73 edgedetect->low_u8 = edgedetect->low * 255. + .5;
74 edgedetect->high_u8 = edgedetect->high * 255. + .5;
80 const EdgeDetectContext *edgedetect = ctx->priv;
82 if (edgedetect->mode == MODE_WIRES) {
85 } else if (edgedetect->mode == MODE_COLORMIX) {
98 EdgeDetectContext *edgedetect = ctx->priv;
100 edgedetect->nb_planes = inlink->format == AV_PIX_FMT_GRAY8 ? 1 : 3;
101 for (p = 0; p < edgedetect->nb_planes; p++) {
102 struct plane_info *plane = &edgedetect->planes[p];
292 EdgeDetectContext *edgedetect = ctx->priv;
297 if (edgedetect->mode != MODE_COLORMIX && av_frame_is_writable(in)) {
309 for (p = 0; p < edgedetect->nb_planes; p++) {
310 struct plane_info *plane = &edgedetect->planes[p];
335 double_threshold(edgedetect->low_u8, edgedetect->high_u8,
340 if (edgedetect->mode == MODE_COLORMIX) {
355 EdgeDetectContext *edgedetect = ctx->priv;
357 for (p = 0; p < edgedetect->nb_planes; p++) {
358 struct plane_info *plane = &edgedetect->planes[p];
384 .name = "edgedetect",