can Intel Media SDK encode to lossless H264? If so what encoding parameters should be set for it?
Completely lossless encoding is not supported. To get the highest quality you can experiment by using CQP mode and low QP values to determine if it fits your requirements.
For more complete information about compiler optimizations, see our Optimization Notice.