include ifdef guard
Removed unused headers in encoder core