-
- Downloads
Rockchip: Store cropped size in v4l plugin.
When setting the format of OUTPUT queue, the rockchip driver may increase the height 16 to align the buffer. For example, when setting QCIF(176x144) size, the driver will adjust to 176x160. However, the driver doesn't accept the cropped size with larger than 16 (1 MB). That means, we cannot use crop to set the correct resolution. This CL stores the cropped size at the plugin, and uses it as the resolution of the encoded video. Regardless there are some restriction about the cropped size at the driver, the plugin allow any cropped size. BUG=b:79551489 TEST=pass VEA unittest with QCIF video. TEST=pass testEncodeDecodeVideoFromBufferToBufferQCIF CTS Change-Id: Iabfb80aa7c5bff357e91661bd3ede581b5aef83a Reviewed-on: https://chromium-review.googlesource.com/1061035 Commit-Ready: Chih-Yu Huang <akahuang@chromium.org> Tested-by:Chih-Yu Huang <akahuang@chromium.org> Reviewed-by:
Tomasz Figa <tfiga@chromium.org>
Please register or sign in to comment