Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp226043iob; Mon, 2 May 2022 17:47:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ6JL0/QQq/rxykLHVJbIkCREQHkVve57VvPDk2pdmm1K14zAA7ZWo2IvNJTXFFNsQVJJR X-Received: by 2002:a63:1c0d:0:b0:3ab:1a76:953f with SMTP id c13-20020a631c0d000000b003ab1a76953fmr11728521pgc.73.1651538861565; Mon, 02 May 2022 17:47:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651538861; cv=none; d=google.com; s=arc-20160816; b=SvGt/ys1/GUxcHAv8Ioc4zUeDPWw2HYV0qRcpEvR4FMjhUyavJx1CxaTn230/IiaeE JEx+4EBaDPFKebxSVHacZazQzlFHMw7fS4JiF0hAnloh1CDO59nKLe+tl+zXLZPb/6Bd OBeu1XvJYvNVc//WKkFWkNPFP8Eow2NUoVEkkrNoVTXB1LgDsKf3VpqP1uUzwSxgKgh5 3fSQ+A6q/9QTIhAAv/aWZGYkiWiH7+036nNvTNK2vFQczQHso/X7QVZrZVMP6RwaFmYu d8OZvwDC551EY+sGbRrMS0SEmwkyq5SHN73C09Yp3TiTpfJIYgutXD0LatFSDbNfJJMv upkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Fw3WDxeowbTLWz6Ru6lKfna8BJhR9uyUJgU4i6Lx6eE=; b=SDvmW0ZA2D4t7WXO1xdvkMM101lTWzWXvLuLLbaYh849nB+v9DeN7P386gW3Pdlf4p SPS1jub0vBpbQtBquzj83ox2j2UpWE1TZ8rGRqS1kawt03eXPt8duG2R7lxXgx8A3xXD ddV2yd1tNtlv9WAh22PDPiVc9g6R/Lx1MFxB1g+i07mgfvdVYKzzd2Ephq8OauaxlYmO nG6uzkTBmxY8NM7T1c+9EfH2HMquChUiGKQmonVeYzVYLxN2UTxo4azXD6HhBCq7aGzA FnKj7rg+mfol4KeR0hB/DpljS8iAHESW/ULqreK4fD6cz+4gG+D5kOowgn5qtkw646ts fhuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ndufresne-ca.20210112.gappssmtp.com header.s=20210112 header.b=qazHzdbU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q10-20020a63504a000000b003c19e2b283esi10323487pgl.494.2022.05.02.17.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:47:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@ndufresne-ca.20210112.gappssmtp.com header.s=20210112 header.b=qazHzdbU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CCD6836150; Mon, 2 May 2022 17:36:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233825AbiEBMYY (ORCPT + 99 others); Mon, 2 May 2022 08:24:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233803AbiEBMYX (ORCPT ); Mon, 2 May 2022 08:24:23 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ED4D65CF for ; Mon, 2 May 2022 05:20:53 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id b20so8615181qkc.6 for ; Mon, 02 May 2022 05:20:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndufresne-ca.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-transfer-encoding:user-agent:mime-version; bh=Fw3WDxeowbTLWz6Ru6lKfna8BJhR9uyUJgU4i6Lx6eE=; b=qazHzdbUqUY+JBu1L+Ghkx2BTsogAGkFnOfCjITzugw4bwFjFAMpAJeURp89Vky6/U Wq7NNkCMaTSrbP+3ogAErVWWIxYFqqYm+Jv9G8bZp4BmrqTTCEAZtyl3a4p+w5DGCTh4 IECTzPPzm6l92yy6uxNjRJof9h9SyQVIefJ7gKeY0XV3znaycUFYZcOPUsxl2B3GjQl3 JRvOynsTsnYdth7qlIWJwStg5aqAR1kGQ1O7D3CDlg6qUqjMVlvS/Nb14OCY+OKBrqGN RcAXOllGP+KY4GDsFM0yzL9RhybPRIXscxNdnS8zDVAs8qrhmqi+6dCKdsgOC5rEJvVP aovQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=Fw3WDxeowbTLWz6Ru6lKfna8BJhR9uyUJgU4i6Lx6eE=; b=5FANilJyBF9l/Gg3hRVnGm27BC70lilPge8d/CEzh5WzD6gQH5bS7W4E3R8j0HgTN1 ktChewbzZfbWM3CmCHQlSUYE3zWLEyyEymx55LG3Re6jkvi4tvsrg5lM6w3rAJx+pJRn Tf7VkRDolhM/u6X1+xEBNk9B2lzq3lq0RVtW+DMnpdW5wkJHcTGqLrp5cWbh09MRry+E tN4lvABgoFb5kDkPs35Bhrg3OVv0vqgaFDPuBHjaNSYUlFbEDzkTyvQXM9z+Bouclmik X54v24Pm2OMXe5fbLANaByZkHI+qDf+cDQHQ9pYfL7724jrNN8IZB3oiFC9RlfOu/9TM A+ZQ== X-Gm-Message-State: AOAM530+5mNvwyt/AnjLzI/RKaQF5J5y/+4PVhvdLBIp/R1UGD/kEdBL qZf8ltfVaJEmT5Z4ph69wrovQw== X-Received: by 2002:a05:620a:44c8:b0:69f:e71f:7a02 with SMTP id y8-20020a05620a44c800b0069fe71f7a02mr2463437qkp.253.1651494052548; Mon, 02 May 2022 05:20:52 -0700 (PDT) Received: from nicolas-tpx395.localdomain (173-246-12-168.qc.cable.ebox.net. [173.246.12.168]) by smtp.gmail.com with ESMTPSA id d188-20020a379bc5000000b0069fc347ef5dsm4060820qke.74.2022.05.02.05.20.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 05:20:51 -0700 (PDT) Message-ID: <0414bb0816eef95961fe47de96f97f925d29228f.camel@ndufresne.ca> Subject: Re: [PATCH 0/3] Enable JPEG Encoder on RK3566/RK3568 From: Nicolas Dufresne To: Michael Grzeschik , Nicolas Frattaroli Cc: Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Greg Kroah-Hartman , Peter Geis , Michael Riesch , Liang Chen , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Kever Yang , Andrzej Pietrasiewicz Date: Mon, 02 May 2022 08:20:50 -0400 In-Reply-To: <20220429232047.GG7671@pengutronix.de> References: <20220427224438.335327-1-frattaroli.nicolas@gmail.com> <198ce3981ad15844627581f9519cab67ed2a81c1.camel@ndufresne.ca> <2438841.KJ31GcehEG@archbook> <20220429232047.GG7671@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.0 (3.44.0-1.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, Le samedi 30 avril 2022 =C3=A0 01:20 +0200, Michael Grzeschik a =C3=A9crit= =C2=A0: > Since the RK3568 seems to get more and more of attention at the moment > I would like to ask if somebody is planning to write support the RKVENC > in mainline. That is the VEPU540 core refered to in the RK3568 TRM. >=20 > I would start with that in the next weeks, taking the bootlin H1 support > as an reference to handle the request_api for the encoder part. Which is > currently completely untouched in mainline AFAIK. I'm very happy to ear you'd be interest in helping with this. I'm adding An= drzej in CC, as he started some base work using VP8 encoder on RK3399 (same HW fo= und on other RK SoC) to make this possible. Note that these are a new type of encoders and a specification is needed to ensure they all have a coherent w= ork- flow. The first step was obviously to have working prototype, Bootlin start= ed with H264 (but never posted anything on the mailing list). I'm under the impression they have abandoned it. Andrzej have decided to use VP8 as it is simpler. The prototype should help understand the basic flow of an encoder = and produce a specification for this. From there, the "easy" part is to make per codec controls, to configure the encoder. Demonstrating fixed QP, this is about were I believe Bootlin stopp= ed. And I personally believe some OSS userland (not just tests) that can handle multiple reference, perhaps more advance GOP pattern and some basic rate co= ntrol would help build confidence in the uAPI. Let us know how we can help, we sh= ould avoid doing the same thing, as this is already quite a large project that c= an easily take over a year to become mainline ready. regards, Nicolas >=20 > Regards, > Michael >=20