I'm kind of lost with your comparison.
Divx, xvid, and h264 are compression methods with h264 being the most efficient with the best results.
FFDshow is a library of decoders that will decode those mentioned compression methods. The difference you're noticing is probably due to what compression was used and how it was done (2 pass vs 1 pass, hi-quality vs normal..ect).