| commit | e88945fc2b6b02f37cc1dfc77cde2312787cb0fb | [log] [tgz] |
|---|---|---|
| author | Chen-Yu Tsai <[email protected]> | Mon Nov 29 07:59:19 2021 |
| committer | Commit Bot <[email protected]> | Thu Dec 09 08:32:00 2021 |
| tree | d7b697b5c05fed216dfad2efd014aa5eae13aff2 | |
| parent | 2824d2d4561bdaf435caa66168cba68c34203ddf [diff] |
libv4l-rockchip_v2: Add support for selection API Upstream kernel has deprecated the old crop API and removed support for it from all drivers. It is replaced by the selection API. However the compatibility layer for crop-to-selection does not work for our use case. Add support for the selection API in the plugin, so that it can properly tweak the cropping range for H.264 encoding. BUG=b:206718749 TEST=Run vea_tests with LIBV4L_PLUGIN_LOG_LEVEL=4 Change-Id: I395aa8e303f4916b83224c947b8c1e8442d30e47 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/libv4lplugins/+/3308616 Tested-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Tomasz Figa <[email protected]> Commit-Queue: Chen-Yu Tsai <[email protected]>