Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
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 14:47:53 by
1.7.2
