summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@gmail.com>2022-11-02 19:08:03 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2022-11-04 16:56:33 +0100
commite7efb377ea50adf4a3583dd048453cca5f803775 (patch)
tree9cf53ecde3bb72ed6ca1f79f21b08cd3da74cb2d /include/uapi
parentbc603309688b77c848c00b9fa19a4fe0b9c677b6 (diff)
media: cedrus: Add helper for checking capabilities
There is several different Cedrus cores with varying capabilities, so some operations like listing formats depends on checks if feature is supported or not. Currently check for capabilities is only in format handling functions, but it will be used also elsewhere later. Let's convert this check to helper and while at it, also simplify it. There is no need to check if capability mask is zero, condition will still work properly. No functional changes intended. Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions