use the same complexity computation branch for screen and camera
Merge pull request #1632 from ruil2/encoder_refine

use the same complexity computation branch for screen and camera