Implement all the appending of frame size restrictions in caps, for encoders and decoders, in a new source file.