A2B codec chain implementation