Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp864491ybz; Wed, 15 Apr 2020 21:06:30 -0700 (PDT) X-Google-Smtp-Source: APiQypIg0q4Mv1OkvnS6hLlzvZKO6ZnwS01oTaoo2X75zR7AABozPv7d1imN5hz5FbwDWQjbvc8w X-Received: by 2002:a50:99c4:: with SMTP id n4mr28802104edb.187.1587009990563; Wed, 15 Apr 2020 21:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587009990; cv=none; d=google.com; s=arc-20160816; b=QNkZLKZSCDamu0CTZmpwLCoehWxRNHSbhFXOpAiMhaZzBXnC4FOQRqRAWdurYa3qop A+i7l0WXDbtS9Zsm7J1KF9I62WuhBt9IDOaUtKOKLRhPZOSGktOkuHuzOLGwmC9ulfRl BDTVFg5B/P3G3/X1F+p7ZYKV5efuRpyfWn6UXuYAaRTyieAAGRK/wYE/laJnw+Ua5Hhy mFsnEHWXFbjJPxr6MAd15v9jffbi9AkTqmbHcLEUF9hI8sQqUaWszpe5bOfFD8/CEzTm mvZAl8U8vvUs3GsGulArUGkJgJcB3mMVjfb5wN35kzV2OzjVfCjHhn5b0QtYw/lHK2RI cFAg== 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; bh=LVKdAvu4eBz3OPv8Yx7QxkM0S0OnZ/OE3/tYmss2ttU=; b=fqdWJOyvK2Md+pVXUuFKRZOuFZh/fSkuXb56dtnXoT6D9kiotSSd/UsDr/1MSTjBad Jkw0+3sJOVT84Wd6iBWnVbwFIiVWLmfQw1UJUhwwsGqfSg92QtFPIs94PPlaPuMJeoPH HVxdNhygjJ5Twy0zzjT8BdIodsnEAjEG5D31z94XITVZWQIgndzsktE1wnDY8rJbna2i mbdEIAFwyN6Ltzb9h9OX3U+SUgFE6Qrdf7WVWXhwzk0c6KrMXm5IjWVlvUDkNxBSe0XZ hRKnv+45eKFAVfQ88C6Z48qxCs+zh+4r+zpqXxA3hiiGFggcViPhwCkRg7SgXule5F4F mEcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=KDOCORUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a26si5176875edx.154.2020.04.15.21.06.03; Wed, 15 Apr 2020 21:06:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=KDOCORUH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726121AbgDPEEQ (ORCPT + 99 others); Thu, 16 Apr 2020 00:04:16 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45083 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725948AbgDPEEK (ORCPT ); Thu, 16 Apr 2020 00:04:10 -0400 X-UUID: cb7b52515e1840c29e6e05855e3a2bdf-20200416 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=LVKdAvu4eBz3OPv8Yx7QxkM0S0OnZ/OE3/tYmss2ttU=; b=KDOCORUHQIXYI1xApefqByZt2VN+gRcyirFi5vgA5fuf2yWN2inOQvCz7vxD4VZygbavYSWzSC7pt+EYtbiu/uj7XuPvpKUe5OfUypr0PPFd2OdbUbPrQIvTkrAy3LjwXGHZruRXUsGd9HoSIPguon57ZLQkpnQFhY9U7ShPfRY=; X-UUID: cb7b52515e1840c29e6e05855e3a2bdf-20200416 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1893458523; Thu, 16 Apr 2020 12:03:42 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 16 Apr 2020 12:03:41 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 16 Apr 2020 12:03:40 +0800 Message-ID: <1587009795.24163.87.camel@mhfsdcap03> Subject: Re: [PATCH v7 11/11] media: platform: Add jpeg dec/enc feature From: Xia Jiang To: Tomasz Figa CC: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , "Matthias Brugger" , Rick Chang , , , , , , Marek Szyprowski , Date: Thu, 16 Apr 2020 12:03:15 +0800 In-Reply-To: <20200306112337.GA163286@chromium.org> References: <20200303123446.20095-1-xia.jiang@mediatek.com> <20200303123446.20095-12-xia.jiang@mediatek.com> <20200306112337.GA163286@chromium.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIwLTAzLTA2IGF0IDIwOjIzICswOTAwLCBUb21hc3ogRmlnYSB3cm90ZToNCj4g SGkgWGlhLA0KPiANCj4gT24gVHVlLCBNYXIgMDMsI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