Expand structure of MD and ME

reviewed at https://rbcommons.com/s/OpenH264/r/199/