#include "libavutil/intreadwrite.h"
#include "libavcodec/mjpeg.h"
#include "avformat.h"
#include "internal.h"
#include "avio.h"
Go to the source code of this file.
Data Structures | |
struct | MXGContext |
Defines | |
#define | DEFAULT_PACKET_SIZE 1024 |
#define | OVERREAD_SIZE 3 |
Functions | |
static int | mxg_read_header (AVFormatContext *s) |
static uint8_t * | mxg_find_startmarker (uint8_t *p, uint8_t *end) |
static int | mxg_update_cache (AVFormatContext *s, unsigned int cache_size) |
static int | mxg_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | mxg_close (struct AVFormatContext *s) |
Variables | |
AVInputFormat | ff_mxg_demuxer |
#define DEFAULT_PACKET_SIZE 1024 |
#define OVERREAD_SIZE 3 |
static int mxg_close | ( | struct AVFormatContext * | s | ) | [static] |
static int mxg_read_header | ( | AVFormatContext * | s | ) | [static] |
static int mxg_read_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int mxg_update_cache | ( | AVFormatContext * | s, | |
unsigned int | cache_size | |||
) | [static] |
Initial value:
{ .name = "mxg", .long_name = NULL_IF_CONFIG_SMALL("MxPEG clip"), .priv_data_size = sizeof(MXGContext), .read_header = mxg_read_header, .read_packet = mxg_read_packet, .read_close = mxg_close, .extensions = "mxg", }