pull/32112/head
Comma Device 1 year ago
parent ce210c3b48
commit 2b9be74bc6
  1. 2
      system/camerad/cameras/real_debayer.cl

@ -1,6 +1,6 @@
#define UV_WIDTH RGB_WIDTH / 2
#define UV_HEIGHT RGB_HEIGHT / 2
#define HDR_OFFSET 12
#define HDR_OFFSET 68
#define RGB_TO_Y(r, g, b) ((((mul24(b, 13) + mul24(g, 65) + mul24(r, 33)) + 64) >> 7) + 16)
#define RGB_TO_U(r, g, b) ((mul24(b, 56) - mul24(g, 37) - mul24(r, 19) + 0x8080) >> 8)

Loading…
Cancel
Save