Rate control for JVT video coding scheme with HRD considerations