Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp173054pxa; Fri, 14 Aug 2020 00:16:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybE7XhhTriOLXmgs74FkXwkCFdlSzcGSXZOdRDVGv5bSfkxARPbkQ5n8gRmufhZtkBiDuj X-Received: by 2002:aa7:df15:: with SMTP id c21mr1000174edy.334.1597389365387; Fri, 14 Aug 2020 00:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597389365; cv=none; d=google.com; s=arc-20160816; b=KlPsqGehttXHJOzsBVhpTagAP8eLlg0J3kiUy2LgfNEZ/G3MJ2vbrNEVi/wuco3jIc jpvrP8fE9EM6SkRBa3UlezkaQIx3g/vEZIVN8P6ROWOcxKPEA8t6knNmafYLtei6DQDS cstUQui7BfYkCiWbxkIFwJpdMqDA+X27hptXX05wnanPWJVdpVKz6cLQVFWZy1ZMhoY8 e+SY+1dh4x4Mxg8KN6O56Nz1zemwOSRF7DL/EE3bOfmd1AiFPROzOR3Ee9l8vPvOqpon D22WPL2tfcXQHg6dA9YP7oKV4lgx7HVtWZh3pyNyxw0aiukpBv5OrSH8Lgpa20jMyyZc xTyw== 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=1GYuN+LcBPlFEx+0Dh2Uxise7OCvxH4yOt7pqymOxBM=; b=e186zVFxaI4+iR7nO7jQiBHe43Q2pwxJP+z5WpV1aXqAn8rK9IucuUEwZ5O6wIvAq1 3Xy2sadvF/+ecJWCi2YIwK/uD+9xKl9iZW7W5c/laXktr2Qbd/R1eQrrJjOZp3u+9Vwx hzQaFzWBWFrYP6YtVe/eC47B6tA+l46TZA5Wpp29kAw3hfpYrcFwypZCAtrwnPKY4rwl Zu/bRwJI8GlilB9s1eNizdX4pNkUIO3YdeB/I7xd7TNnasj1gDYKM6aLgMOqwVFxGxBa 8H6ScxEPKQAOxdElQNOXDW/7UefPffA6vRDpng7EWJrt/IHk5rDskhScmebLrxX4k6xH /eaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Fxn7NDYI; 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 gr8si4770706ejb.601.2020.08.14.00.15.42; Fri, 14 Aug 2020 00:16:05 -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=Fxn7NDYI; 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 S1727066AbgHNHO0 (ORCPT + 99 others); Fri, 14 Aug 2020 03:14:26 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:21934 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726861AbgHNHNj (ORCPT ); Fri, 14 Aug 2020 03:13:39 -0400 X-UUID: 62fad3c25a5242609b4ca3443f39ee43-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=1GYuN+LcBPlFEx+0Dh2Uxise7OCvxH4yOt7pqymOxBM=; b=Fxn7NDYIZh3+pbD9fPlCgkqsketoJuvMde8H6muFf5Z98uCCYsGx7H+KE+eHsGmLbJRlztArXjI6lArsh5Rv7qGqa+JgjapaZaWpZBNzsTU2xdQi/RkGtxuc51g/Vr44mtKaxd81wIS2A7Ti3mqNJKxhWqJGGhQ6sn5iIMMuLE0=; X-UUID: 62fad3c25a5242609b4ca3443f39ee43-20200814 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1550802922; Fri, 14 Aug 2020 15:13:29 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Aug 2020 15:13:26 +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:25 +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 20/29] media: platform: Redefinition of mtk_jpeg_q_data structure Date: Fri, 14 Aug 2020 15:11:53 +0800 Message-ID: <20200814071202.25067-22-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 VGhlIHN0YW5kYXJkIHY0bDJfcGl4X2Zvcm1hdF9tcGxhbmUgc3RydWN0dXJlIGNvbnRhaW5zIHdp ZHRoL2hlaWdodC8NCnNpemVpbWFnZS9ieXRlc3BlcmxpbmUsIHNvIHVzZSB2NGwy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