Go to the source code of this file.
#define LXF_HEADER_DATA_SIZE 120 |
#define LXF_IDENT "LEITCH\0" |
#define LXF_IDENT_LENGTH 8 |
#define LXF_MAX_AUDIO_PACKET (8008*15*4) |
#define LXF_PACKET_HEADER_SIZE 60 |
#define LXF_SAMPLERATE 48000 |
static int check_checksum |
( |
const uint8_t * |
header | ) |
|
|
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 67 of file lxfdec.c.
Referenced by get_packet_header().
De-planerize the PCM data in lxf->temp FIXME: remove this once support for planar audio is added to libavcodec.
- Parameters
-
[out] | out | where to write the de-planerized data to |
[in] | bytes | the total size of the PCM data |
Definition at line 271 of file lxfdec.c.
Referenced by lxf_read_packet().
Read and checksum the next packet header.
- Parameters
-
[out] | header | the read packet header |
[out] | format | context dependent format information |
- Returns
- the size of the payload following the header or < 0 on failure
Definition at line 112 of file lxfdec.c.
Referenced by lxf_read_header(), and lxf_read_packet().
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 339 of file lxfdec.c.
Initial value:= {
}
preferred ID for MPEG-1/2 video decoding
Definition at line 33 of file lxfdec.c.