From: Boris Brezillon <boris.brezillon@collabora.com>
To: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Hans Verkuil <hans.verkuil@cisco.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Sakari Ailus <sakari.ailus@iki.fi>,
linux-media@vger.kernel.org, Tomasz Figa <tfiga@chromium.org>,
Nicolas Dufresne <nicolas@ndufresne.ca>,
kernel@collabora.com, Maxime Ripard <maxime.ripard@bootlin.com>,
Ezequiel Garcia <ezequiel@collabora.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Alexandre Courbot <acourbot@chromium.org>,
Thierry Reding <thierry.reding@gmail.com>
Subject: Re: [PATCH v2 3/3] media: uapi: h264: Get rid of the p0/b0/b1 ref-lists
Date: Wed, 26 Jun 2019 13:48:39 +0200 [thread overview]
Message-ID: <20190626134839.709be189@collabora.com> (raw)
In-Reply-To: <4dec37e985d160d2fe5b3b5e28eff0e081a860fa.camel@bootlin.com>
On Wed, 26 Jun 2019 13:33:41 +0200
Paul Kocialkowski <paul.kocialkowski@bootlin.com> wrote:
> Hi,
>
> On Mon, 2019-06-10 at 10:52 +0200, Boris Brezillon wrote:
> > Those lists can be extracted from the dpb, let's simplify userspace
> > life and build that list kernel-side (generic helpers will be provided
> > for drivers that need this list).
>
> I don't really have any clear idea about that, but there was a
> discussion about DPB vs reference picture lists some weeks ago.
What we call DPB right now is actually a list of reference pictures
(each entry being flagged long or short term). When reading the spec,
you said DPB was referring to something that's more implementation
specific, and I think that's what motivated your initial suggestion to
rename this field into something more appropriate (ref_pics?). TBH, I'm
just guessing here, since you were the one initially proposing this
change, and I must say that having to explain what you had in mind at
that time is a bit weird :P.
>
> Is there some mail thread with a rationale about it, some IRC logs I
> could look at or could the people involved in the discussion provide
> some additional background at this point?
Well, you were part of the discussion, and I think most of it happened
in the "Proposed updates and guidelines for MPEG-2, H.264 and H.265
stateless support" thread you started.
>
> IIRC we also talked about removing the DPB or at least renaming it, but
> I don't have a clear idea of the outcome as well.
The list of long/short refs has to be passed, and that's actually what
we currently call "DPB", so we're just talking about a rename here,
nothing more. The ordered P/B0/B1 reflists can easily be built from the
un-ordered list of ref pics, so I'm just proposing to get rid of these
fields and have a generic implementation kernel-side so that drivers
that need it don't have to re-implement it.
next prev parent reply other threads:[~2019-06-26 11:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-10 8:52 [PATCH v2 0/3] media: uapi: h264: First batch of adjusments Boris Brezillon
2019-06-10 8:52 ` [PATCH v2 1/3] media: uapi: h264: Clarify our expectations regarding NAL header format Boris Brezillon
2019-06-26 11:23 ` Paul Kocialkowski
2019-06-10 8:52 ` [PATCH v2 2/3] media: uapi: h264: Add the concept of decoding mode Boris Brezillon
2019-06-26 11:30 ` Paul Kocialkowski
2019-06-26 15:26 ` Boris Brezillon
2019-06-28 5:35 ` Tomasz Figa
2019-06-10 8:52 ` [PATCH v2 3/3] media: uapi: h264: Get rid of the p0/b0/b1 ref-lists Boris Brezillon
2019-06-26 11:33 ` Paul Kocialkowski
2019-06-26 11:48 ` Boris Brezillon [this message]
2019-06-10 8:57 ` [PATCH v2 0/3] media: uapi: h264: First batch of adjusments Boris Brezillon
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=20190626134839.709be189@collabora.com \
--to=boris.brezillon@collabora.com \
--cc=acourbot@chromium.org \
--cc=ezequiel@collabora.com \
--cc=hans.verkuil@cisco.com \
--cc=jernej.skrabec@siol.net \
--cc=jonas@kwiboo.se \
--cc=kernel@collabora.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=maxime.ripard@bootlin.com \
--cc=mchehab@kernel.org \
--cc=nicolas@ndufresne.ca \
--cc=paul.kocialkowski@bootlin.com \
--cc=sakari.ailus@iki.fi \
--cc=tfiga@chromium.org \
--cc=thierry.reding@gmail.com \
/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.