x265enc: Specify max CU size depending on input resolution
authorYeongjin Jeong <yeongjin.jeong@navercorp.com>
Mon, 1 Jul 2019 09:14:55 +0000 (18:14 +0900)
committerYeongjin Jeong <yeongjin.jeong@navercorp.com>
Wed, 31 Jul 2019 09:13:28 +0000 (18:13 +0900)
commit8f2c53f6f516163431b7d42db41a838af41eb3f4
treefa1eb45515ba5f33f9960831c22788e00f80e878
parent416afd5fa92c8a10d8eea754258f3b0d108273ae
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.
ext/x265/gstx265enc.c
tests/check/elements/x265enc.c