Iliyan Malchev | 6d01645 | 2013-03-27 16:27:56 -0700 | [diff] [blame] | 1 | /* |
| 2 | ** Copyright (c) 2011 The Linux Foundation. All rights reserved. |
| 3 | ** |
| 4 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ** you may not use this file except in compliance with the License. |
| 6 | ** You may obtain a copy of the License at |
| 7 | ** |
| 8 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ** |
| 10 | ** Unless required by applicable law or agreed to in writing, software |
| 11 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ** See the License for the specific language governing permissions and |
| 14 | ** limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /*#error uncomment this for compiler test!*/ |
| 18 | |
| 19 | #define ALOG_NDEBUG 0 |
| 20 | #define ALOG_NIDEBUG 0 |
| 21 | #define LOG_TAG "QCameraHWI_Display" |
| 22 | #include <utils/Log.h> |
| 23 | #include <utils/threads.h> |
| 24 | #include <fcntl.h> |
| 25 | #include <sys/mman.h> |
| 26 | |
| 27 | #include "QCameraHAL.h" |
| 28 | #include "QCameraHWI.h" |
| 29 | #include "QCameraHWI_Display.h" |
| 30 | |
| 31 | |
| 32 | namespace android { |
| 33 | |
| 34 | int QCameraDisplay_Overlay::Display_prepare_buffers() |
| 35 | { |
| 36 | return 0; |
| 37 | } |
| 38 | |
| 39 | |
| 40 | int QCameraDisplay_Overlay::Display_set_crop() |
| 41 | { |
| 42 | return 0; |
| 43 | } |
| 44 | |
| 45 | |
| 46 | int QCameraDisplay_Overlay::Display_set_geometry() |
| 47 | { |
| 48 | return 0; |
| 49 | } |
| 50 | |
| 51 | |
| 52 | void QCameraDisplay_Overlay::Display_enqueue() |
| 53 | { |
| 54 | return ; |
| 55 | } |
| 56 | |
| 57 | |
| 58 | |
| 59 | void QCameraDisplay_Overlay::Display_dequeue() |
| 60 | { |
| 61 | return ; |
| 62 | } |
| 63 | |
| 64 | |
| 65 | void QCameraDisplay_Overlay::Display_release_buffers() |
| 66 | { |
| 67 | return ; |
| 68 | } |
| 69 | |
| 70 | QCameraDisplay::~QCameraDisplay(){} |
| 71 | |
| 72 | QCameraDisplay_Overlay::~QCameraDisplay_Overlay() |
| 73 | { |
| 74 | return ; |
| 75 | } |
| 76 | }; // namespace android |