add dc encoding c file