VIDEO_TIMING_GEN: Refactoring; Removed relations to frame border