#include "avformat.h"
#include "internal.h"
#include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h"
Go to the source code of this file.
Defines | |
#define | MAX_FRAME_SIZE 10 |
#define | SYNC_WORD 0x6b21 |
#define | BIT_0 0x7f |
#define | BIT_1 0x81 |
Functions | |
static int | probe (AVProbeData *p) |
static int | read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | write_header (AVFormatContext *s) |
static int | write_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
AVInputFormat | ff_bit_demuxer |
AVOutputFormat | ff_bit_muxer |
#define BIT_0 0x7f |
Definition at line 29 of file bit.c.
Referenced by write_packet().
#define BIT_1 0x81 |
Definition at line 30 of file bit.c.
Referenced by read_packet(), and write_packet().
#define MAX_FRAME_SIZE 10 |
Definition at line 26 of file bit.c.
Referenced by read_packet().
#define SYNC_WORD 0x6b21 |
Definition at line 28 of file bit.c.
Referenced by probe(), and write_packet().
static int probe | ( | AVProbeData * | p | ) | [static] |
static int read_header | ( | AVFormatContext * | s, | |
AVFormatParameters * | ap | |||
) | [static] |
static int read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int write_header | ( | AVFormatContext * | s | ) | [static] |
static int write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
{ .name = "bit", .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"), .read_probe = probe, .read_header = read_header, .read_packet = read_packet, .extensions = "bit", }
{ .name = "bit", .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"), .mime_type = "audio/bit", .extensions = "bit", .audio_codec = CODEC_ID_G729, .video_codec = CODEC_ID_NONE, .write_header = write_header, .write_packet = write_packet, }