EIA/CEA-608 Closed Captions.
More...
Go to the source code of this file.
EIA/CEA-608 Closed Captions.
- Author
- Steven Toth stoth.nosp@m.@ker.nosp@m.nella.nosp@m.bs.c.nosp@m.om
- Copyright
- Copyright (c) 2016 Kernel Labs Inc. All Rights Reserved.
◆ klvanc_convert_EIA_608_to_packetBytes()
| int klvanc_convert_EIA_608_to_packetBytes |
( |
struct klvanc_packet_eia_608_s * | pkt, |
|
|
uint8_t ** | bytes, |
|
|
uint16_t * | byteCount ) |
Convert type struct klvanc_packet_eia_608_s into a block of bytes which represents
an EIA-608 packet (without DID/SDID/DC/checksum) On success, caller MUST free the resulting *bytes array.
- Parameters
-
| [in] | struct | klvanc_packet_eia_608_s *pkt - An EIA-608 VANC entry, received from the EIA-608 parser |
| [out] | uint8_t | **bytes - An array of bytes representing the serialized EIA-608 packet |
| [out] | uint16_t | *byteCount - Number of bytes in the array. |
- Returns
- 0 - Success
-
< 0 - Error
-
-ENOMEM - Not enough memory to satisfy request
◆ klvanc_convert_EIA_608_to_words()
| int klvanc_convert_EIA_608_to_words |
( |
struct klvanc_packet_eia_608_s * | pkt, |
|
|
uint16_t ** | words, |
|
|
uint16_t * | wordCount ) |
Convert type struct klvanc_packet_eia_608_s into a more traditional line of
vanc words, so that we may push out as VANC data. On success, caller MUST free the resulting *words array.
- Parameters
-
| [in] | struct | klvanc_packet_eia_608_s *pkt - A EIA-608 VANC entry |
| [out] | uint16_t | **words - An array of words representing a fully formed vanc line. |
| [out] | uint16_t | *wordCount - Number of words in the array. |
- Returns
- 0 - Success
-
< 0 - Error
-
-ENOMEM - Not enough memory to satisfy request
◆ klvanc_create_EIA_608()
Create an EIA-608 VANC packet.
- Parameters
-
- Returns
- 0 - Success
-
< 0 - Error
◆ klvanc_destroy_EIA_608()
Destroy an EIA-608 VANC packet.
- Parameters
-
◆ klvanc_dump_EIA_608()
TODO - Brief description goes here.
- Parameters
-
| [in] | struct | vanc_context_s *ctx, void *p - Brief description goes here. |
- Returns
- 0 - Success
-
< 0 - Error