2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef __TIZEN_MULTIMEDIA_CAMERA_INTERNAL_H__
18 #define __TIZEN_MULTIMEDIA_CAMERA_INTERNAL_H__
27 * @file camera_internal.h
28 * @brief This file contains the internal Camera API, related structures and enumerations.
33 * @addtogroup CAPI_MEDIA_CAMERA_INTERNAL_MODULE
38 * @brief Start the evas rendering.
41 * @param[in] camera The handle to the camera
42 * @return @c 0 on success, otherwise a negative error value
43 * @retval #CAMERA_ERROR_NONE Successful
44 * @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
45 * @retval #CAMERA_ERROR_INVALID_STATE Invalid state
46 * @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
47 * @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
49 int camera_start_evas_rendering(camera_h camera);
52 * @brief Stop the evas rendering.
55 * @param[in] camera The handle to the camera
56 * @param[in] keep_screen If @c true keep last frame on display, otherwise @c false
57 * @return @c 0 on success, otherwise a negative error value
58 * @retval #CAMERA_ERROR_NONE Successful
59 * @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
60 * @retval #CAMERA_ERROR_INVALID_STATE Invalid state
61 * @retval #CAMERA_ERROR_INVALID_OPERATION Invalid operation
62 * @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
64 int camera_stop_evas_rendering(camera_h camera, bool keep_screen);
73 #endif /* __TIZEN_MULTIMEDIA_CAMERA_INTERNAL_H__ */