FFmpeg
|
mxg.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/mjpeg.h"
#include "avformat.h"
#include "internal.h"
#include "avio.h"
Include dependency graph for mxg.c:
Go to the source code of this file.
Data Structures | |
struct | MXGContext |
Macros | |
#define | DEFAULT_PACKET_SIZE 1024 |
#define | OVERREAD_SIZE 3 |
Typedefs | |
typedef struct MXGContext | MXGContext |
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 |
Macro Definition Documentation
#define DEFAULT_PACKET_SIZE 1024 |
Definition at line 29 of file mxg.c.
Referenced by mxg_read_packet().
#define OVERREAD_SIZE 3 |
Definition at line 30 of file mxg.c.
Referenced by mxg_read_packet().
Typedef Documentation
typedef struct MXGContext MXGContext |
Function Documentation
|
static |
Definition at line 74 of file mxg.c.
Referenced by mxg_read_packet().
|
static |
|
static |
|
static |
Definition at line 99 of file mxg.c.
Referenced by mxg_read_packet().
Variable Documentation
AVInputFormat ff_mxg_demuxer |
Initial value:
= {
.name = "mxg",
.long_name = NULL_IF_CONFIG_SMALL("MxPEG clip"),
.priv_data_size = sizeof(MXGContext),
.read_close = mxg_close,
.extensions = "mxg",
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
struct MXGContext MXGContext
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11