Avoid panicing in lower level code and allow the engine to decide what it should do.
Will make it less error-prone to add new encodings int the future since each encoder has it's set of constants. There are some placeholder contants for uncompressed encodings which are not in all encoder currently.