1. A method of encoding video content, comprising: providing input video content; providing a resource budget; partitioning the video content into regions; and generating optimal encoding parameters for the regions to enable an encoder to produce an encoded version of the video content with maximum quality criterion within the provided resource budget.