encoder: h264: fix level lookup constraints wrt. bitrate.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 22 Jan 2014 10:25:13 +0000 (11:25 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 22 Jan 2014 17:30:26 +0000 (18:30 +0100)
commit4c04a1bc8803ca40ecc2ef60a5324e1094ed0069
tree2c57c96dbe609d3c4a4a8c6e9eb0c695f28d78c7
parent1e502d63d5a5634e2de986a6d749c8e659d0e959
encoder: h264: fix level lookup constraints wrt. bitrate.

Fix the level calculation involving bitrate limits. Since we are
targetting NAL HRD conformance, the check against MaxBR from the
Table A-1 limits shall involve cpbBrNalFactor depending on the
active profile.
gst-libs/gst/vaapi/gstvaapiencoder_h264.c