Is your grammar muscle strong enough? Please participate in Twitter's daily workout. It's less sweaty than going to the gym and tastier than the green leafy vegetable bowl - this is the perfect solution in 2018!
The teacher likes to prove, so please track down the work you did! Download handouts with interactive exercises
RGBA is easy to understand. Suppose you have an RGBA 1920 x 1080 pixel image, especially a 4 byte per pixel format. It is about 2 million pixels and the size is about 8 MB. Each pixel is 4 bytes, one of which is assigned to each color channel of R, G, B, A in the sequence. Mixing these four channels creates a color for each pixel (in the case of A, the opacity value is also set), and that is all. The YUV color format has different functions. There are various kinds of YUV format, but this article means this because the NV 12 format shows the best performance in the video processing library. NV12 is a planar format. In other words, a part of the frame contains the "brightness" component of Y that is continuous, and various parts of the frame contain the UV "color" component. For simplicity, you can think of the Y component as the monochrome image of the original frame, and the UV component as the color blended into that monochrome image.
Byte is particularly interesting as 1 byte can represent 256 different combinations. What happens if there are two bytes (please do not forget that the power of 2 is a power of 2 is a power of 8)? Two bytes represent 16 bits (binary number). In other words, it can represent 65,536 combinations (powers of 2 to 16). This is a variety of combinations that can be expressed in 2 bytes. Given a single circuit (usually called a transistor) that handles each digital on / off switch, you can process and interpret a large amount of information with as few as 16 transistors.