YUV Pixel Formats

YUV formats fall into two distinct groups, the packed formats where Y, U (Cb) and V (Cr) samples are packed together into macropixels which are stored in a single array, and the planar formats where each component is stored as a separate array, the final image is a fusing of the three separate planes.

In the diagrams below, the numerical suffix attached to each Y, U or V sample indicates the sampling position across the image line, so, for example, V0 indicates the leftmost V sample and Yn indicates the Y sample at the (n+1)th pixel from the left.

Subsampling intervals in the horizontal and vertical directions may merit some explanation. The horizontal subsampling interval describes how frequently across a line a sample of that component is taken while the vertical interval describes on which lines samples are taken. For example, UYVY format has a horizontal subsampling period of 2 for both the U and V components indicating that U and V samples are taken for every second pixel across a line. Their vertical subsampling period is 1 indicating that U and V samples are taken on each line of the image.

For YVU9, though, the vertical subsampling interval is 4. This indicates that U and V samples are only taken on every fourth line of the original image. Since the horizontal sampling period is also 4, a single U and a single V sample are taken for each square block of 16 image pixels.

Also, if you are interested in YCrCb to RGB conversion, you may find this page helpful.

Packed YUV Formats

LabelFOURCC in HexBits per pixelDescription
AYUV0x5655594132Combined YUV and alpha
CLJR0x524A4C438Cirrus Logic format with 4 pixels packed into a u_int32. A form of YUV 4:1:1 with less than 8 bits per Y, U, and V sample.
CYUV0x7675796316Essentially a copy of UYVY except that the sense of the height is reversed – the image is upside down with respect to the UYVY version.
GREY
(Y800)
0x594552478Apparently a duplicate of Y800 (and also, presumably, “Y8 “)
HDYC
(UYVY)
0x4359444816YUV 4:2:2 (Y sample at every pixel, U, and V sampled at every second pixel horizontally on each line). A macro pixel contains 2 pixels in 1 u_int32. This is a duplicate of UYVY except that the color components use the BT709 color space (as used in HD video).
IRAW0x57615349?Intel uncompressed YUV. I have no information on this format – can you help?
IUYV
(UYVY)
0x5659554916Interlaced version of UYVY (line order 0, 2, 4,….,1, 3, 5….) registered by Silviu Brinzei of LEAD Technologies.
IY410x3155594912Interlaced version of Y41P (line order 0, 2, 4,….,1, 3, 5….) registered by Silviu Brinzei of LEAD Technologies.
IYU10x315559491212 bit format used in mode 2 of the IEEE 1394 Digital Camera 1.04 spec. This is equivalent to Y411
IYU20x325559492424 bit format used in mode 0 of the IEEE 1394 Digital Camera 1.04 spec
UYNV
(UYVY)
0x564E595516A direct copy of UYVY registered by NVidia to work around problems in some old codecs which did not like hardware that offered more than 2 UYVY surfaces.
UYVP0x5056595524?YCbCr 4:2:2 extended precision 10-bits per component in U0Y0V0Y1 order. Registered by Rich Ehlers of Evans & Sutherland.
UYVY0x5956595516YUV 4:2:2 (Y sample at every pixel, U and V sampled at every second pixel horizontally on each line). A macro pixel contains 2 pixels in 1 u_int32.
V2100x303132563210-bit 4:2:2 YCrCb equivalent to the Quicktime format of the same name.
V4220x3232345616I am told that this is an upside-down version of UYVY.
V6550x3535365616?16 bit YUV 4:2:2 format registered by Vitec Multimedia. I have no information on the component ordering or packing.
VYUY0x59555956?ATI Packed YUV Data (format unknown)
Y160x203631591616-bit uncompressed greyscale image.
Y2110x313132598Packed YUV format with Y sampled at every second pixel across each line and U and V sampled at every fourth pixel.
Y4110x3131345912YUV 4:1:1 with a packed, 6 byte/4 pixel macroblock structure.
Y41P0x5031345912YUV 4:1:1 (Y sample at every pixel, U and V sampled at every fourth pixel horizontally on each line). A macropixel contains 8 pixels in 3 u_int32s.
Y41T0x5431345912Format as for Y41P but the lsb of each Y component is used to signal pixel transparency.
Y422
(UYVY)
0x3232345916Direct copy of UYVY as used by ADS Technologies Pyro WebCam firewire camera.
Y42T0x5432345916Format as for UYVY but the LSB of each Y component is used to signal pixel transparency.
Y8
(Y800)
0x202038598Duplicate of Y800 as far as I can see.
Y8000x303038598Simple, single Y plane for monochrome images.
YUNV
(YUY2)
0x564E555916A direct copy of YUY2 was registered by NVidia to work around problems in some old codecs which did not like hardware that offered more than 2 YUY2 surfaces.
YUVP0x5056555924?YCbCr 4:2:2 extended precision 10-bits per component in Y0U0Y1V0 order. Registered by Rich Ehlers of Evans & Sutherland.
YUY20x3259555916YUV 4:2:2 as for UYVY but with different component ordering within the u_int32 macropixel.
YUYV
(YUY2)
0x5659555916Duplicate of YUY2
YVYU0x5559565916YUV 4:2:2 as for UYVY but with different component ordering within the u_int32 macropixel.

