Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp173724pxa; Fri, 14 Aug 2020 00:17:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnXtKc2Ph03bLd7x4K0gf/+WQn5An0/bhTy075TJyjESGI93SgR1tKws3BgSvBfjOrSTGi X-Received: by 2002:a17:906:4f8c:: with SMTP id o12mr1203220eju.69.1597389455146; Fri, 14 Aug 2020 00:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597389455; cv=none; d=google.com; s=arc-20160816; b=y00YlffG6UH9sm5vlpvuZytoC0IUrkyF1zaggZlIAl7unp6NC7cYOLoFyL4NFJbxGm 9O4D2qt9m4Zh6ZxsmH8rAL1b7reFL/6KPUn6H7tpF5+YGieXuiMw553GzEgFTfI2WZxa 4mCeqpokB0JFOqHSXfsSHx8/Wxk1UKIIUWFIjSRBx/BGEIlwDxxK6fwJxukb4JLbDjD1 1/mXr3ZfqfhIin4IdH/1fkmKFF0aQgTN90CyL730+gGVx8kO+m52VZesvJNur4uyKzui Vf/KEfaurt9+iiV0TUM/INbV4nRnljPd4yHwB+pRCMSgfQv2JsaRZh8sj1xImToYkovP HjMg== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=crUvt8nuDvIwkxYvh2kPsXXjmR/Sm+iXYgNO4EY94dM=; b=P3Eqpou+0Fw2fjPtEirQLCN1ROY1j8O4aOtAfJm1AWhOkw3tlEdYNOsr7tWF9KtXkt Jf9LGWvFIBSurEMYcboxjrCIWUIWIc1hUbnQrYSh6cbApMsfo3OfwSys5NqqmxL4/791 +dv9YprDENEiqfjv/o7Dc726wKyaR8a6kkmTYA5/4IVqd+hSGNhIv7h92+nLLwmzhPJc WKOEzFdQDhDQoTKCNvtTtg7eHm4otSUCyLqMoKjS5McEP6GI/rR8UyaFgC7UIvFQNb+X /8ZYUSgHd+e8bmUOxL+jyFGryQ7+HumqU7Y0P/faWcZt9vVaZM8T6zuocRvCipQy+tUY IkxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=qK2Os8Hw; 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 q6si4771296edg.496.2020.08.14.00.17.12; Fri, 14 Aug 2020 00:17:35 -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=qK2Os8Hw; 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 S1726932AbgHNHNk (ORCPT + 99 others); Fri, 14 Aug 2020 03:13:40 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:22567 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726845AbgHNHNe (ORCPT ); Fri, 14 Aug 2020 03:13:34 -0400 X-UUID: 24d48f2f65ce40059ab4c6db27f4f428-20200814 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=crUvt8nuDvIwkxYvh2kPsXXjmR/Sm+iXYgNO4EY94dM=; b=qK2Os8HwDmxtKwCkMb5zwM9hB7zhVEGdzJSSxM+NUOrlrrqT0XhcWShFpCzbYkSSEKsya6l56qYMjVABtTlOZ7GuWltETWXrKnCCuA6wZch4jHM8LcIMzRK+Ejp+zKdQvp66qy9gaFaRTcFAPaXJrUoZ0ZXMt+tjZqsLQWbkDp4=; X-UUID: 24d48f2f65ce40059ab4c6db27f4f428-20200814 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1078314387; Fri, 14 Aug 2020 15:13:30 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Aug 2020 15:13:28 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 14 Aug 2020 15:13:27 +0800 From: Xia Jiang To: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Rick Chang CC: , , , , , Marek Szyprowski , Tomasz Figa , , , , , , Xia Jiang Subject: [PATCH v12 21/29] media: platform: Change the colorspace of jpeg to the fixed value Date: Fri, 14 Aug 2020 15:11:54 +0800 Message-ID: <20200814071202.25067-23-xia.jiang@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200814071202.25067-1-xia.jiang@mediatek.com> References: <20200814071202.25067-1-xia.jiang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 SnBlZyBkb2Vzbid0IHN1cHBvcnQgY29sb3JzcGFjZSBjb252ZXJzaW9uLCBzbyBpdCBzaG91bGRu J3QgYWNjZXB0IGFueQ0Kb3RoZXIgY29sb3JzcGFjZSBpbiBTX0ZNVC4NCkNoYW5nZSB0aG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