A rotary compressor and an air conditioner

The invention provides a rotary compressor and an air conditioner. The rotary compressor comprises a first air cylinder, a second air cylinder and a control mechanism, wherein the second air cylinder is provided with a sliding sheet groove and an air suction hole; a sliding sheet is arranged in the sliding sheet groove; the air suction hole is positioned in the first side of the sliding sheet; the control mechanism is arranged inside the second air cylinder and comprises a first chamber and/or a second chamber; the first chamber is disposed on a first side of the sliding sheet facing the air suction hole; the second chamber is disposed on a second side of the sliding sheet deviating from the air suction hole; the first chamber on the first side of the sliding sheet groove is communicated with the air suction hole and the sliding sheet groove separately; and the second chamber on the second side of the sliding sheet deviating from the air suction hole is communicated with a valve chamber positioned at the first end of the sliding sheet and the sliding sheet groove separately. The rotary compressor has a simple structure, and the capacity of the compressor can be changed reliably.