1676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong/*
2676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * Copyright (C) 2017 The Android Open Source Project
3676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong *
4676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * Licensed under the Apache License, Version 2.0 (the "License");
5676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * you may not use this file except in compliance with the License.
6676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * You may obtain a copy of the License at
7676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong *
8676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong *      http://www.apache.org/licenses/LICENSE-2.0
9676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong *
10676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * Unless required by applicable law or agreed to in writing, software
11676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * distributed under the License is distributed on an "AS IS" BASIS,
12676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * See the License for the specific language governing permissions and
14676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong * limitations under the License.
15676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong */
16676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong
17676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong#include "MatrixKernel.h"
18676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong
19676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hongnamespace android {
20676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hongnamespace vintf {
21676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong
22676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hongbool MatrixKernel::operator==(const MatrixKernel &other) const {
233f5489a519f5f1a7eb8bd7873a3170057502d93bYifan Hong    if (mMinLts != other.mMinLts)
24676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong        return false;
253f5489a519f5f1a7eb8bd7873a3170057502d93bYifan Hong    if (mConfigs != other.mConfigs)
26676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong        return false;
27676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong    return true;
28676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong}
29676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong
30676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong} // namespace vintf
31676447acd00ebf93d1023f79fc02b5cbbb86dda2Yifan Hong} // namespace android
32