#include <inttypes.h>
#include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h"
#include "avformat.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()
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 69 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 86 of file lxfdec.c.
Referenced by get_packet_header().
◆ get_packet_header()
◆ lxf_read_header()
◆ lxf_read_packet()
◆ lxf_tags
Initial value:= {
}
preferred ID for MPEG-1/2 video decoding
Definition at line 35 of file lxfdec.c.
◆ ff_lxf_demuxer
Initial value:= {
.name = "lxf",
}
static int lxf_read_header(AVFormatContext *s)
static int lxf_probe(AVProbeData *p)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt)
static const AVCodecTag lxf_tags[]
Definition at line 336 of file lxfdec.c.