To calculate the bandwidth for YUV422 data format with 8-bit color depth at 30 frames per second with blanking for high definition (HD) resolution frame, you need horizontal and vertical resolution, as well as the blanking intervals.
The HD resolution has a pixel size of 1280 x 720. Assume horizontal blanking is Hblank (for example, 160) and vertical blanking is Vblank (for example, 45).
- The total horizontal pixels (including blanking)
-
Total_H_pixels = 1280 (resolution width) + Hblank = 1280 + 160 = 1440
- The total vertical lines (including blanking)
-
Total_V_lines = 720 (resolution height) + Vblank = 720 + 45 = 765
- The total number of pixels per frame (including blanking)
-
Total_pixels = Total_H_pixels * Total_V_lines = = 1440 * 765 = 1,101,600
- The pixel rate per second (frame rate * total pixels)
-
Pixel_rate = 30 (frames per second) * Total_pixels = 30 * 1,101,600 = 33,048,000
For YUV 4:2:2, you have 2 * 8-bit data for Y and 2 * 8-bit data for each U and V for every pair of adjacent pixels, which means you have 16 bits for Y and 16 bits for U and V, resulting in a total of 32 bits for every pair of adjacent pixels. The effective bit depth per pixel is 16 bits per pixel.
- The bandwidth required (pixel rate * color depth / 8)
-
Bandwidth = Pixel_rate * (16 bits per pixel) / 8 = 66,096,000 bytes per second = 66,096,000/(1024x1024) = 63.034 MB/s