Skip to content

v4l2videoenc: Setup crop rectangle if needed

Nicolas Dufresne requested to merge ndufresne/gstreamer:rk3399-jpeg-crop into main

Hantro H1 and Rockchip VEPU2 drivers will pad the width/height to a multiple of 16. In order to obtain the right jpeg size, the image needs to be cropped using the S_SELECTION API. This support is added as best effect since older driver may emulate this by looking at the capture queue width/height.

Merge request reports