Thread: mplayer vdpau
View Single Post
Old 11-26-08, 05:59 PM   #167
MythTV developer
Join Date: Mar 2006
Posts: 413
Default Re: mplayer vdpau

Originally Posted by scowl View Post
Of course this code makes rigid mathematical assumptions on what the correct values of the flags to XvMCPutSurface are (i ^ 3???) but at least it isn't "bloated" by defining them explicitly with screen-wasting hogs like "XVMC_TOP_FIELD" that might tell you what it's actually doing.
i ^ 3 in C, ^ XOR.. It's a very fast trick to calculate a modulus of 4
jyavenard is offline   Reply With Quote