diff options
author | phintuka <phintuka> | 2007-05-17 17:04:20 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-05-17 17:04:20 +0000 |
commit | c2726d287fb2efe7e670b1a28c55912d6890324d (patch) | |
tree | 23e765ad30287b88bb5c668e9a786b4209064585 | |
parent | ce40dc147f71422e001fbb4f3978601942661489 (diff) | |
download | xineliboutput-c2726d287fb2efe7e670b1a28c55912d6890324d.tar.gz xineliboutput-c2726d287fb2efe7e670b1a28c55912d6890324d.tar.bz2 |
Set up unsharp and denoise3d post plugins (patch from Petri Helin)
-rw-r--r-- | frontend_local.c | 7 | ||||
-rw-r--r-- | frontend_svr.c | 9 |
2 files changed, 13 insertions, 3 deletions
diff --git a/frontend_local.c b/frontend_local.c index 1e01a5a4..c3652a06 100644 --- a/frontend_local.c +++ b/frontend_local.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_local.c,v 1.24 2007-04-12 22:53:36 phintuka Exp $ + * $Id: frontend_local.c,v 1.25 2007-05-17 17:04:20 phintuka Exp $ * */ @@ -409,6 +409,11 @@ void cXinelibLocal::Action(void) xc.AutocropOptions()); ConfigurePostprocessing("pp", xc.ffmpeg_pp ? true : false, xc.FfmpegPpOptions()); + ConfigurePostprocessing("unsharp",xc.unsharp ? true : false, + xc.UnsharpOptions()); + ConfigurePostprocessing("denoise3d",xc.denoise3d ? true : false, + xc.Denoise3dOptions()); + #ifdef ENABLE_TEST_POSTPLUGINS ConfigurePostprocessing("headphone", xc.headphone ? true : false, NULL); diff --git a/frontend_svr.c b/frontend_svr.c index a67fa470..eb7a2d0e 100644 --- a/frontend_svr.c +++ b/frontend_svr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_svr.c,v 1.39 2007-03-15 13:29:04 phintuka Exp $ + * $Id: frontend_svr.c,v 1.40 2007-05-17 17:04:20 phintuka Exp $ * */ @@ -1153,6 +1153,11 @@ void cXinelibServer::Handle_Control_CONFIG(int cli) xc.AutocropOptions()); ConfigurePostprocessing("pp", xc.ffmpeg_pp ? true : false, xc.FfmpegPpOptions()); + ConfigurePostprocessing("unsharp",xc.unsharp ? true : false, + xc.UnsharpOptions()); + ConfigurePostprocessing("denoise3d",xc.denoise3d ? true : false, + xc.Denoise3dOptions()); + fd_control[cli].write_cmd("CLEAR\r\n"); #ifdef ENABLE_TEST_POSTPLUGINS @@ -1708,7 +1713,7 @@ void cXinelibServer::Handle_ClientConnected(int fd) cXinelibDevice::Instance().ForcePrimaryDevice(true); } -void cXinelibServer::Handle_Discovery_Broadcast() +void cXinelibServer::Handle_Discovery_Broadcast(void) { if(!xc.remote_usebcast) { LOGDBG("BROADCASTS disabled in configuration"); |