#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()
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 69 of file lxfdec.c.
Referenced by get_packet_header().
§ sync()
§ 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 lxf_read_packet(AVFormatContext *s, AVPacket *pkt)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
static const AVCodecTag lxf_tags[]
Definition at line 335 of file lxfdec.c.