 As long as care is taken to extract U and V values from the proper locations, both Y′UV420p and Y′V12 can be processed using the same algorithm.As with most Y′UV formats, there are as many Y′ values as there are pixels.Where X equals the height multiplied by the width, the first X indices in the array are Y′ values that correspond to each individual pixel.