From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 906AA175D26 for ; Thu, 3 Oct 2024 12:23:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727958231; cv=none; b=usdYSvJwuc0xa5RT07hDYNRw/uAvt7mmXuh23D8eKtaJek60ExTIOYW20ffnJNWGXKIEAQLj6BlYOvCUrSdfU+DXX8hyf+K35h8EuWRrI8nNQDGj0o32UqfE6DWDmfWZmjBfJcoNK96pHiTqklgXOHBefiWuR0KwTrSrXyMhT0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727958231; c=relaxed/simple; bh=xu0Hjz19FaClSoUstPuOfAViW3LJdJMBb0N/iYDYdLA=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=td8LMw7OG1OjZcbF9YIL8d450BQfB0hoHo6AMDXTlW+kY7Y21SpWzTgKFQQOkueeySjkDgTJbPZwby9zX0isyz+fibBVaX+yunDnueqz4tYunYNx4SfqAWbRvFYvkH6bQFv78iSoEKILLvdUvnRbLWeclfJUncsGdV1EA1idi7I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=YelPOsBE; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="YelPOsBE" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1727958227; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SIqwKiUhoG6a2uAv06BzwgNeY0A4xHveg1I2dddHC5k=; b=YelPOsBERiXUuI0N7YkwoBcpn+pBfJJqmsv41Pd9al0ZuwRfDkAfeTYUlVW0B6nFTRJ6VB jF2aVigkNKahQzjyQzabKPofXDNeb5fsSqSNhulSl7P51hNhVanTnagxXvS10Dy7vmrN0U HFGb5hrax1x7MVFNHWXlWXI/0L1jnhYCFp/1GUQy5ER7yr0Gd20PbaLnAXoJQlr9wZtf74 UpkcvKfNvta4B8QnUn27mo6e3hFd909oawnP7abXcCsWXNkVWy16KEzY/IKoyJA/HFQdnS GkR1se40qV8wEKKw9q8U8goyGj1XZqTCIR/6rLy0Jod5O+hqF7ip0u2xLasAdg== Content-Type: multipart/signed; boundary=341152132e471a78ee9810b312ec357e29c650715afc234660476caf54da; micalg=pgp-sha256; protocol="application/pgp-signature" Date: Thu, 03 Oct 2024 14:23:33 +0200 Message-Id: Cc: "Alex Bee" , "Nicolas Dufresne" , "Benjamin Gaignard" , "Detlev Casanova" , "Dan Carpenter" , "Diederik de Haas" , , , , Subject: Re: [PATCH v6 00/11] media: rkvdec: Add H.264 High 10 and 4:2:2 profile support X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" To: "Jonas Karlman" , "Sebastian Fricke" , "Ezequiel Garcia" , "Mauro Carvalho Chehab" References: <20240909192522.1076704-1-jonas@kwiboo.se> In-Reply-To: <20240909192522.1076704-1-jonas@kwiboo.se> X-Migadu-Flow: FLOW_OUT --341152132e471a78ee9810b312ec357e29c650715afc234660476caf54da Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Mon Sep 9, 2024 at 9:24 PM CEST, Jonas Karlman wrote: > This series add H.264 High 10 and 4:2:2 profile support to the Rockchip > Video Decoder driver. > ... > Tested on a ROCK Pi 4 (RK3399) and Rock64 (RK3328): > ... > > Link to v1: https://lore.kernel.org/linux-media/20200701215616.30874-1-jo= nas@kwiboo.se/ > > To fully runtime test this series you may need FFmpeg patches from [1] > and fluster patches from [2], this series is also available at [3]. I have been using this patch set and earlier version stemming all the way back to 2023-10-29 and with a patched ffmpeg and mpv ([1] but earlier versions before that) I have been enjoying HW accelerated playback on my Rock64 (rk3328) :-) So for the series, feel free to add my Tested-by: Diederik de Haas [1] https://github.com/mpv-player/mpv/pull/14690 Cheers, Diederik > [1] https://github.com/Kwiboo/FFmpeg/commits/v4l2request-2024-v2-rkvdec/ > [2] https://github.com/Kwiboo/fluster/commits/ffmpeg-v4l2request-rkvdec/ > [3] https://github.com/Kwiboo/linux-rockchip/commits/linuxtv-rkvdec-high-= 10-v6/ > [4] https://gist.github.com/Kwiboo/f4ac15576b2c72887ae2bc5d58b5c865 > [5] https://gist.github.com/Kwiboo/459a1c8f1dcb56e45dc7a7a29cc28adf > > Regards, > Jonas > > Alex Bee (1): > media: rkvdec: h264: Don't hardcode SPS/PPS parameters > > Jonas Karlman (10): > media: v4l2-common: Add helpers to calculate bytesperline and > sizeimage > media: v4l2: Add NV15 and NV20 pixel formats > media: rkvdec: h264: Use bytesperline and buffer height as virstride > media: rkvdec: Extract rkvdec_fill_decoded_pixfmt into helper > media: rkvdec: Move rkvdec_reset_decoded_fmt helper > media: rkvdec: Extract decoded format enumeration into helper > media: rkvdec: Add image format concept > media: rkvdec: Add get_image_fmt ops > media: rkvdec: h264: Support High 10 and 4:2:2 profiles > media: rkvdec: Fix enumerate frame sizes > > .../media/v4l/pixfmt-yuv-planar.rst | 128 ++++++++++ > drivers/media/v4l2-core/v4l2-common.c | 80 +++--- > drivers/media/v4l2-core/v4l2-ioctl.c | 2 + > drivers/staging/media/rkvdec/rkvdec-h264.c | 64 +++-- > drivers/staging/media/rkvdec/rkvdec.c | 239 +++++++++++++----- > drivers/staging/media/rkvdec/rkvdec.h | 18 +- > include/uapi/linux/videodev2.h | 2 + > 7 files changed, 410 insertions(+), 123 deletions(-) --341152132e471a78ee9810b312ec357e29c650715afc234660476caf54da Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZv6MygAKCRDXblvOeH7b btePAP9ToufxZmhr2Lk3H7eoFfXNX6W5vCwP0nFLWmC9+8cVVQD9G8eUte6bu0b+ A2j0SrvAl7VTKvbJcdcY6UFGpsaKLAk= =yXzH -----END PGP SIGNATURE----- --341152132e471a78ee9810b312ec357e29c650715afc234660476caf54da--