From 939e3bf614f21c643fc033ead22bc2d7874e61e0 Mon Sep 17 00:00:00 2001 From: Ilia Sibiryakov Date: Tue, 18 Jul 2017 17:44:26 +0100 Subject: [PATCH] +performance: Allow more CPU for background caching Previous bug with purple stripes in debayer made it so that it worked better with less cores, now that's fixed we can use all the cores. --- src/mlv/frame_caching.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mlv/frame_caching.c b/src/mlv/frame_caching.c index ce87b486..66a8ff42 100644 --- a/src/mlv/frame_caching.c +++ b/src/mlv/frame_caching.c @@ -130,8 +130,8 @@ void get_mlv_raw_frame_debayered( mlvObject_t * video, if (debayer_type) { - /* Debayer AMAZEly - using some of the cores (why this fixes the PHAT pink stripes? ...how would i know) */ - debayerAmaze(output_frame, temp_memory, width, height, getMlvCpuCores(video) / 2 + 1); + /* Debayer AMAZEly - using all cores! */ + debayerAmaze(output_frame, temp_memory, width, height, getMlvCpuCores(video)); } else {