]> asedeno.scripts.mit.edu Git - linux.git/commit
media: vicodec: add support for CROP and COMPOSE selection
authorDafna Hirschfeld <dafna3@gmail.com>
Mon, 21 Jan 2019 11:46:14 +0000 (09:46 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 25 Jan 2019 21:03:05 +0000 (19:03 -0200)
commit9e812549883730f559cdd95d0c05419f5bfa3713
tree81c09c9c57777759dd408f43aac43a12b77002a3
parent8c1d02f140182fcd7cbecc77db68c2b5181c266f
media: vicodec: add support for CROP and COMPOSE selection

Add support for the selection api for the crop and compose targets.
The driver rounds up the coded width and height such that
all planes dimensions are multiple of 8.

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vicodec/codec-fwht.c
drivers/media/platform/vicodec/codec-fwht.h
drivers/media/platform/vicodec/codec-v4l2-fwht.c
drivers/media/platform/vicodec/codec-v4l2-fwht.h
drivers/media/platform/vicodec/vicodec-core.c