#include <inttypes.h>
#include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
Go to the source code of this file.
◆ LXF_MAX_PACKET_HEADER_SIZE
#define LXF_MAX_PACKET_HEADER_SIZE 256 |
◆ LXF_HEADER_DATA_SIZE
#define LXF_HEADER_DATA_SIZE 120 |
◆ LXF_IDENT
#define LXF_IDENT "LEITCH\0" |
◆ LXF_IDENT_LENGTH
#define LXF_IDENT_LENGTH 8 |
◆ LXF_SAMPLERATE
#define LXF_SAMPLERATE 48000 |
◆ lxf_probe()
◆ check_checksum()
static int check_checksum |
( |
const uint8_t * |
header, |
|
|
int |
size |
|
) |
| |
|
static |
Verify the checksum of an LXF packet header.
- Parameters
-
[in] | header | the packet header to check |
- Returns
- zero if the checksum is OK, non-zero otherwise
Definition at line 70 of file lxfdec.c.
Referenced by get_packet_header().
◆ lxf_sync()
Read input until we find the next ident.
If found, copy it to the header buffer
- Parameters
-
[out] | header | where to copy the ident to |
- Returns
- 0 if an ident was found, < 0 on I/O error
Definition at line 87 of file lxfdec.c.
Referenced by get_packet_header().
◆ get_packet_header()
◆ lxf_read_header()
◆ lxf_read_packet()
◆ lxf_tags
◆ ff_lxf_demuxer
Initial value:
Definition at line 338 of file lxfdec.c.