aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 11:07:22 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 11:11:21 (GMT)
commit778a02eb5e31039bb0c23d3eabbab5963f45c90c (patch)
treebe69bfea3211e3abda96832f9ad857fc2b2f696d /src/callbacks.c
parent4b38b0d68956bcaa7e47fd46941a8b9fc72cc692 (diff)
callbacks: get rid of some dead code
There are two warnings here related to some threshold filter. Well, the threshold filters are already modeled using the same way as the other filters. So, there's no need for an extra call there. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/callbacks.c')
-rw-r--r--src/callbacks.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/callbacks.c b/src/callbacks.c
index 8ce2ec3..38f0457 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -489,12 +489,6 @@ apply_filters(cam_t *cam) {
filter to fix things up before running the user selected filters */
camorama_filter_color_filter(NULL, cam->pic_buf, cam->width, cam->height, cam->bpp / 8);
camorama_filter_chain_apply(cam->filter_chain, cam->pic_buf, cam->width, cam->height, cam->bpp / 8);
-#warning "FIXME: enable the threshold channel filter"
-// if((effect_mask & CAMORAMA_FILTER_THRESHOLD_CHANNEL) != 0)
-// threshold_channel (cam->pic_buf, cam->width, cam->height, cam->dither);
-#warning "FIXME: enable the threshold filter"
-// if((effect_mask & CAMORAMA_FILTER_THRESHOLD) != 0)
-// threshold (cam->pic_buf, cam->width, cam->height, cam->dither);
}
#define MULT(d,c,a,t) G_STMT_START { t = c * a + 0x7f; d = ((t >> 8) + t) >> 8; } G_STMT_END

Privacy Policy