Defines | Functions | Variables
video.cpp File Reference
#include <ardrone_autonomy/video.h>
Include dependency graph for video.cpp:

Go to the source code of this file.

Defines

#define CAMIF_H_CAMERA_USED   CAMIF_CAMERA_OVTRULY
#define NB_STAGES   10

Functions

C_RESULT export_stage_close (void *cfg, vp_api_io_data_t *in, vp_api_io_data_t *out)
C_RESULT export_stage_open (void *cfg, vp_api_io_data_t *in, vp_api_io_data_t *out)
C_RESULT export_stage_transform (void *cfg, vp_api_io_data_t *in, vp_api_io_data_t *out)

Variables

unsigned char buffer [MAX_STREAM_WIDTH *MAX_STREAM_HEIGHT *3]
int32_t current_frame_id = 0
ros::Time shared_video_receive_time
const vp_api_stage_funcs_t vp_stages_export_funcs

Detailed Description

Software License Agreement (BSD)

Authors:
Mani Monajjemi <mmonajje@sfu.ca>

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Autonomy Lab nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file video.cpp.


Define Documentation

#define CAMIF_H_CAMERA_USED   CAMIF_CAMERA_OVTRULY

Definition at line 28 of file video.cpp.

#define NB_STAGES   10

Definition at line 27 of file video.cpp.


Function Documentation

C_RESULT export_stage_close ( void *  cfg,
vp_api_io_data_t *  in,
vp_api_io_data_t *  out 
)

Definition at line 56 of file video.cpp.

C_RESULT export_stage_open ( void *  cfg,
vp_api_io_data_t *  in,
vp_api_io_data_t *  out 
)

Definition at line 34 of file video.cpp.

C_RESULT export_stage_transform ( void *  cfg,
vp_api_io_data_t *  in,
vp_api_io_data_t *  out 
)

Definition at line 39 of file video.cpp.


Variable Documentation

Definition at line 30 of file video.cpp.

int32_t current_frame_id = 0

Definition at line 31 of file video.cpp.

Definition at line 32 of file video.cpp.

const vp_api_stage_funcs_t vp_stages_export_funcs
Initial value:
{
  NULL,
  (vp_api_stage_open_t)export_stage_open,
  (vp_api_stage_transform_t)export_stage_transform,
  (vp_api_stage_close_t)export_stage_close
}

Definition at line 61 of file video.cpp.



ardrone_autonomy
Author(s): Mani Monajjemi, Mani Monajjemi
autogenerated on Fri Aug 28 2015 10:07:51