Some Cava optimization
Compare changes
Files
2+ 50
− 47
@@ -50,7 +38,7 @@ fn descale<row : usize, col : usize>(input : f32[CHAN, row, col]) -> u8[CHAN, ro
@@ -102,13 +90,13 @@ fn demosaic<row : usize, col : usize>(input : f32[CHAN, row, col]) -> f32[CHAN,
@@ -129,7 +117,7 @@ fn denoise<row : usize, col : usize>(input : f32[CHAN, row, col]) -> f32[CHAN, r
@@ -152,11 +140,11 @@ fn gamut<row : usize, col : usize, num_ctrl_pts : usize>(
@@ -164,8 +152,8 @@ fn gamut<row : usize, col : usize, num_ctrl_pts : usize>(
@@ -184,7 +172,7 @@ fn gamut<row : usize, col : usize, num_ctrl_pts : usize>(
@@ -198,6 +186,20 @@ fn tone_map<row : usize, col:usize>
@@ -207,11 +209,12 @@ fn cava<r, c, num_ctrl_pts : usize>(