Theoretically, to modify exposure x (x is a signed floating point value, 0.0 for non-compensation), you should multiply each pixel brightness value (or each sub-pixel in RVB) by 2 ^ x.
newValue = oldValue * (2 ^ exposureCompensation);
, , (255 8 , 65535 16 ). , "" , , , Photoshop ( "2012" )