Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
rtp.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2014 The Paparazzi Community
3  *
4  * This file is part of Paparazzi.
5  *
6  * Paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * Paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, see
18  * <http://www.gnu.org/licenses/>.
19  *
20  */
21 
28 #ifndef _CV_ENCODING_RTP_H
29 #define _CV_ENCODING_RTP_H
30 
31 #include "std.h"
32 #include "lib/vision/image.h"
33 #include "udp_socket.h"
34 
35 void rtp_frame_send(struct UdpSocket *udp, struct image_t *img, uint8_t format_code, uint8_t quality_code,
36  uint8_t has_dri_header, float average_frame_rate, uint16_t *packet_number, uint32_t *rtp_time_counter);
37 void rtp_frame_test(struct UdpSocket *udp);
38 
39 #endif /* _CV_ENCODING_RTP_H */
uint16_t
unsigned short uint16_t
Definition: types.h:16
uint32_t
unsigned long uint32_t
Definition: types.h:18
udp_socket.h
std.h
rtp_frame_send
void rtp_frame_send(struct UdpSocket *udp, struct image_t *img, uint8_t format_code, uint8_t quality_code, uint8_t has_dri_header, float average_frame_rate, uint16_t *packet_number, uint32_t *rtp_time_counter)
Send an RTP frame.
Definition: rtp.c:127
uint8_t
unsigned char uint8_t
Definition: types.h:14
image.h
rtp_frame_test
void rtp_frame_test(struct UdpSocket *udp)
Send a test RTP frame.
Definition: rtp.c:95
UdpSocket
Definition: udp_socket.h:34
image_t
Definition: image.h:44