blob: dcc7739fb0e466a5e16bc7d3d5b99784ea323825 [file] [log] [blame]
/*
* Copyright 2013, 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 toggle 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.
*/
/*!
* \file ExynosCameraActivityUCTL.h
* \brief hearder file for CAMERA HAL MODULE
* \author Pilsun Jang(pilsun.jang@samsung.com)
* \date 2013/12/16
*
*/
#ifndef EXYNOS_CAMERA_ACTIVITY_UCTL_H__
#define EXYNOS_CAMERA_ACTIVITY_UCTL_H__
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/poll.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <utils/threads.h>
#include <videodev2.h>
#include <videodev2_exynos_camera.h>
#include <linux/vt.h>
#include <utils/RefBase.h>
#include <utils/String8.h>
#include <utils/List.h>
#include "cutils/properties.h"
#include "exynos_format.h"
#include "ExynosBuffer.h"
#include "ExynosRect.h"
#include "ExynosJpegEncoderForCamera.h"
#include "ExynosExif.h"
#include "exynos_v4l2.h"
#include "fimc-is-metadata.h"
#include "ExynosCameraActivityBase.h"
namespace android {
class ExynosCameraActivityUCTL : public ExynosCameraActivityBase {
public:
ExynosCameraActivityUCTL();
virtual ~ExynosCameraActivityUCTL();
protected:
int t_funcNull(void *args);
int t_funcSensorBefore(void *args);
int t_funcSensorAfter(void *args);
int t_func3ABefore(void *args);
int t_func3AAfter(void *args);
#ifdef USE_HAL3_2_METADATA_INTERFACE
int t_func3ABeforeHAL3(void *args);
int t_func3AAfterHAL3(void *args);
#endif
int t_funcISPBefore(void *args);
int t_funcISPAfter(void *args);
int t_funcSCPBefore(void *args);
int t_funcSCPAfter(void *args);
int t_funcSCCBefore(void *args);
int t_funcSCCAfter(void *args);
public:
void setDeviceRotation(int rotation);
private:
int m_rotation;
};
}
#endif /* EXYNOS_CAMERA_ACTIVITY_UCTL_H__ */