thumb|right|200px|YPbPr is the [[analog video signal carried by component video cable in consumer electronics. The green cable carries Y, the blue cable carries P<sub>B</sub> and the red cable carries P<sub>R</sub>.]]

YPbPr or <math>Y'P'bP'r</math>, also written as , is a color space used in video electronics, in particular in reference to component video cables. Like YC<sub>B</sub>C<sub>R</sub>, it is based on gamma corrected RGB primaries; the two are numerically equivalent but YP<sub>B</sub>P<sub>R</sub> is designed for use in analog systems while YC<sub>B</sub>C<sub>R</sub> is intended for digital video.

YP<sub>B</sub>P<sub>R</sub> is commonly referred to as component video by manufacturers; however, there are many types of component video, most of which are some form of RGB. Some video cards come with video-in video-out (VIVO) ports for connecting to component video devices.

History

When color signals were first added to the NTSC-encoded black and white video standard, the hue was represented by a phase shift of a color reference sub-carrier. The "P" for phase information or phase shift has carried through to represent color information even in the case where there is no longer a phase shift used to represent hue. Thus, the YP<sub>B</sub>P<sub>R</sub> nomenclature derives from engineering metrics developed for the NTSC color standard.

Usage

thumb|right|200px|Female [[RCA connectors used to output YPbPr component video from a set-top-box, DVD player or similar device. Female connections in this configuration are also used for YPbPr inputs on display devices such as TVs.]]

The same cables can be used for and composite video. This means that the yellow, red, and white RCA connector cables commonly packaged with most audio/visual equipment can be used in place of the YP<sub>B</sub>P<sub>R</sub> connectors, provided the end user is careful to connect each cable to corresponding components at both ends. Also, many TVs use the green connection either for luma only or for composite video input. Since is backward compatible with the luminance portion of composite video even with just component video decoding one can still use composite video via this input, but only luma information will be displayed, along with the chroma dots. The same goes the other way around so long as 480i or 576i is used.

Signals using offer enough separation that no color multiplexing is needed, so the quality of the extracted image is nearly identical to the pre-encoded signal. S-Video and composite video mix the signals together by means of electronic multiplexing. Signal degradation is typical for composite video, as most display systems are unable to completely separate the signals, though HDTVs tend to perform such separation better than most CRT units (see dot crawl). S-Video can mitigate some of these potential issues, as its luma is transmitted separately from chroma.

Among consumer analog interfaces, only YP<sub>B</sub>P<sub>R</sub> and analog RGB component video are capable of carrying non-interlaced video and resolutions higher than 480i or 576i, up to 1080p.

Technical details

<math>Y'P'bP'r</math> can be derived from a gamma corrected <math>R'G'B'</math> signal with a typical range of 0-700 mV. The first step is converting to <math>Y'</math>, <math>R'-Y'</math> and <math>B'-Y'</math>.

<math>Y'</math>carries luma (brightness or luminance) and synchronization (sync) information. Luma is defined as:

  • <math>Y' = 0.212 R + 0.701 G + 0.087 B</math> for Hi-Vision;
  • <math>Y' = 0.2126 R + 0.7152 G + 0.0722 B</math> for HDTV;
  • <math>Y' = 0.299 R + 0.587 G + 0.114 B</math> for SDTV;

<math>R'-Y'</math>carries the difference between red and luma, defined as:

  • <math>R'-Y' = 0.7874 R' - 0.7152 G' - 0.0722 B'</math>for Hi-Vision and HDTV;
  • <math>R'-Y' = 0.701 R' - 0.587 G' - 0.114 B'</math> for SDTV.

<math>B'-Y'</math>carries the difference between blue and luma, defined as:

  • <math>B'-Y' = - 0.2126 R' - 0.7152 G' + 0.9278 B'</math> for Hi-Vision and HDTV;
  • <math>B'-Y' = - 0.299 R' - 0.587 G' + 0.886 B'</math> for SDTV.

These <math>R'-Y'</math> and <math>B'-Y'</math> values are then scaled to obtain normalized <math>P'r</math> and <math>P'b</math> values in the range of +/- 350 or 0-700 mV:

The following table lists example YP<sub>B</sub>P<sub>R</sub> values for black, 50% gray and full intensity colors, as defined in ITU-R Recommendation BT.1729:

{| class="wikitable sortable"

|+Example YP<sub>B</sub>P<sub>R</sub> signal values for SD and HDTV systems