[PATCH v2] clients: teach simple-dmabuf-v4l to deal with flipped input

Pekka Paalanen ppaalanen at gmail.com
Tue Feb 7 09:48:47 UTC 2017


On Mon,  6 Feb 2017 12:57:41 -0500
Micah Fedke <micah.fedke at collabora.co.uk> wrote:

> The v4l2 API can be queried to detect if the input video image is
> horizontally or vertically flipped. If the image is y-flipped, we can
> set the ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT flag to notify the
> compositor.  If the image is h-flipped, we can only print a warning
> since linux_buffer_params_v1 does not support horizontal flipping.
> 
> Signed-off-by: Micah Fedke <micah.fedke at collabora.co.uk>
> ---
> This version addresses Pekka's comments by renaming check_v4l2_control to
> check_v4l2_control_bool, removing the len parameter, separating out the logic
> tests in check_v4l2_control_bool and fixing spacing issues.
> 
>  clients/simple-dmabuf-v4l.c | 62 +++++++++++++++++++++++++++++++++++++++------
>  1 file changed, 54 insertions(+), 8 deletions(-)

Hi,

looks fine, pushed with my R-b:
   9a200d7..0fee977  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170207/ddd744dd/attachment.sig>


More information about the wayland-devel mailing list