Video library for GR-PEACH
Dependents: Trace_Program2 GR-PEACH_Camera_in_barcode GR-PEACH_LCD_sample GR-PEACH_LCD_4_3inch_sample ... more
r_vdc5_user.h File Reference
VDC5 driver user-defined header. More...
Go to the source code of this file.
Enumerations | |
enum | vdc5_colcnv_rgb_ycbcr_t |
enum | vdc5_colcnv_ycbcr_rgb_t |
Detailed Description
VDC5 driver user-defined header.
- Version:
- 1.00
- Rev:
- 199
- Date:
- 2014-05-23 16:33:52 +0900#
Definition in file r_vdc5_user.h.
Enumeration Type Documentation
GBR to YCbCr conversion
Matrix coefficient (typical value) for SMPTE 293M
- Y = 0.299 * R + 0.587 * G + 0.114 * B
- Cb = -0.169 * R - 0.331 * G + 0.500 * B
- Cr = 0.500 * R - 0.419 * G - 0.081 * B
- Note:
- Coefficient values are represented in 11-bit two's complement integer
- DEFINITION = int(COEF * 256 + 0.5)
Definition at line 58 of file r_vdc5_user.h.
YCbCr to GBR conversion
Matrix coefficient (typical value) for SMPTE 293M
- G = 1.0 * Y - 0.344 * Cb - 0.714 * Cr
- B = 1.0 * Y + 1.772 * Cb + 0.0 * Cr
- R = 1.0 * Y + 0.0 * Cb + 1.402 * Cr
- Note:
- Coefficient values are represented in 11-bit two's complement integer
- DEFINITION = int(COEF * 256 + 0.5)
Definition at line 79 of file r_vdc5_user.h.
Generated on Tue Jul 12 2022 15:08:47 by 1.7.2