linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Single- vs Multi-planar APIs for mem2mem devices
@ 2019-07-11  9:21 wens Tsai
  2019-07-11  9:38 ` Paul Kocialkowski
  0 siblings, 1 reply; 7+ messages in thread
From: wens Tsai @ 2019-07-11  9:21 UTC (permalink / raw)
  To: Linux Media Mailing List
  Cc: Hans Verkuil, Mauro Carvalho Chehab, Paul Kocialkowski, Maxime Ripard

Hi,

I noticed that recent codec driver additions, such as hantro, meson/vdec,
mtk, used the multi-planar API (mplane) instead of the single-planar API.

Is there a preference for moving towards mplane?

Also I noticed that v4l-utils has a plugin that seamlessly adapts mplane
devices to work with single-planar API calls, but there isn't one the
other way around. Would that be something worthwhile working on? To me
it seems having one central adapter is better than having applications
try to use both APIs, though some such as FFmpeg already do so.

My interest in this is trying to get Chromium's v4l2 video decode
accelerator to work on the Raspberry Pi 3 with their downstream kernel,
which has the bcm2835-v4l2 driver. It would also benefit other platforms
that have a stateful VPU, such as Amlogic (meson) or Mediatek SoCs.
Chromium's code uses MPLANE exclusively, and it's geared towards ChromeOS,
not standard Linux, but still it might be interesting to get it to work.

There's also the v4l2 slice video decode accelerator which uses the
request API which has the same issue, but lets not get ahead of ourselves.

Regards
ChenYu

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-12 10:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11  9:21 Single- vs Multi-planar APIs for mem2mem devices wens Tsai
2019-07-11  9:38 ` Paul Kocialkowski
2019-07-11 11:51   ` wens Tsai
2019-07-11 12:19     ` Paul Kocialkowski
2019-07-12  4:26       ` wens Tsai
2019-07-12  9:37         ` Paul Kocialkowski
2019-07-12 10:04           ` wens Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).