[engine/codecs] Hide codecs methods behind namespaces instead of classes
All codecs are currently implemented as stand-alone decode
and encode
methods.
We don't need dedicated empty classes for them (that has to be created and destroyed),
just hiding corresponding methods behind namespaces would suffice.
(splitting unrelated changes from !91)