libs: encoder: h265: Recognize the correct level and tier.
The current manner can not recognize the correct level and always set the tier to main. Need to add frame rate check to recognize levels such as 4.1, 6.2, etc. We also add a logic to check main and high tier based on bitrate.
Fixes: #145 (closed)