libklvanc
 All Classes Files Functions Variables Enumerations Macros
Classes | Functions
vanc-kl_u64le_counter.h File Reference

VANC counter library used for diagnostics/debugging. More...

#include <libklvanc/vanc-packets.h>

Go to the source code of this file.

Classes

struct  klvanc_packet_kl_u64le_counter_s
 TODO - Brief description goes here. More...
 

Functions

int klvanc_create_KL_U64LE_COUNTER (struct klvanc_packet_kl_u64le_counter_s **pkt)
 Create a KL counter packet. More...
 
int klvanc_dump_KL_U64LE_COUNTER (struct klvanc_context_s *ctx, void *p)
 TODO - Brief description goes here. More...
 
int klvanc_convert_KL_U64LE_COUNTER_to_words (struct klvanc_packet_kl_u64le_counter_s *pkt, uint16_t **words, uint16_t *wordCount)
 Convert type struct klvanc_packet_kl_u64le_counter_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. More...
 

Detailed Description

VANC counter library used for diagnostics/debugging.

Author
Steven Toth stoth.nosp@m.@ker.nosp@m.nella.nosp@m.bs.c.nosp@m.om

Function Documentation

int klvanc_convert_KL_U64LE_COUNTER_to_words ( struct klvanc_packet_kl_u64le_counter_s pkt,
uint16_t **  words,
uint16_t *  wordCount 
)

Convert type struct klvanc_packet_kl_u64le_counter_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]structklvanc_packet_kl_u64le_counter_s *pkt - A KL counter 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
int klvanc_create_KL_U64LE_COUNTER ( struct klvanc_packet_kl_u64le_counter_s **  pkt)

Create a KL counter packet.

Parameters
[out]structklvanc_packet_kl_u64le_counter_s **pkt - Pointer to newly created packet
Returns
0 - Success
< 0 - Error
int klvanc_dump_KL_U64LE_COUNTER ( struct klvanc_context_s ctx,
void *  p 
)

TODO - Brief description goes here.

Parameters
[in]structvanc_context_s *ctx, void *p - Brief description goes here.
Returns
0 - Success
< 0 - Error