Based entirely off existing xbyak x86 implementation and available tests. Still needs a lot of optimization and testing on non-Windows platforms. So far passes all tests and boots at least some games on Windows.
And pull out all the xenia specific build junk into third_party/ffmpeg-xenia rather than keeping it checked in the submodule