Simple use Avisynth ColorYUV(levels="TV->PC") and ColorYUV(levels="PC->TV"). That would do your work to increase the brightness & contrast.