Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2525595imm; Thu, 7 Jun 2018 12:07:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLAFIueIXIgefbEbZp9K2tIXf3uvf5kp6ka0hHm/7BN+rSm39u7Pwa/78+heFK01V7q/FI8 X-Received: by 2002:a17:902:784d:: with SMTP id e13-v6mr3311263pln.197.1528398458941; Thu, 07 Jun 2018 12:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528398458; cv=none; d=google.com; s=arc-20160816; b=Lf2I/syGURT6ZlZr/IPaU0EMPYuWHMWdy824i8h6uwFrzQXHNYkFtyjRSMUYUS488b tUQD4hcHBkzNmmuihW7WNugzUGuRHdEN4fi8TGGMjmYHP/sXJkrPThDdrT4ZOb5aO7Aj u2CB3WHWc4NdlZv8Wc8UI10sGSuKPFup1smGSI6NXZi5BhIOSvObYaavyu/O4UOCDfK4 W4JWj/nXsanCiVlstFT4o9yp1o5TFFkyVRZ8o4AytIlXeS5yiNlLi3ziHmPvldnvEL1D a7cT7+Acv6ON6HuF99UYRftdXg3Y+0hfzUiJ5oLZS5mYx+NEo5hhd5MUpAyds7Q9eaFY svzg== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature:arc-authentication-results; bh=duQouZSRXkmxXr25ZTDg9oEegzdU2yaYumwuKpagJN8=; b=F9AggSFq5rHFQa6HUiy16MdQvRBmPodSjFI6Pu8VQDzFzFW8SlU6Kj3MWDnT2v5H8s BkmH5i3UVay1oxPBLG0CqKHxpM6PYvcS/toPPB/VcPhM52mgwQCTUeKC+FbehfSW7euK JMG7KO/nlgEfPRUGskRG+gvPYWd/AIGwq5eGEHXy4RzIU6xibJsaAuuL2WTttLO3klWa CsKol3D9ykldvSmyf4VM2DeAcvG5yMbodVz+XwQtLF3watjMYo0eEqsKqrSA8UwMrzZf kdPVWlgta75aTgrq8mmxLlwvJMPgxt7O6dm1Tkn6Y5mLSqhYQhTNIufc4AaSF4YfxsJ5 D8Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ndufresne-ca.20150623.gappssmtp.com header.s=20150623 header.b=ZfIQV2D2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2-v6si8072751pfi.109.2018.06.07.12.07.24; Thu, 07 Jun 2018 12:07:38 -0700 (PDT) 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; dkim=pass header.i=@ndufresne-ca.20150623.gappssmtp.com header.s=20150623 header.b=ZfIQV2D2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933915AbeFGRto (ORCPT + 99 others); Thu, 7 Jun 2018 13:49:44 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:38250 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933071AbeFGRtn (ORCPT ); Thu, 7 Jun 2018 13:49:43 -0400 Received: by mail-qk0-f194.google.com with SMTP id y4-v6so7097834qka.5 for ; Thu, 07 Jun 2018 10:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndufresne-ca.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=duQouZSRXkmxXr25ZTDg9oEegzdU2yaYumwuKpagJN8=; b=ZfIQV2D2wx76HDYDvb4Gbk/ZYsyenheTFSPGZ7SYfHBnU0bxerkV+7k/6v8a5BSwXz rXt0UqfnwcDd52iR5SeveDJ/6saM8dM82CJQ603YVRSAnRFFXEcl3pj4+l1raHWQllJi DDZHpVX+hFcSoIOjgng+Y/FM24wLcPELOkKIZN3zf9ViTTE15uGPXPlSBCXsijV/52UT lnsIfTKj+dgFcU0IDjl751f9tLeVu/+rOIsYdNzIuRitYvgF9+5eiFUU3d1I1UDldZIs OXp1XeBxft1M+tH1uFTxMgnhWaLEbIa9sQTozxIURfOFV/CwwtN+jy6WuMq87uAJHm6n ntAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=duQouZSRXkmxXr25ZTDg9oEegzdU2yaYumwuKpagJN8=; b=IbL1gC0cq2s/UYd+zN/9IzGeRsrlKmYWkvX139guDCJHhKHJ9Ds+5FJ0N+6VJEyqNW Dz55VEi41fvvRdS3bgkCL9/awI2nQt2q7z9fPu2X0XaJ+9KzKRtb7t6RIKMAyN8F8O3F 5IWv6EqSclp0+Mh4626wrzOeUCpaQ39Uwk3dxzM/QMiZp3D5XgMN+M4p10X1vsv4phj9 qZpQRTgit+Fo5Zdv8KMyi2lqoZBrdn8ZK8lewsoaZZFsBIqOKd60lDEwbNk20/BBev5G afLU728KkwaWGSxK+V94XpVPrzwGVFMPc5Tc+u3iSastBH8A0ZkTtSk2SPKXqpkwUXCB jNsg== X-Gm-Message-State: APt69E30l2mhNJ5ZOqIhcGw3yj65zilxT7Q8U+EdlCJSmIl67UYDH0O6 d0yQZ8DiCM2AuWLi6D+YoL1j+Q== X-Received: by 2002:a37:4946:: with SMTP id w67-v6mr2568911qka.394.1528393782385; Thu, 07 Jun 2018 10:49:42 -0700 (PDT) Received: from skullcanyon (cable-192.222.221.38.electronicbox.net. [192.222.221.38]) by smtp.gmail.com with ESMTPSA id p72-v6sm33114694qkh.5.2018.06.07.10.49.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Jun 2018 10:49:41 -0700 (PDT) Message-ID: Subject: Re: [RFC PATCH 1/2] media: docs-rst: Add decoder UAPI specification to Codec Interfaces From: Nicolas Dufresne To: Tomasz Figa , Philipp Zabel Cc: Pawel Osciak , Linux Media Mailing List , Linux Kernel Mailing List , Mauro Carvalho Chehab , Hans Verkuil , Alexandre Courbot , kamil@wypas.org, a.hajda@samsung.com, Kyungmin Park , jtp.park@samsung.com, Tiffany Lin =?UTF-8?Q?=28=E6=9E=97=E6=85=A7=E7=8F=8A=29?= , Andrew-CT Chen =?UTF-8?Q?=28=E9=99=B3=E6=99=BA=E8=BF=AA=29?= , Stanimir Varbanov , todor.tomov@linaro.org, Paul Kocialkowski , Laurent Pinchart Date: Thu, 07 Jun 2018 13:49:39 -0400 In-Reply-To: References: <20180605103328.176255-1-tfiga@chromium.org> <20180605103328.176255-2-tfiga@chromium.org> <1528198888.4074.13.camel@pengutronix.de> <1528281896.3438.6.camel@pengutronix.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.2 (3.28.2-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le jeudi 07 juin 2018 à 16:27 +0900, Tomasz Figa a écrit : > > > I'd say no, but I guess that would mean that the driver never > > > encounters it, because hardware wouldn't report it. > > > > > > I wonder would happen in such case, though. Obviously decoding of such > > > stream couldn't continue without support in the driver. > > > > GStreamer supports decoding of variable resolution streams without > > driver support by just stopping and restarting streaming completely. > > What about userspace that doesn't parse the stream on its own? Do we > want to impose the requirement of full bitstream parsing even for > hardware that can just do it itself? We do it this way in GStreamer because we can and is more reliable with existing drivers. I do think that the driver driven renegotiation is superior as it allow a lot more optimization. Full reset is a just the slowest possible method of renegotiating. It is not visually fantastic with dynamic streams, like DASH and HLS. Though, we should think of a way driver can signal that this renegotiation is supported. Nicolas