GLOBAL_POSITION_INT/ GPS_RAW LAT and LON

How how are the GLOBAL_POSITION_INT filtered? (is there docmentation?) I tried serveral measurementns and can not see a big diffenerce to the the GPS_RAW Data. I.e. measure static I would assume much more accruate data from GLOBAL_POSITION_INT

Mavlink defnitions:

GLOBAL_POSITION_INT ( #33 )

[Message] The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient.

GPS_RAW_INT ( #24 )

[Message] The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION_INT for the global position estimate

Yes there is documentation. Please Google for Ardupilot EKF3

Thanks.
It does not exactly say where I get the results. Are they in AHRS message, in global_position_int or in both?