libavformat/icoenc.c File Reference

Microsoft Windows ICO muxer. More...

#include "libavutil/intreadwrite.h"
#include "libavutil/pixdesc.h"
#include "avformat.h"

Go to the source code of this file.

Data Structures

struct  IcoImage
struct  IcoMuxContext


static int ico_check_attributes (AVFormatContext *s, const AVCodecContext *c)
static int ico_write_header (AVFormatContext *s)
static int ico_write_packet (AVFormatContext *s, AVPacket *pkt)
static int ico_write_trailer (AVFormatContext *s)


AVOutputFormat ff_ico_muxer

Detailed Description

Microsoft Windows ICO muxer.

Definition in file icoenc.c.

Function Documentation

static int ico_check_attributes ( AVFormatContext s,
const AVCodecContext c 
) [static]

Definition at line 45 of file icoenc.c.

Referenced by ico_write_header().

static int ico_write_header ( AVFormatContext s  )  [static]

Definition at line 77 of file icoenc.c.

static int ico_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 113 of file icoenc.c.

static int ico_write_trailer ( AVFormatContext s  )  [static]

Definition at line 159 of file icoenc.c.

Variable Documentation

Initial value:

    .name           = "ico",
    .long_name      = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"),
    .priv_data_size = sizeof(IcoMuxContext),
    .mime_type      = "image/",
    .extensions     = "ico",
    .audio_codec    = CODEC_ID_NONE,
    .video_codec    = CODEC_ID_BMP,
    .write_header   = ico_write_header,
    .write_packet   = ico_write_packet,
    .write_trailer  = ico_write_trailer,
    .flags          = AVFMT_NOTIMESTAMPS,

Definition at line 192 of file icoenc.c.

Generated on Fri Oct 26 02:50:10 2012 for FFmpeg by  doxygen 1.5.8