What's 0xFF for in cv2.waitKey(1)? : <p>I'm trying understand what 0xFF does under the hood in the following code snippet:</p>

<pre><code>if cv2.waitKey(0) &amp; 0xFF == ord('q'):
    break
</code></pre>

<p>Any ideas?</p>
