FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
aliaspixenc.c File Reference
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"

Go to the source code of this file.

Macros

#define ALIAS_HEADER_SIZE   10
 

Functions

static av_cold int encode_init (AVCodecContext *avctx)
 
static int encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
 
static av_cold int encode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_alias_pix_encoder
 

Macro Definition Documentation

#define ALIAS_HEADER_SIZE   10

Definition at line 28 of file aliaspixenc.c.

Referenced by encode_frame().

Function Documentation

static av_cold int encode_init ( AVCodecContext avctx)
static

Definition at line 30 of file aliaspixenc.c.

static int encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame frame,
int *  got_packet 
)
static

Definition at line 38 of file aliaspixenc.c.

static av_cold int encode_close ( AVCodecContext avctx)
static

Definition at line 117 of file aliaspixenc.c.

Variable Documentation

AVCodec ff_alias_pix_encoder
Initial value:
= {
.name = "alias_pix",
.long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
.init = encode_init,
.encode2 = encode_frame,
.close = encode_close,
.pix_fmts = (const enum AVPixelFormat[]) {
},
}

Definition at line 123 of file aliaspixenc.c.