On Mon, Sep 16, 2013 at 09:29:31PM +0300, Ville Syrjälä wrote:
+struct stereo_mandatory_mode {
- int width, height, freq;
[..]
- unsigned int interlace_flag, layouts;
What's the benefit of separating the two?
Just that we can easily cycle through the layout flags and add a mode per flag without having to clear the interlace bit. Trade 16 bytes against one instruction or so, can do I guess.