Yes, you might be a little confused. The instructions state:
Always make sure Resolution_X and Resolution_Y are the same size as Resolution X and Resolution Y respectively.
The part about preprocessor definitions does not give you the correct values, it’s merely a note to help you to physically locate where the parameters are in the list (not the values you should put in).
The values you should use should match the native, unscaled resolution of the content.
Only then will you get the correct number of scanlines.