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=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 6298CC76190 for ; Mon, 22 Jul 2019 14:41:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4206421901 for ; Mon, 22 Jul 2019 14:41:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726291AbfGVOlQ (ORCPT ); Mon, 22 Jul 2019 10:41:16 -0400 Received: from lb3-smtp-cloud7.xs4all.net ([194.109.24.31]:41433 "EHLO lb3-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726084AbfGVOlP (ORCPT ); Mon, 22 Jul 2019 10:41:15 -0400 Received: from [192.168.2.10] ([46.9.252.75]) by smtp-cloud7.xs4all.net with ESMTPA id pZUzhcGM80SBqpZV2hroIr; Mon, 22 Jul 2019 16:41:13 +0200 Subject: Re: [PATCH v6 0/5] HEVC/H.265 stateless support for V4L2 and Cedrus To: Paul Kocialkowski , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Cc: Mauro Carvalho Chehab , Maxime Ripard , Greg Kroah-Hartman , Chen-Yu Tsai , Thomas Petazzoni , Ezequiel Garcia , Tomasz Figa , Alexandre Courbot , Nicolas Dufresne , Boris Brezillon , Jernej Skrabec , Jonas Karlman References: <20190614143837.15605-1-paul.kocialkowski@bootlin.com> <20190722131734.GD1908@aptenodytes> From: Hans Verkuil Message-ID: <3bac3bb7-c755-cb29-30f0-757c5efb548d@xs4all.nl> Date: Mon, 22 Jul 2019 16:41:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190722131734.GD1908@aptenodytes> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfNv9wZN6+Xa8NbwprCE9xJoYZFVdMSJxFGFuamwxJHvhzKVYlhn2rdzIbiQQ/i/fFvIAcXpu2paKDB5qFkvhDWDJy7BrP0qn/T0PCymB4PVMJGjMiiWO tl8xSxac/vBdjIt3fBdaCe38nkM1Kqp6ntnaVp9kcSo+BahPl2rjqsrjSLytdUtlsgSZpkwDpbLvrv2U05RVYQvXoACavxCMksTpzwipMSkUgpBDUWv7RBog BLqKE6TzlBSrc1FuG8GBG7KDJIQ9yePkqbuzPaInLtcSKUYW593CK1be7WJRQ0otzX3RWG8dyty0F4N3FXdM6PAUME2enFAOWVFHcwqHouhQgNHRORJUJ8Yy fv3UiAbBR7zAVOtd5RcvNghWYKhYFTlhmoDDDjg5WZ32dADsxS6HYj+ToXhxPZ6oMYkDq3BmnTDCOy6s1dZI+t0PCPkF6UlJJKFKY2Y8yI3szLPmto7BtrHQ T0iLV6RDABEPto00lMpPwB47LM8fHLDfs1TrYWIEkjvkEY6S72ALI4lXSYmCiXkZG1vTOnjkKNFe6p05xo1Ok/iz5klfk+gDuwi1Jn93HjWQoqh7UEEDe3CM MTxqvZ2DY9Z80mGPFpcopKm8XOFzfW/iA8gfbFiUkBVziUm/kWeccnr6rkRnU8FbcrLuUMM6yg4Hq+We8yIlSBqiYMGvhNjNCRIi/8N2FSkHgtAa4+Zfm475 Jgviei8jhTYQOZPa03rDlJe3lXp4wfwApyCrhtw7SqZlasgNWsBdtRXSzCo5P2HXkax84+2vnstrUW7k7GUxDkcvQHiHKQEi Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/22/19 3:17 PM, Paul Kocialkowski wrote: > Hi, > > Any feedback on this series? I think it was pretty much ready for merge > regarding the comments received so far. > > I could craft a rebased v7, with or without additional changes, if needed. Just gave feedback. A v7 is needed in any case since it needs to be rebased. Regards, Hans > > What do you think? > > Cheers, > > Paul > > On Fri 14 Jun 19, 16:38, Paul Kocialkowski wrote: >> This is early support for HEVC/H.265 stateless decoding in V4L2, >> including both definitions and driver support for the Cedrus VPU >> driver, which concerns Allwinner devices. >> >> A specific pixel format is introduced for the HEVC slice format and >> controls are provided to pass the bitstream metadata to the decoder. >> Some bitstream extensions are intentionally not supported at this point. >> >> Since this is the first proposal for stateless HEVC/H.265 support in >> V4L2, reviews and comments about the controls definitions are >> particularly welcome. >> >> On the Cedrus side, the H.265 implementation covers frame pictures >> with both uni-directional and bi-direction prediction modes (P/B >> slices). Field pictures (interleaved), scaling lists and 10-bit output >> are not supported at this point. >> >> This series is based upon the following series: >> * media: cedrus: Add H264 decoding support >> >> Changes since v5: >> * Rebased atop latest next media tree; >> * Moved to flags instead of u8 fields; >> * Added padding to ensure 64-bit alignment >> (tested with GDB on 32 and 64-bit architectures); >> * Reworked cedrus H.265 driver support a bit for flags; >> * Split off codec-specific control validation and init; >> * Added HEVC controls fields cleanup at std_validate to allow reliable >> control comparison with memcmp; >> * Fixed various misc reported mistakes. >> >> Changes since v4: >> * Rebased atop latest H.254 series. >> >> Changes since v3: >> * Updated commit messages; >> * Updated CID base to avoid conflicts; >> * Used cpu_to_le32 for packed le32 data; >> * Fixed misc minor issues in the drive code; >> * Made it clear in the docs that the API will evolve; >> * Made the pixfmt private and split commits about it. >> >> Changes since v2: >> * Moved headers to non-public API; >> * Added H265 capability for A64 and H5; >> * Moved docs to ext-ctrls-codec.rst; >> * Mentionned sections of the spec in the docs; >> * Added padding to control structures for 32-bit alignment; >> * Made write function use void/size in bytes; >> * Reduced the number of arguments to helpers when possible; >> * Removed PHYS_OFFSET since we already set PFN_OFFSET; >> * Added comments where suggested; >> * Moved to timestamp for references instead of index; >> * Fixed some style issues reported by checkpatch. >> >> Changes since v1: >> * Added a H.265 capability to whitelist relevant platforms; >> * Switched over to tags instead of buffer indices in the DPB >> * Declared variable in their reduced scope as suggested; >> * Added the H.265/HEVC spec to the biblio; >> * Used in-doc references to the spec and the required APIs; >> * Removed debugging leftovers. >> >> Cheers! >> >> Paul Kocialkowski (5): >> media: v4l2-ctrls: Split off MPEG-2 controls validation >> media: v4l2-ctrls: Split off MPEG-2 controls initialization >> media: v4l: Add definitions for the HEVC slice controls >> media: pixfmt: Document the HEVC slice pixel format >> media: cedrus: Add HEVC/H.265 decoding support >> >> Documentation/media/uapi/v4l/biblio.rst | 9 + >> .../media/uapi/v4l/ext-ctrls-codec.rst | 474 +++++++++++++- >> .../media/uapi/v4l/pixfmt-compressed.rst | 21 + >> .../media/uapi/v4l/vidioc-queryctrl.rst | 18 + >> .../media/videodev2.h.rst.exceptions | 3 + >> drivers/media/v4l2-core/v4l2-ctrls.c | 231 +++++-- >> drivers/media/v4l2-core/v4l2-ioctl.c | 1 + >> drivers/staging/media/sunxi/cedrus/Makefile | 2 +- >> drivers/staging/media/sunxi/cedrus/cedrus.c | 31 +- >> drivers/staging/media/sunxi/cedrus/cedrus.h | 18 + >> .../staging/media/sunxi/cedrus/cedrus_dec.c | 9 + >> .../staging/media/sunxi/cedrus/cedrus_h265.c | 616 ++++++++++++++++++ >> .../staging/media/sunxi/cedrus/cedrus_hw.c | 4 + >> .../staging/media/sunxi/cedrus/cedrus_regs.h | 271 ++++++++ >> .../staging/media/sunxi/cedrus/cedrus_video.c | 10 + >> include/media/hevc-ctrls.h | 197 ++++++ >> include/media/v4l2-ctrls.h | 7 + >> 17 files changed, 1860 insertions(+), 62 deletions(-) >> create mode 100644 drivers/staging/media/sunxi/cedrus/cedrus_h265.c >> create mode 100644 include/media/hevc-ctrls.h >> >> -- >> 2.21.0 >> > From mboxrd@z Thu Jan 1 00:00:00 1970 From: hverkuil@xs4all.nl (Hans Verkuil) Date: Mon, 22 Jul 2019 16:41:09 +0200 Subject: [PATCH v6 0/5] HEVC/H.265 stateless support for V4L2 and Cedrus In-Reply-To: <20190722131734.GD1908@aptenodytes> References: <20190614143837.15605-1-paul.kocialkowski@bootlin.com> <20190722131734.GD1908@aptenodytes> Message-ID: <3bac3bb7-c755-cb29-30f0-757c5efb548d@xs4all.nl> List-Id: Linux Driver Project Developer List On 7/22/19 3:17 PM, Paul Kocialkowski wrote: > Hi, > > Any feedback on this series? I think it was pretty much ready for merge > regarding the comments received so far. > > I could craft a rebased v7, with or without additional changes, if needed. Just gave feedback. A v7 is needed in any case since it needs to be rebased. Regards, Hans > > What do you think? > > Cheers, > > Paul > > On Fri 14 Jun 19, 16:38, Paul Kocialkowski wrote: >> This is early support for HEVC/H.265 stateless decoding in V4L2, >> including both definitions and driver support for the Cedrus VPU >> driver, which concerns Allwinner devices. >> >> A specific pixel format is introduced for the HEVC slice format and >> controls are provided to pass the bitstream metadata to the decoder. >> Some bitstream extensions are intentionally not supported at this point. >> >> Since this is the first proposal for stateless HEVC/H.265 support in >> V4L2, reviews and comments about the controls definitions are >> particularly welcome. >> >> On the Cedrus side, the H.265 implementation covers frame pictures >> with both uni-directional and bi-direction prediction modes (P/B >> slices). Field pictures (interleaved), scaling lists and 10-bit output >> are not supported at this point. >> >> This series is based upon the following series: >> * media: cedrus: Add H264 decoding support >> >> Changes since v5: >> * Rebased atop latest next media tree; >> * Moved to flags instead of u8 fields; >> * Added padding to ensure 64-bit alignment >> (tested with GDB on 32 and 64-bit architectures); >> * Reworked cedrus H.265 driver support a bit for flags; >> * Split off codec-specific control validation and init; >> * Added HEVC controls fields cleanup at std_validate to allow reliable >> control comparison with memcmp; >> * Fixed various misc reported mistakes. >> >> Changes since v4: >> * Rebased atop latest H.254 series. >> >> Changes since v3: >> * Updated commit messages; >> * Updated CID base to avoid conflicts; >> * Used cpu_to_le32 for packed le32 data; >> * Fixed misc minor issues in the drive code; >> * Made it clear in the docs that the API will evolve; >> * Made the pixfmt private and split commits about it. >> >> Changes since v2: >> * Moved headers to non-public API; >> * Added H265 capability for A64 and H5; >> * Moved docs to ext-ctrls-codec.rst; >> * Mentionned sections of the spec in the docs; >> * Added padding to control structures for 32-bit alignment; >> * Made write function use void/size in bytes; >> * Reduced the number of arguments to helpers when possible; >> * Removed PHYS_OFFSET since we already set PFN_OFFSET; >> * Added comments where suggested; >> * Moved to timestamp for references instead of index; >> * Fixed some style issues reported by checkpatch. >> >> Changes since v1: >> * Added a H.265 capability to whitelist relevant platforms; >> * Switched over to tags instead of buffer indices in the DPB >> * Declared variable in their reduced scope as suggested; >> * Added the H.265/HEVC spec to the biblio; >> * Used in-doc references to the spec and the required APIs; >> * Removed debugging leftovers. >> >> Cheers! >> >> Paul Kocialkowski (5): >> media: v4l2-ctrls: Split off MPEG-2 controls validation >> media: v4l2-ctrls: Split off MPEG-2 controls initialization >> media: v4l: Add definitions for the HEVC slice controls >> media: pixfmt: Document the HEVC slice pixel format >> media: cedrus: Add HEVC/H.265 decoding support >> >> Documentation/media/uapi/v4l/biblio.rst | 9 + >> .../media/uapi/v4l/ext-ctrls-codec.rst | 474 +++++++++++++- >> .../media/uapi/v4l/pixfmt-compressed.rst | 21 + >> .../media/uapi/v4l/vidioc-queryctrl.rst | 18 + >> .../media/videodev2.h.rst.exceptions | 3 + >> drivers/media/v4l2-core/v4l2-ctrls.c | 231 +++++-- >> drivers/media/v4l2-core/v4l2-ioctl.c | 1 + >> drivers/staging/media/sunxi/cedrus/Makefile | 2 +- >> drivers/staging/media/sunxi/cedrus/cedrus.c | 31 +- >> drivers/staging/media/sunxi/cedrus/cedrus.h | 18 + >> .../staging/media/sunxi/cedrus/cedrus_dec.c | 9 + >> .../staging/media/sunxi/cedrus/cedrus_h265.c | 616 ++++++++++++++++++ >> .../staging/media/sunxi/cedrus/cedrus_hw.c | 4 + >> .../staging/media/sunxi/cedrus/cedrus_regs.h | 271 ++++++++ >> .../staging/media/sunxi/cedrus/cedrus_video.c | 10 + >> include/media/hevc-ctrls.h | 197 ++++++ >> include/media/v4l2-ctrls.h | 7 + >> 17 files changed, 1860 insertions(+), 62 deletions(-) >> create mode 100644 drivers/staging/media/sunxi/cedrus/cedrus_h265.c >> create mode 100644 include/media/hevc-ctrls.h >> >> -- >> 2.21.0 >> > 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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 1C82EC76188 for ; Mon, 22 Jul 2019 14:41:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E12D221901 for ; Mon, 22 Jul 2019 14:41:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="mNuezNSu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E12D221901 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xs4all.nl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cQqCtU48CkQ6QiZBiSWXeRG7zHiYHOK8EHXdawp5eCA=; b=mNuezNSulWwiRx mC/EObtLFXdk6ANGhz+nSy28CJuG6EaLC1Nq5Ne2vCzLSMbVtA/U5XNIrmEfDci+HrNGUb3fWBk8h AYxmfiEMpj/GCLLQ4UBwVKPXDTEQ/NzS40uPqJ2u7eb0utVOGlt+YTgiHQXLWBhO+lYkgSx2JlGhd PLod8HRHGs7YPtqPB7I4RbbtxjGwet4TtkFKFnTeP58dBqnGkSD5SheKbk59k8VxzuafbaIkBU0Bq 3d2rO6JJobmQRcYURMtmLMj0SHPHb4Hv87up4MOSwka/VzCat2EjSSvF7W3L15QUFxilNgodLxJr/ s4fPqfupE4vNaS7molDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpZVB-0005RC-Br; Mon, 22 Jul 2019 14:41:21 +0000 Received: from lb3-smtp-cloud7.xs4all.net ([194.109.24.31]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpZV5-0005MS-VB for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2019 14:41:18 +0000 Received: from [192.168.2.10] ([46.9.252.75]) by smtp-cloud7.xs4all.net with ESMTPA id pZUzhcGM80SBqpZV2hroIr; Mon, 22 Jul 2019 16:41:13 +0200 Subject: Re: [PATCH v6 0/5] HEVC/H.265 stateless support for V4L2 and Cedrus To: Paul Kocialkowski , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com References: <20190614143837.15605-1-paul.kocialkowski@bootlin.com> <20190722131734.GD1908@aptenodytes> From: Hans Verkuil Message-ID: <3bac3bb7-c755-cb29-30f0-757c5efb548d@xs4all.nl> Date: Mon, 22 Jul 2019 16:41:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190722131734.GD1908@aptenodytes> Content-Language: en-US X-CMAE-Envelope: MS4wfNv9wZN6+Xa8NbwprCE9xJoYZFVdMSJxFGFuamwxJHvhzKVYlhn2rdzIbiQQ/i/fFvIAcXpu2paKDB5qFkvhDWDJy7BrP0qn/T0PCymB4PVMJGjMiiWO tl8xSxac/vBdjIt3fBdaCe38nkM1Kqp6ntnaVp9kcSo+BahPl2rjqsrjSLytdUtlsgSZpkwDpbLvrv2U05RVYQvXoACavxCMksTpzwipMSkUgpBDUWv7RBog BLqKE6TzlBSrc1FuG8GBG7KDJIQ9yePkqbuzPaInLtcSKUYW593CK1be7WJRQ0otzX3RWG8dyty0F4N3FXdM6PAUME2enFAOWVFHcwqHouhQgNHRORJUJ8Yy fv3UiAbBR7zAVOtd5RcvNghWYKhYFTlhmoDDDjg5WZ32dADsxS6HYj+ToXhxPZ6oMYkDq3BmnTDCOy6s1dZI+t0PCPkF6UlJJKFKY2Y8yI3szLPmto7BtrHQ T0iLV6RDABEPto00lMpPwB47LM8fHLDfs1TrYWIEkjvkEY6S72ALI4lXSYmCiXkZG1vTOnjkKNFe6p05xo1Ok/iz5klfk+gDuwi1Jn93HjWQoqh7UEEDe3CM MTxqvZ2DY9Z80mGPFpcopKm8XOFzfW/iA8gfbFiUkBVziUm/kWeccnr6rkRnU8FbcrLuUMM6yg4Hq+We8yIlSBqiYMGvhNjNCRIi/8N2FSkHgtAa4+Zfm475 Jgviei8jhTYQOZPa03rDlJe3lXp4wfwApyCrhtw7SqZlasgNWsBdtRXSzCo5P2HXkax84+2vnstrUW7k7GUxDkcvQHiHKQEi X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_074116_239622_71AEBD06 X-CRM114-Status: GOOD ( 20.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicolas Dufresne , Jernej Skrabec , Alexandre Courbot , Jonas Karlman , Maxime Ripard , Greg Kroah-Hartman , Tomasz Figa , Chen-Yu Tsai , Boris Brezillon , Thomas Petazzoni , Mauro Carvalho Chehab , Ezequiel Garcia Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 7/22/19 3:17 PM, Paul Kocialkowski wrote: > Hi, > > Any feedback on this series? I think it was pretty much ready for merge > regarding the comments received so far. > > I could craft a rebased v7, with or without additional changes, if needed. Just gave feedback. A v7 is needed in any case since it needs to be rebased. Regards, Hans > > What do you think? > > Cheers, > > Paul > > On Fri 14 Jun 19, 16:38, Paul Kocialkowski wrote: >> This is early support for HEVC/H.265 stateless decoding in V4L2, >> including both definitions and driver support for the Cedrus VPU >> driver, which concerns Allwinner devices. >> >> A specific pixel format is introduced for the HEVC slice format and >> controls are provided to pass the bitstream metadata to the decoder. >> Some bitstream extensions are intentionally not supported at this point. >> >> Since this is the first proposal for stateless HEVC/H.265 support in >> V4L2, reviews and comments about the controls definitions are >> particularly welcome. >> >> On the Cedrus side, the H.265 implementation covers frame pictures >> with both uni-directional and bi-direction prediction modes (P/B >> slices). Field pictures (interleaved), scaling lists and 10-bit output >> are not supported at this point. >> >> This series is based upon the following series: >> * media: cedrus: Add H264 decoding support >> >> Changes since v5: >> * Rebased atop latest next media tree; >> * Moved to flags instead of u8 fields; >> * Added padding to ensure 64-bit alignment >> (tested with GDB on 32 and 64-bit architectures); >> * Reworked cedrus H.265 driver support a bit for flags; >> * Split off codec-specific control validation and init; >> * Added HEVC controls fields cleanup at std_validate to allow reliable >> control comparison with memcmp; >> * Fixed various misc reported mistakes. >> >> Changes since v4: >> * Rebased atop latest H.254 series. >> >> Changes since v3: >> * Updated commit messages; >> * Updated CID base to avoid conflicts; >> * Used cpu_to_le32 for packed le32 data; >> * Fixed misc minor issues in the drive code; >> * Made it clear in the docs that the API will evolve; >> * Made the pixfmt private and split commits about it. >> >> Changes since v2: >> * Moved headers to non-public API; >> * Added H265 capability for A64 and H5; >> * Moved docs to ext-ctrls-codec.rst; >> * Mentionned sections of the spec in the docs; >> * Added padding to control structures for 32-bit alignment; >> * Made write function use void/size in bytes; >> * Reduced the number of arguments to helpers when possible; >> * Removed PHYS_OFFSET since we already set PFN_OFFSET; >> * Added comments where suggested; >> * Moved to timestamp for references instead of index; >> * Fixed some style issues reported by checkpatch. >> >> Changes since v1: >> * Added a H.265 capability to whitelist relevant platforms; >> * Switched over to tags instead of buffer indices in the DPB >> * Declared variable in their reduced scope as suggested; >> * Added the H.265/HEVC spec to the biblio; >> * Used in-doc references to the spec and the required APIs; >> * Removed debugging leftovers. >> >> Cheers! >> >> Paul Kocialkowski (5): >> media: v4l2-ctrls: Split off MPEG-2 controls validation >> media: v4l2-ctrls: Split off MPEG-2 controls initialization >> media: v4l: Add definitions for the HEVC slice controls >> media: pixfmt: Document the HEVC slice pixel format >> media: cedrus: Add HEVC/H.265 decoding support >> >> Documentation/media/uapi/v4l/biblio.rst | 9 + >> .../media/uapi/v4l/ext-ctrls-codec.rst | 474 +++++++++++++- >> .../media/uapi/v4l/pixfmt-compressed.rst | 21 + >> .../media/uapi/v4l/vidioc-queryctrl.rst | 18 + >> .../media/videodev2.h.rst.exceptions | 3 + >> drivers/media/v4l2-core/v4l2-ctrls.c | 231 +++++-- >> drivers/media/v4l2-core/v4l2-ioctl.c | 1 + >> drivers/staging/media/sunxi/cedrus/Makefile | 2 +- >> drivers/staging/media/sunxi/cedrus/cedrus.c | 31 +- >> drivers/staging/media/sunxi/cedrus/cedrus.h | 18 + >> .../staging/media/sunxi/cedrus/cedrus_dec.c | 9 + >> .../staging/media/sunxi/cedrus/cedrus_h265.c | 616 ++++++++++++++++++ >> .../staging/media/sunxi/cedrus/cedrus_hw.c | 4 + >> .../staging/media/sunxi/cedrus/cedrus_regs.h | 271 ++++++++ >> .../staging/media/sunxi/cedrus/cedrus_video.c | 10 + >> include/media/hevc-ctrls.h | 197 ++++++ >> include/media/v4l2-ctrls.h | 7 + >> 17 files changed, 1860 insertions(+), 62 deletions(-) >> create mode 100644 drivers/staging/media/sunxi/cedrus/cedrus_h265.c >> create mode 100644 include/media/hevc-ctrls.h >> >> -- >> 2.21.0 >> > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel