libklvanc
 All Classes Files Functions Variables Enumerations Macros
vanc-eia_608.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Kernel Labs Inc. All Rights Reserved
3  *
4  * Address: Kernel Labs Inc., PO Box 745, St James, NY. 11780
5  * Contact: sales@kernellabs.com
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
29 #ifndef _VANC_EIA_608_H
30 #define _VANC_EIA_608_H
31 
32 #include <libklvanc/vanc-packets.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
42 {
43  struct klvanc_packet_header_s hdr;
44  int nr;
45  unsigned char payload[3];
46 
47  /* Parsed */
48  int marker_bits;
49  int cc_valid;
50  int cc_type;
51  unsigned char cc_data_1;
52  unsigned char cc_data_2;
53 };
54 
61 int klvanc_dump_EIA_608(struct klvanc_context_s *ctx, void *p);
62 
63 #ifdef __cplusplus
64 };
65 #endif
66 
67 #endif /* _VANC_EIA_608_H */
TODO - Brief description goes here.
Definition: vanc-packets.h:57
TODO - Brief description goes here.
Definition: vanc-eia_608.h:41
Application specific context, the library allocates and stores user specific instance information...
Definition: vanc.h:118
int klvanc_dump_EIA_608(struct klvanc_context_s *ctx, void *p)
TODO - Brief description goes here.
VANC Headers and packet structure.