Planar YUV Formats

LabelFOURCC in HexBits per pixelDescription
CLPL0x4C504C4312Format similar to YV12 but including a level of indirection.
CXY10x3159584312Planar YUV 4:1:1 format registered by Conexant.
CXY20x3259584216Planar YUV 4:2:2 format registered by Conexant.
I4200x30323449128 bit Y plane followed by 8 bit 2×2 subsampled U and V planes.
IF090x393046499.5As YVU9 but an additional 4×4 subsampled plane is appended containing delta information relative to the last frame. (Bpp is reported as 9)
IMC10x31434D4912As YV12 except for the U and V planes each have the same stride as the Y plane
IMC20x32434D4912Similar to IMC1 except that the U and V lines are interleaved at half stride boundaries
IMC3
(IMC1)
0x33434D4912As IMC1 except that U and V are swapped
IMC4
(IMC2)
0x34434D4912As IMC2 except that U and V are swapped
IYUV
(I420)
0x5655594912Duplicate FOURCC, identical to I420.
NV120x3231564E128-bit Y plane followed by an interleaved U/V plane with 2×2 subsampling
NV210x3132564E12As NV12 with U and V reversed in the interleaved plane
Y41B0x4231345912?Weitek format listed as “YUV 4:1:1 planar”. I have no other information on this format.
Y42B0x4232345916?Weitek format listed as “YUV 4:2:2 planar”. I have no other information on this format.
Y8
(Y800)
0x202038598Duplicate of Y800 as far as I can see.
Y8000x303038598Simple, single Y plane for monochrome images.
YUV90x395655599?Registered by Intel., this is the format used internally by Indeo video code
YV120x32315659128 bit Y plane followed by 8 bit 2×2 subsampled V and U planes.
YV160x36315659168 bit Y plane followed by 8 bit 2×1 subsampled V and U planes.
YVU90x3955565998 bit Y plane followed by 8 bit 4×4 subsampled V and U planes. Registered by Intel.

