From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
To: linux-media@vger.kernel.org
Cc: Tomasz Figa <tfiga@chromium.org>,
Paul Kocialkowski <paul.kocialkowski@bootlin.com>,
Nicolas Dufresne <nicolas@ndufresne.ca>,
Boris Brezillon <boris.brezillon@collabora.com>
Subject: [PATCH 0/2] v4l2-mem2mem: add try_en/decoder_cmd ioctl helpers
Date: Tue, 28 May 2019 10:34:35 +0200 [thread overview]
Message-ID: <20190528083437.103215-1-hverkuil-cisco@xs4all.nl> (raw)
The implementation of these two ioctls is the same for all codecs, so
add helper functions for this, rather than re-implementing it for all
codecs.
Regards,
Hans
Hans Verkuil (2):
v4l2-mem2mem: add try_en/decoder_cmd ioctl helpers
vicodec: use new v4l2_m2m_ioctl_try_en/decoder_cmd funcs
drivers/media/platform/vicodec/vicodec-core.c | 35 +++----------------
drivers/media/v4l2-core/v4l2-mem2mem.c | 32 +++++++++++++++++
include/media/v4l2-mem2mem.h | 4 +++
3 files changed, 40 insertions(+), 31 deletions(-)
--
2.20.1
next reply other threads:[~2019-05-28 8:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-28 8:34 Hans Verkuil [this message]
2019-05-28 8:34 ` [PATCH 1/2] v4l2-mem2mem: add try_en/decoder_cmd ioctl helpers Hans Verkuil
2019-05-29 3:11 ` Tomasz Figa
2019-05-29 6:28 ` Hans Verkuil
2019-05-29 6:45 ` [PATCHv2 " Hans Verkuil
2019-05-28 8:34 ` [PATCH 2/2] vicodec: use new v4l2_m2m_ioctl_try_en/decoder_cmd funcs Hans Verkuil
2019-05-29 3:22 ` Tomasz Figa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190528083437.103215-1-hverkuil-cisco@xs4all.nl \
--to=hverkuil-cisco@xs4all.nl \
--cc=boris.brezillon@collabora.com \
--cc=linux-media@vger.kernel.org \
--cc=nicolas@ndufresne.ca \
--cc=paul.kocialkowski@bootlin.com \
--cc=tfiga@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.