Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp4323627imj; Tue, 12 Feb 2019 13:52:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IZOvuYTkN7p+erLgbj6WMQm2bj3Dbb3zwD9rH/ZFb0vXMuomkN4+79Az+fgpgchC07brIym X-Received: by 2002:a63:4e1d:: with SMTP id c29mr5667277pgb.433.1550008330386; Tue, 12 Feb 2019 13:52:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550008330; cv=none; d=google.com; s=arc-20160816; b=BjDDL5d50bnLPDMCATrUtZ6DKH8ypC568kRgG5ZvVGWBSo4g1a6EBrd7PizOTPuIRW HXNDWPmrqiEqj8Bmwc1IYwDen49djSI0GwBWjA91UPmowUbse73qWr8gnAI7LNQPlXxD IV9ql65LAe68RfijFUpzC5sJIqEvGIVrpFLg5qvLwJpzbyIrR7kAZtoBjCERlrFf4KuX utI8L/CEG2qwS+DOXjcvOvzmNzCo4znry3ILbZ2HMTNdTMb/VZPMGQ1DJdixgIwGs7Pr WSPVNwvUOjGavl1RXqqXjc+JuKUeO4OQqTCm1jzGEgQB0d34avWIe81u0DrlT2GyBULB qn9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=3kT+2FqbU48keNbEBoTkQWo+R4W18cJbJw73yo8HNrU=; b=u171SoeGgbJQ0m53vcGHR2q3LnhxGBtc4pOW0HD2TVeRTm4l7YcezorAMzDphlS2hi QjeQbcSLLEmAtevJFSC5uSBJ9EE5R9dAsPWt7zzZgPmRetu1GCZ8c/gIee8FM2pZXB2f Kdm0Ro2Wi0WyVh5iieXMZ/8/ovNUrN0TmyA0wEwmLVmX909i66q+fIYjt6ex9G+hQ+Pl LIn/vLUtegmzIxo+DJ2tNpr1RLqWUxBnsv5PgMuBYw9tBMWxpG/WaxvPOZJoCy0ogIcY HuuCrrSL1EucolNydQv+tgoD4O0mya1i1qpf4krsWuDy6AsPZK56IaU/m7JQwBR7GzCf 9HUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l93si6337488plb.433.2019.02.12.13.51.54; Tue, 12 Feb 2019 13:52:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732408AbfBLVSH (ORCPT + 99 others); Tue, 12 Feb 2019 16:18:07 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43658 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727932AbfBLVSG (ORCPT ); Tue, 12 Feb 2019 16:18:06 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 20B0327FB65 Message-ID: Subject: Re: [PATCH v3 1/2] media: uapi: Add H264 low-level decoder API compound controls. From: Ezequiel Garcia To: Maxime Ripard , Hans Verkuil Cc: hans.verkuil@cisco.com, acourbot@chromium.org, sakari.ailus@linux.intel.com, Laurent Pinchart , tfiga@chromium.org, posciak@chromium.org, Paul Kocialkowski , Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, nicolas.dufresne@collabora.com, jenskuske@gmail.com, jernej.skrabec@gmail.com, jonas@kwiboo.se, linux-sunxi@googlegroups.com, Thomas Petazzoni , Guenter Roeck Date: Tue, 12 Feb 2019 18:17:52 -0300 In-Reply-To: <20190212130548.tytlxmbu4q6qgzzq@flea> References: <562aefcd53a1a30d034e97f177096d70fb705f2b.1549895062.git-series.maxime.ripard@bootlin.com> <716ae1ff-8e62-c723-5b5a-0b018cf6af6a@xs4all.nl> <20190212130548.tytlxmbu4q6qgzzq@flea> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-02-12 at 14:05 +0100, Maxime Ripard wrote: > Hi, > > On Mon, Feb 11, 2019 at 04:21:47PM +0100, Hans Verkuil wrote: > > > I think the API should be designed with 4k video in mind. So if some of > > > these constants would be too small when dealing with 4k (even if the > > > current HW doesn't support this yet), then these constants would have to > > > be increased. > > > > > > And yes, I know 8k video is starting to appear, but I think it is OK > > > that additional control(s) would be needed to support 8k. > > > > Hmm, 4k (and up) is much more likely to use HEVC. So perhaps designing this > > for 4k is overkill. > > > > Does anyone know if H.264 is used for 4k video at all? If not (or if very > > rare), then just ignore this. > > I don't know the state of it right now, but until quite recently > youtube at least was encoding their 4k videos in both VP9 and > H264. They might have moved to h265 since, but considering 4k doesn't > seem unreasonable. > Just asked the multimedia team here, and they say that 4k videos are in fact widely used for both H264 and VP9 because of the HEVC licensing issues, and because gains in compressions are not so impressive. Regards, Ezequiel