Skip to content

Commit

Permalink
+performance: Allow more CPU for background caching
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ilia3101 authored Jul 18, 2017
1 parent 9b22607 commit 939e3bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mlv/frame_caching.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 939e3bf

Please sign in to comment.