FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
icodec.c File Reference

Microsoft Windows ICO demuxer. More...

#include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/bmp.h"
#include "libavcodec/png.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  IcoImage
 
struct  IcoDemuxContext
 

Functions

static int probe (AVProbeData *p)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_ico_demuxer
 

Detailed Description

Microsoft Windows ICO demuxer.

Definition in file icodec.c.

Function Documentation

static int probe ( AVProbeData p)
static

Definition at line 46 of file icodec.c.

static int read_header ( AVFormatContext s)
static

Definition at line 78 of file icodec.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 144 of file icodec.c.

Variable Documentation

AVInputFormat ff_ico_demuxer
Initial value:
= {
.name = "ico",
.long_name = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"),
.priv_data_size = sizeof(IcoDemuxContext),
}
static int probe(AVProbeData *p)
Definition: icodec.c:46
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
#define AVFMT_NOTIMESTAMPS
Format does not need / have any timestamps.
Definition: avformat.h:484
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: icodec.c:144
static int flags
Definition: cpu.c:47
static int read_header(AVFormatContext *s)
Definition: icodec.c:78

Definition at line 200 of file icodec.c.