Merge "codecs: set cpu read and write usage for encoder and decoder"