some media patches and custom ifdef defines for ease of use, reference, compatability with Cyanogen, easier debugging and forward compatibility of future OS/Hardware.