Compute proper frame size
Sort V4L2 formats by compression and size