9 thoughts on “YUV Pixel Formats”

  1. xhywletl

  2. Thanks for the several tips discussed on this web site. I have seen that many insurance companies offer customers generous savings if they choose to insure more and more cars together. A significant volume of households have several autos these days, in particular those with more mature teenage youngsters still residing at home, as well as savings upon policies may soon increase. So it is good to look for a good deal.

  3. w653wyk

  4. I want to share a message that has been spreading all over the internet that concerns the times we are living in. Whether you believe in God or not, this is a must read message!

    We can see throughout time how we have been slowly conditioned to come to this point where we are on the verge of a cashless society. Would it surprise you to know that the Bible foretold of this event? Don’t believe me? This may be the most imporant message you will read in these times…please do not ignore this!

    This messsage reveals what the Mark of the Beast is, and the meaning behind counting a number people have been pondering for centuries, 666. This message also shares why Barack Obama is the Antichrist. This is truly a message from God!

    In the Revelation of Jesus Christ given to the apostle John, we read:

    “He (the false prophet who deceives many by his miracles) causes all, both small and great, rich and poor, free and slave, to receive a mark on their right hand or on their foreheads, and that no one may buy or sell except one who has the mark or the name of the beast, or the number of his name.

    Here is wisdom. Let him who has understanding calculate the number of the beast, for it is the number of a man: His number is 666” (Revelation 13:16-18 NKJV).

    Referring to the last generation, this could only be speaking of a cashless society. Why? Revelation 13:17 tells us that we cannot buy or sell unless we receive the mark of the beast. If physical money was still in use, we could buy or sell with one another without receiving the mark. This would contradict scripture that says we must have the mark to buy or sell. So, it deduces itself to this conclusion.

    These verses could not be referring to something spiritual as scripture references two physical locations (our right-hand or forehead) stating the mark will be on one “OR” the other. It once again deduces itself to this conclusion.

    Also, how could you determine who truly has a spiritual mark so that they may buy or sell? And, as you will read further in this article, to have the mark of the beast is the same to have the name of the beast, or the number of its name. You will begin to see even more clearly why this mark cannot be something purely spiritual.

    Here is where it really starts to come together. It is shocking how accurate the Bible is concerning the RFID microchip. These are notes from a man named Carl Sanders who worked with a team of engineers to help develop this microchip in the late 1960’s.

    “Carl Sanders sat in seventeen New World Order meetings with heads-of-state officials such as Henry Kissinger and Bob Gates of the C.I.A. to discuss plans on how to bring about a one-world system. The government commissioned Carl Sanders to design a microchip for identifying and controlling the peoples of the world—a microchip that could be inserted under the skin with a hypodermic needle (a quick, convenient method that would be gradually accepted by society).

    Carl Sanders, with a team of engineers behind him, with U.S. grant monies supplied by tax dollars, took on this project and designed a microchip that is powered by a lithium battery, rechargeable through the temperature changes in our skin. Without the knowledge of the Bible (Brother Sanders was not a Christian at the time), these engineers spent one-and-a-half-million dollars doing research on the best and most convenient place to have the microchip inserted.

    Guess what? These researchers found that the forehead and the back of the hand (the two places Revelation says the mark will go) are not just the most convenient places, but are also the only viable places for rapid, consistent temperature changes in the skin to recharge the lithium battery. The microchip is approximately seven millimeters in length, .75 millimeters in diameter, about the size of a grain of rice. It is capable of storing pages upon pages of information about you. All your general history, work history, crime record, health history, and financial data can be stored on this chip.

    Brother Sanders believes that this microchip, which he regretfully helped design, is the “mark” spoken about in Revelation 13:16-18. The original Greek word for “mark” is “charagma,” which means a “scratch or etching.” It is also interesting to note that the number 666 is actually a word in the original Greek. The word is “chi xi stigma,” with the last part, “stigma,” also meaning “to stick or prick.” Carl believes this refers to a hypodermic needle (see photo).

    Mr. Sanders asked a Boston Medical Center doctor what would happen if the lithium contained within the RFID microchip leaked into the body. The doctor responded that if the microchip broke inside a human body, the lithium would cause a severe and painful wound filled with pus. This is what the book of Revelation says:

    “And the first (angel) went, and poured out his vial on the earth; and there fell a noisome and grievous sore on the men which had the mark of the beast, and on them which worshipped his image” (Revelation 16:2).

    THE HIDDEN MEANING BEHIND THE NUMBER 666 REVEALED!

    What I first want to mention, before I share what the Holy Spirit has revealed to me concerning the number of the beast, is that God confirms in threes. We can see this throughout scripture:

    “For there are three that bear witness in heaven: the Father, the Word, and the Holy Spirit; and these three are one” (1 John 5:7 NKJV).

    “and that He was buried, and that He rose again the third day according to the Scriptures” (1 Corinthians 15:4 NKJV).

    “…Holy, holy, holy, Lord God Almighty, Who was and is and is to come!” (Revelation 4:8 NKJV).

    There are many more examples, but I thought I would just share three of them to make the point.

    Examining Revelation 13:16,17,18, the first group of three I would like to point out is that the mark of the beast is described in three separate verses, 16, 17 and 18.

    The next three I see is in verse 16, “He causes all…” is followed by three contrasting categories of people,

    1 – “both small and great,
    2 – rich and poor,
    3 – free and slave…”.

    Then unto verse 17, it opens with, “and that no one may buy or sell except one who has…”, followed by three explanations of what one must have to buy or sell,

    1 – “…the mark
    2 – or the name of the beast,
    3 – or the number of his name”.

    Now unto verse 18, we read “Let him who has understanding calculate…”, which is followed by,

    1 – “the number of the beast,
    2 – for it is the number of a man:
    3 – His number is 666”.

    The last three I see is the number “6” being used three times in a row. The reason I’m making this point about God confirming in three is because it is the key to unlocking how to calculate the number 666.

    Throughout the centuries there have been people trying to calculate numbers based on titles and names that come up to the number 666 to identify one person, the Antichrist; but from Revelation 13:18, I do not see where God is telling us to count up to 666, but rather to count the number of the beast. This number is identified as 666. So the verse is telling us to count the number 666.

    What does it mean to count? It means to add up. So how could we add up 666? Remember my previous point about God confirming in threes is key to unlocking the number 666. So logically, what would be the best way to count the number 666? To count it equally by using the rule of three based off the number.

    We cannot count it equally as 600+60+6, this would also bring us back to the start.

    We cannot count it as 600+600+600, or 60+60+60 because there are no zeroes in between or at the end of 666.

    The only logical option is 6+6+6=18.

    What is interesting is that the verse that reveals for us to count the number itself is verse 18 (there a total of 18 verses in Revelation Chapter 13).

    Another interesting point is the only two other combinations (making a total of three possible combinations) for placing a “+” symbol in between 666 are:

    66+6=72 and 6+66=72.

    Add both 72’s together and you get 144.

    Why the number 144 is worth our attention is because the verse following Revelation 13:18 is the first time in the Bible where the 144,000 are being described in detail:

    “Then I looked, and behold, a Lamb standing on Mount Zion, and with Him one hundred and forty-four thousand, having His Father’s name written on their foreheads…” (Revelation 14:1).

    Now if you add up all three numbers from counting 666 by moving the “+” symbol around, it would be 72+72+18=162. What is compelling about the number 162, is, if you divide 144,000 by 162, you get 888. The name of Jesus in Greek gematria adds up to 888. The New Testament was originally written in the Greek language. Revelation 14:1 not only mentions the 144,000, but also the Lamb who is Jesus.

    Now what is interesting about the number for Jesus, 888, is that if you apply the same formula that was used to count 666, you get 8+8+8=24. Why the number 24? Revelation chapter 4 tells us there are 24 elders seated around the throne of God. This is the same throne where Jesus sits.

    Now if you take:

    8+8+8=24

    8+88=96

    88+8=96

    you get 24+96+96=216.

    Take 144,000 divided by 216 and you get 666.

    Remember that this was the same exact formula we used to count the number 666 that ultimately brought forth the number 888.

    Here is a quick recap to demonstrate how this formula confirms itself as being the true way to count 666:

    1: 6+6+6=18 > 66+6=72 > 6+66=72 > 18+72+72=162

    2: 144,000 divided by 162=888

    3: 8+8+8=24 > 88+8=96 > 8+88=96 > 24+96+96=216

    4: 144,000 divided by 216=666

    1: 6+6+6=18 > 66+6=72…

    As you can see, it is perpetual. And remember that we consistently used a formula that worked in threes being the number that God uses for confirmation.

    Here is another mathematical confirmation: 144,000 divided by 6, divided by 6, divided by 6 (6,6,6) equals 666.

    So what could this mean? Well we know in this world we are identified by numbers in various forms. From our birth certificate to social security, as well as our drivers license; being identified based on a system of ruler ship. So it is possible that this RFID microchip will contain a new identification that has a total of 18 characters (6+6+6).

    “here the wisdom is, the one having the mind let him calculate the number of the wild beast, number for “of human” it is, and the number of it 666″ (Revelation 13:1, Greek Translation).

    The Greek word “anthrōpos” being used in verse 18 where it says “of human” is the Greek strongs concordance G444. The first two definitions of the word are “a human being, whether male or female”, and, “generically, to include all human individuals”. Could the number of the beast apply to all mankind?

    In the Greek (the New Testament was originally written in the Greek language), and other translations, you will notice the beast is described as an “it”, instead of “him”. The reason I’m making this point is because when a translation says “His number is 666”, this would imply a singular person, the Antichrist. But by saying “the number of it 666”, implies that it is of the beast system as a whole.

    We can know the number of the beast cannot be to identify products (like a new barcode) to buy or sell because scripture says we cannot buy or sell without the number of the beast. What am I getting at? There will be instances where you could buy something someone made themselves and it wouldn’t have a store branded identification on it. But for this number to be in our chips, that is where it must be to conclude ultimately that we cannot buy or sell without having the number of the beast. As previously mentioned in Revelation 13:18, the number of the beast (6+6+6=18) is a “human number”, definition “generically, to include all human individuals”.

    Truly a great division is taking place between good and evil—both spiritually and physically (riots, unrest, politics). If you take the current year 2020 and divide it by the number 666 (known for its satanic implications) you will get the number 30330. This number 30330 happens to be the number used to vote for Joe Biden and Kamala Harris. Freaky? And one thing is certain, 2020 is truly being divided by Satan. He is the master deceiver and spreader of chaos. Jesus calls him the father of lies.

    So I looked up this number 30330 concerning Joe Biden, and I found this information:

    If you send a text to that number (at that time), you would get a response asking to support Joe’s campaign to take down Donald Trump, with one part in caps saying “CHIP IN >>” pointing to a link to go and donate.

    “CHIP IN”? Obama has used this phrase in the past on his twitter and people believe it is a subliminal message to receive the mark of the beast, that is to say the implantable RFID microCHIP that will go IN our body.

    Go to: https://2ruth.org to see all the proof!

    Is your name written in the Lamb’s book of life? Jesus says that we must be born again to enter the kingdom of God in the Gospel of John chapter 3.

    “Then a third angel followed them, saying with a loud voice, “If anyone worships the beast and his image, and receives his mark on his forehead or on his hand, he himself shall also drink of the wine of the wrath of God, which is poured out full strength into the cup of His indignation. He shall be tormented with fire and brimstone in the presence of the holy angels and in the presence of the Lamb. And the smoke of their torment ascends forever and ever; and they have no rest day or night, who worship the beast and his image, and whoever receives the mark of his name” (Revelation 14:9-11).

    BARACK OBAMA IS THE ANTICHRIST:

    In the Islamic religion they have man called the Mahdi who is known as their messiah of whom they are waiting to take the stage. There are many testimonies from people online who believe this man will be Barack Obama who is to be the biblical Antichrist based off dreams they have received. I myself have had strange dreams about him like no other person. So much so that I decided to share this information.

    He came on stage claiming to be a Christian with no affiliation to the Muslim faith…

    “In our lives, Michelle and I have been strengthened by our Christian faith. But there have been times where my faith has been questioned — by people who don’t know me — or they’ve said that I adhere to a different religion, as if that were somehow a bad thing,” – Barack Obama

    …but was later revealed by his own family members that he indeed is a devout Muslim.

    So what’s in the name? The meaning of someones name can say a lot about a person. God throughout history has given names to people that have a specific meaning tied to their lives. How about the name Barack Obama? Let us take a look at what may be hiding beneath the surface…

    “And He (Jesus) said to them (His disciples), ‘I saw Satan fall like lightning from heaven'” (Luke 10:18).

    In the Hebrew language we can uncover the meaning behind the name Barack Obama.

    Barack, also transliterated as Baraq, in Hebrew is: lightning

    baraq – Biblical definition:

    From Strongs H1299; lightning; by analogy a gleam; concretely a flashing sword: – bright, glitter (-ing, sword), lightning. (Strongs Hebrew word H1300 baraq baw-rawk’)

    Barak ‘O’bamah, The use of bamah is used to refer to the “heights” of Heaven.

    bamah – Biblical definition:

    From an unused root (meaning to be high); an elevation: – height, high place, wave. (Strongs Hebrew word H1116 bamah baw-maw’)

    The day following the election of Barack Obama (11/04/08), the winning pick 3 lotto numbers in Illinois (Obama’s home state) for 11/5/08 were 666.

    Obama was a U.S. senator for Illinois, and his zip code was 60606.

    The names of both of Obama’s daughters are Malia and Natasha. If we were to write those names backwards we would get “ailam ahsatan”. Now if we remove the letters that spell “Alah” (Allah being the God of Islam), we get “I am Satan”. Coincidence? I don’t think so.

    These are just a few of many evidences why Barack Obama is the Antichrist. You can see many more in my article on the website above, as well as read about the dreams I’ve had concerning this man. I’m more than convinced that God has shown me that he is without a doubt the Antichrist, and we will see him rise to power in the not so dinstant future.

    Jesus stands alone among the other religions who say to rightly weigh the scales of good and evil, and to make sure you have done more good than bad in this life. Is this how we conduct ourselves justly in a court of law? Bearing the image of God, is this how we project this image into our reality?

    Our good works cannot save us. If we step before a judge, being guilty of a crime, the judge will not judge us by the good that we have done, but rather the crimes we have committed. If we as fallen humanity, created in God’s image, pose this type of justice, how much more a perfect, righteous, and Holy God?

    God has brought down His moral law’s through the 10 commandments given to Moses at Mt. Sinai. These laws were not given so we may be justified, rather that we may see the need for a savior. They are the mirror of God’s character of what He has put in each and every one of us, with our conscious bearing witness that we know that it is wrong to steal, lie, dishonor our parents, and so forth.

    We can try and follow the moral laws of the 10 commandments, but we will never catch up to them to be justified before a Holy God. That same word of the law given to Moses became flesh over 2000 years ago in the body of Jesus Christ. He came to be our justification by fulfilling the law, living a sinless perfect life that only God could fulfill; even bringing the law to it’s truest light by stating, “You have heard that it was said to those of old, ‘You shall not commit adultery.’ But I say to you that whoever looks at a woman to lust for her has already committed adultery with her in his heart” (Matthew 5:27-28).

    The gap between us and the law can never be reconciled by our own merit, but the arm of Jesus is stretched out by the grace and mercy of God. And if we are to grab on, through faith in Him, He will pull us up being the one to justify us. As in the court of law, if someone steps in and pays our fine, even though we are guilty, the judge can do what is legal and just and let us go free. That is what Jesus did almost 2000 years ago on the cross. It was a legal transaction being fulfilled in the spiritual realm by the shedding of His blood.

    Because God is Holy and just, the wrath that we deserve could not go unnoticed. Through the perfect righteousness and justice of God’s character, it must be dealt with, it must be quenched, it must be satisfied.

    For God takes no pleasure in the death of the wicked (Ezekiel 18:23). This is why in Isaiah chapter 53, where it speaks of the coming Messiah and His soul being a sacrifice for our sins, why it says it pleased God to crush His only begotten Son.

    This is because the wrath that we deserve was justified by being poured out upon His Son. If that wrath was poured out on us, we would all die and go to hell. God created a way of escape by pouring it out on His Son whose soul could not be left in Hades, but was raised to life on the third day and seated at the right hand of God in power.

    So now when we put on the Lord Jesus Christ (Romans 13:14), God no longer sees the person who deserves His wrath, but rather the glorious image of His perfect Son dwelling in us, justifying us as if we received the wrath we deserve, making a way of escape from the curse of death.

    Now what we must do is repent and put our trust and faith in the savior, confessing and forsaking our sins. This is not just a head knowledge of believing in Jesus, but rather receiving His words, taking them to heart, so that we may truly be transformed into the image of God. Where we no longer live to practice sin, but rather turn from our sins and practice righteousness through faith in Him.

    Jesus answered, “Most assuredly, I say to you, unless one is born of water and the Spirit, he cannot enter the kingdom of God. That which is born of the flesh is flesh, and that which is born of the Spirit is spirit. Do not marvel that I said to you, ‘You must be born again'” (John 3:5-7).

    Come before the Lord with a contrite spirit, humble yourself, ask Him for His forgiveness, to receive the free gift of His salvation, to receive His Holy Spirit, so that you may be transformed into a new creature, into a child of the living God.

    There is a reason why the words of Jesus have been translated in to over 2000 languages, and nothing comes remotely close (the Quran just over 100), because there is a God in heaven who desires to have a relationship with you, to know Him through His word, as that is how we personally get to know anybody. There is a reason why it is the year 2022, because Jesus came to earth about 2000 years ago fulfilling major prophecy causing a divide in our timeline.

    Jesus loves you! Seek Him while He may be found! We must repent and turn from practicing sin…for if we are not following Jesus, we are following the devil. There is no neatural ground. We are either living in the lie, or the truth. God bless you!

Leave a Comment