Angle position of orange control shaft is controlled by a motor (not shown).
When red arrow points down, volume of the combustion chamber is min, the compression ratio is max and vice versa.
This working principle is taken from Nissan VCR engine.
Infiniti VC-T engine has similar working principle using two 4-bar mechanisms for controlling the pink arm.