Support rendering YUV formatted frames

This commit is contained in:
Martijn Braam
2023-11-24 16:28:25 +01:00
parent 8a3f1a5540
commit 9d189b88b4
10 changed files with 146 additions and 53 deletions

View File

@@ -4,8 +4,12 @@
#include <assert.h>
#include <stdio.h>
#define SHADER_DEBAYER 1
#define SHADER_YUV 2
typedef struct {
int format;
int shader;
float forward_matrix[9];
GLuint frame_buffer;