20 Commits

Author SHA1 Message Date
Kristian Vos
32f168b6d8 Split debayer fragment between packed and unpacked, fixing preview for unpacked 10bit bayer formats 2024-07-01 15:06:58 +00:00
Martijn Braam
9d189b88b4 Support rendering YUV formatted frames 2023-11-26 14:19:29 +01:00
Martijn Braam
a6de61f475 Implement whitebalance 2023-08-16 14:45:57 +02:00
Martijn Braam
d13cdd5dcb Add color correction to the gles shader 2023-07-27 00:54:33 +02:00
Martijn Braam
e9681e1eea Use calibration for preview 2023-07-23 16:29:59 +02:00
Martijn Braam
6e3f592b08 Fix shader syntax error 2023-07-22 17:55:47 +02:00
Martijn Braam
128a3696c4 Add a switch between SRGB and linear colors in the debayer shader 2023-07-22 16:29:23 +02:00
Yassine Oudjana
81859e54e7 Crop out padding on preview processing (MR 13) 2022-06-21 17:31:21 +02:00
Yassine Oudjana
212e75ed3c Add debayering support for all bayer CFAs 2022-01-31 16:58:58 +04:00
Yassine Oudjana
c16dbf6810 Add support for BGGR10P debayering 2022-01-31 16:55:41 +04:00
Benjamin Schaaf
772db36877 Make clang-format more aggressive
clang-format always manages to mix spaces into tab-based indentation.
Since we already require an exact tab-width of 8 it makes more sense to
use spaces.
2021-11-13 00:06:11 +11:00
Benjamin Schaaf
a92104e27c Add clang-format as part of CI 2021-11-12 21:47:34 +11:00
Martijn Braam
8e2c11d5e4 Disable matrices in preview
For some reason it looks work with the matrices, skipped for now
2021-06-13 21:43:41 +02:00
Martijn Braam
7a3e470b29 Reverse the matrix and srgb conversion for the preview
The sRGB curve should be applied after the color matrices
2021-06-13 18:22:24 +02:00
Benjamin Schaaf
055ff6e266 Fix preview color 2021-05-04 23:40:45 +10:00
Benjamin Schaaf
1bd975698c Average green samples for debayering
Gives a slightly cleaner image
2021-04-26 19:07:33 +10:00
Benjamin Schaaf
91817b167a Reorganization, replacing CPU debayering entirely 2021-04-18 23:13:56 +10:00
Benjamin Schaaf
337526e9b9 It works! 2021-04-15 23:14:20 +10:00
Benjamin Schaaf
aa8b2409d9 Second pass at OpenGL debayering 2021-04-10 22:39:55 +10:00
Benjamin Schaaf
1ffaba5f7e First pass at OpenGL debayering 2021-04-09 22:57:14 +10:00