Commit Graph

21 Commits

Author SHA1 Message Date
Martijn Braam
541dd2f9c3 Add the other three YUV formats to the shader 2024-12-24 22:39:05 +01:00
Martijn Braam
8fbea82b2b Rewrite YUV processing pipeline.
Use a 4-channel texture instead for packed YUV data so
every pixel in the texture has all the 4:2:2 color data
available.
2024-12-23 17:29:46 +01:00
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
Kristian Vos
cd3266466e Improve readability of shader selecting based on pixel format, add more bayer formats 2024-06-08 16:10:38 +00:00
Martijn Braam
9d189b88b4 Support rendering YUV formatted frames 2023-11-26 14:19:29 +01:00
Martijn Braam
d13cdd5dcb Add color correction to the gles shader 2023-07-27 00:54:33 +02:00
Martijn Braam
10103a2834 Better color pipeline 2023-07-25 16:03:51 +02:00
Martijn Braam
7941becb17 Use more colorscience from millipixels 2023-07-25 13:28:42 +02:00
Martijn Braam
e9681e1eea Use calibration for preview 2023-07-23 16:29:59 +02:00
Martijn Braam
9a685eb839 Use xfer function from libmegapixels instead of v4l 2023-07-22 16:41:38 +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
Martijn Braam
be5197d050 Fix CFA define 2023-07-12 15:49:07 +02:00
Martijn Braam
e3dce3bccc gles2_debayer cleanup 2023-07-12 15:06:06 +02:00
Martijn Braam
3ee314a68d Add libmegapixels 2023-07-11 23:43:23 +02:00
Yassine Oudjana
81859e54e7 Crop out padding on preview processing (MR 13) 2022-06-21 17:31:21 +02:00
Yassine Oudjana
f107a2ff3f Use mp_pixel_format_width_to_bytes to get row length (MR 13) 2022-06-21 17:31:20 +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
Benjamin Schaaf
91817b167a Reorganization, replacing CPU debayering entirely 2021-04-18 23:13:56 +10:00