MOON
Server: Apache
System: Linux tor1.bhservers.net 2.6.18-519.el5.lve0.8.91PAE #1 SMP Sun Feb 26 11:44:49 EST 2017 i686
User: jfdrouin (2262)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/include/dc1394/dc1394_utils.h
/*
 * 1394-Based Digital Camera Control Library utilities
 * Copyright (C) Damien Douxchamps <ddouxchamps@users.sf.net>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
#ifndef __DC1394_UTILS_H__
#define __DC1394_UTILS_H__

#include "dc1394_control.h"

#ifdef __cplusplus
extern "C" {
#endif

dc1394error_t dc1394_get_image_size_from_video_mode(dc1394camera_t *camera, uint_t video_mode, uint_t *width, uint_t *height);
dc1394error_t dc1394_framerate_as_float(dc1394framerate_t framerate_enum, float *framerate);
dc1394error_t dc1394_get_bytes_per_pixel(dc1394color_coding_t color_coding, float* bpp);
dc1394error_t dc1394_get_color_coding_from_video_mode(dc1394camera_t *camera, dc1394video_mode_t video_mode, dc1394color_coding_t *color_coding);
dc1394error_t dc1394_is_color(dc1394color_coding_t color_mode, dc1394bool_t *is_color);
dc1394bool_t dc1394_is_video_mode_scalable(dc1394video_mode_t video_mode);
dc1394bool_t dc1394_is_video_mode_still_image(dc1394video_mode_t video_mode);
dc1394error_t dc1394_update_camera_info(dc1394camera_t *camera);

#ifdef __cplusplus
}
#endif

#endif /* _DC1394_UTILS_H */