diff options
author | TreeHugger Robot <android-build-prod@system.gserviceaccount.com> | 2020-03-01 04:07:02 +0000 |
---|---|---|
committer | TreeHugger Robot <android-build-prod@system.gserviceaccount.com> | 2020-03-01 04:07:02 +0000 |
commit | 8b10c41c0d3cb1522ba086d3eed6833f463e87f7 (patch) | |
tree | ff8909bafacfe04987c59d307faeff8a480421cc /libhwjpeg/ThumbnailScaler.cpp | |
parent | 34f863d5edd990092b10bd8a722753d3c4273117 (diff) | |
parent | da31ab682e4d0915f510e2175d533deaecc6970b (diff) |
Snap for 6251003 from da31ab682e4d0915f510e2175d533deaecc6970b to qt-hammersmith-release
Change-Id: I9ad7d6604f321b101609314793a4e464efd6c786
Diffstat (limited to 'libhwjpeg/ThumbnailScaler.cpp')
-rw-r--r-- | libhwjpeg/ThumbnailScaler.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libhwjpeg/ThumbnailScaler.cpp b/libhwjpeg/ThumbnailScaler.cpp new file mode 100644 index 0000000..4d6e5de --- /dev/null +++ b/libhwjpeg/ThumbnailScaler.cpp @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2019 Samsung Electronics Co.,LTD. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include <log/log.h> + +#include "ThumbnailScaler.h" +#include "LibScalerForJpeg.h" + +ThumbnailScaler *ThumbnailScaler::createInstance() +{ + ALOGD("Created thumbnail scaler: legacy V4L2 Scaler"); + return new LibScalerForJpeg(); +} |