I want to convert the 16-bit depth data to millimeter.what is the formula? Is that " *0.0001"?
Multiply the raw data by the value obtaned from QueryDepthUnit - that should give you what you want.
Alternatively, choose the non-raw depth stream and it'll already be done for you.
For more complete information about compiler optimizations, see our Optimization Notice.