#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.
#define LXF_MAX_PACKET_HEADER_SIZE 256 |
#define LXF_HEADER_DATA_SIZE 120 |
#define LXF_IDENT "LEITCH\0" |
#define LXF_IDENT_LENGTH 8 |
#define LXF_SAMPLERATE 48000 |
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().
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().
Initial value:= {
}
preferred ID for MPEG-1/2 video decoding
Definition at line 35 of file lxfdec.c.
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.