diff osdep/osdep.h @ 33365:706871635af7

Make mp_get_chroma_shift simpler/more generic and add an argument to get the per-component bit depth. Use this to checking more properly for supported formats in gl and gl2 vos (only 8 and 16 bit are supported, 9 and 10 are not).
author reimar
date Tue, 10 May 2011 17:51:39 +0000
parents 24c1cedb1de2
children 5c8339df2496
line wrap: on
line diff