Change the codecintf interface to use descriptor structs instead of multiple callback args.