We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest. Update Here
Stay in the loop with the latest from Microchip. Update your profile while you are at it. Update Here
Complete your profile to access more resources. Update Here

YCbCr2RGB


Color space conversion is the process of transforming image data from one representation to another—specifically between formats optimized for different applications. The RGB format, common in computer graphics, uses red, green, and blue channels but is less efficient in storage and bandwidth, as all three channels must be handled equally. In contrast, YCbCr separates the luminance (Y) from the chrominance (Cb and Cr) components, aligning with how humans perceive visual information—being more sensitive to brightness than to color detail. This allows efficient compression and sampling techniques (e.g., chroma subsampling like 4:2:2 or 4:4:4), making YCbCr the preferred format in video standards. Converting between these formats enables systems to use the best representation for storage, processing, or display. 


Features and Benefits


  • Supported Conversion Modes :
    • YCbCr 4:4:4 → RGB (no chroma upsampling)
    • YCbCr 4:2:2 → RGB (with chroma upsampling) 
  • Supported Data Bit Widths :
    • Native support for 8, 10, 12, 14, and 16-bit data widths 
  • Video Interface Compatibility : 
    • Works with native video interfaces and AXI4-Stream 
  • Conversion Equations :
    • Floating-point constants are scaled by 2⁸ (i.e., multiplied by 256); outputs are divided by 2¹⁶ (i.e., 65,536) 

Licensing Options


Encrypted RTL free with any Libero license 

Documentation


Title
Color Space Conversion User Guide Download