forget to mention in the commit that i tried to reference it from jpcsp since most of the codes for mpeg are from earlier version of jpcsp and i tried to compare it to see if something are newly added or updated.