The patent describes a variable displacement screw-type compressor. It has at least one main rotor and one subsidiary rotor housed together that convey a medium from an inlet to an outlet. At least one housing segment fitted to slide transversely to the rotor axes defines the inlet. This allows the inlet channel length and thus the compression ratio and feed rate to be adjusted, improving efficiency over prior designs. The housing segments are guided in wells of the housing and each has a length corresponding to the axial distance between tooth contact points for a discrete adjustment corresponding to the rotor graduations.