From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52AD0C76186 for ; Wed, 24 Jul 2019 03:40:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 266FD218F0 for ; Wed, 24 Jul 2019 03:40:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Vhs4i3yZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725863AbfGXDkI (ORCPT ); Tue, 23 Jul 2019 23:40:08 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34397 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbfGXDkI (ORCPT ); Tue, 23 Jul 2019 23:40:08 -0400 Received: by mail-wr1-f68.google.com with SMTP id 31so45293320wrm.1 for ; Tue, 23 Jul 2019 20:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JeknbwonJb7yvKuiDdk/VT/9NZwGxevBTk5gM7WC/2Q=; b=Vhs4i3yZhnVEHCs2TS0i09CS92qwHeEbf0dDjuOBmBf3zRbPhNZx1YFbXnW+Fn8nYl 1diD8lmXPVW4XvO1cW5SOn7r2z5qtZdvueZ/k/49En1tGgVmILqH7Z8XnAUX8pCu61Rd 8WfEVP4/lrRA+u/QSfKA9VeA+Toi0w4QT50yA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JeknbwonJb7yvKuiDdk/VT/9NZwGxevBTk5gM7WC/2Q=; b=LB4Fwtp31kzx9+Tjbjdjsd5SXpAWERHxofd6zGq3AbBU6rrb3I1o1zzzpcED/kZWh8 c50bOhO5h4M/tx4JtLSpB0Ccrl98fnhWoqq5he64uAQ/+NC9PPfLnv4RZlWixRHjHWxK EhgSRbhujYvN13TlTBS5WqRgjlWQlpScVDV+DEGcjh0Qgfi0RqtpGBEvRNa3249Boyaw LAGezv3mirM21dFvic+AGdeTewlsepo7QsI01LtOrs5KMvbIJrLs6vSxJsZRRNsGuFmZ KzRucthQ3NFr7W1AT4SIIxq+gEIv0tswrMvuUPx08SWDHO4ZxnsOSGK+GKkFjgX26EJU KE5A== X-Gm-Message-State: APjAAAWmEuVZQlLPhtpVi3+e8PR50BNynSQgMegK7MLeCRqVT9Z2hx/6 yO4vheyomU3z/377vfxObD5h7TahOGcRH1ZI57xpuA== X-Google-Smtp-Source: APXvYqwpZKkrJ3pGQ7wkSc8RWOwUEX+O5baB1eR9/kucQqDpmom3rKpqK8dFv47tHFSh3RaC5A4YmzfppK4o8ayfHWw= X-Received: by 2002:adf:b64b:: with SMTP id i11mr83796465wre.205.1563939606204; Tue, 23 Jul 2019 20:40:06 -0700 (PDT) MIME-Version: 1.0 References: <20190703122849.6316-1-boris.brezillon@collabora.com> <20190703122849.6316-4-boris.brezillon@collabora.com> In-Reply-To: <20190703122849.6316-4-boris.brezillon@collabora.com> From: Tomasz Figa Date: Wed, 24 Jul 2019 12:39:55 +0900 Message-ID: Subject: Re: [PATCH v3 3/3] media: uapi: h264: Get rid of the p0/b0/b1 ref-lists To: Boris Brezillon Cc: Mauro Carvalho Chehab , Hans Verkuil , Laurent Pinchart , Sakari Ailus , Linux Media Mailing List , Nicolas Dufresne , kernel@collabora.com, Paul Kocialkowski , Maxime Ripard , Ezequiel Garcia , Jonas Karlman , Jernej Skrabec , Alexandre Courbot , Thierry Reding Content-Type: text/plain; charset="UTF-8" Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Boris, On Wed, Jul 3, 2019 at 9:28 PM 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). > > Signed-off-by: Boris Brezillon > --- > Changes in v3: > * None > > Changes in v2: > * None > --- > Documentation/media/uapi/v4l/ext-ctrls-codec.rst | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/Documentation/media/uapi/v4l/ext-ctrls-codec.rst b/Documentation/media/uapi/v4l/ext-ctrls-codec.rst > index 47ba2d057a92..237c8e8e6bca 100644 > --- a/Documentation/media/uapi/v4l/ext-ctrls-codec.rst > +++ b/Documentation/media/uapi/v4l/ext-ctrls-codec.rst > @@ -1946,15 +1946,6 @@ enum v4l2_mpeg_video_h264_hierarchical_coding_type - > * - __u16 > - ``nal_ref_idc`` > - NAL reference ID value coming from the NAL Unit header > - * - __u8 > - - ``ref_pic_list_p0[32]`` > - - Backward reference list used by P-frames in the original bitstream order > - * - __u8 > - - ``ref_pic_list_b0[32]`` > - - Backward reference list used by B-frames in the original bitstream order > - * - __u8 > - - ``ref_pic_list_b1[32]`` > - - Forward reference list used by B-frames in the original bitstream order > * - __s32 > - ``top_field_order_cnt`` > - Picture Order Count for the coded top field Thanks for the patch. Don't we also need to remove these fields from the UAPI structs? Best regards, Tomasz