x265enc: Specify max CU size depending on input resolution
x265 does not allow user to configure a picture size smaller than at least one CU size, and maxCUSize must be 16, 32, or 64.
Therefore, the CU size must be set according to the input resolution, and the input resolution can not be less than 16.