Created
August 31, 2023 17:31
-
-
Save roxlu/40fa767b35209e28b8ace835e434c113 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Transfer characteristics (bits 5 downto 4 of Byte 2) is set to HLG (1h). | |
// Other values set are only used for testing purposes and do not conform to any spec! | |
unsigned char cFrameDataVpid[] = | |
{ | |
0xAA, 0xD0, 0x00, 0x00, | |
}; | |
std::vector<unsigned char> FrameDataVpid(cFrameDataVpid, | |
&cFrameDataVpid[sizeof(cFrameDataVpid)/sizeof(cFrameDataVpid[0])]); | |
// Create a HDR VPID packet | |
DtMxHdrVpid Vpid; | |
Vpid.SetVpid(FrameDataVpid); | |
// Add VPID packet to frame. Insert in luminance stream of the VANC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment