FFmpeg  4.0
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 int encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
 

Variables

AVCodec ff_alias_pix_encoder
 

Macro Definition Documentation

◆ ALIAS_HEADER_SIZE

#define ALIAS_HEADER_SIZE   10

Definition at line 28 of file aliaspixenc.c.

Referenced by encode_frame().

Function Documentation

◆ encode_frame()

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

Definition at line 30 of file aliaspixenc.c.

Variable Documentation

◆ ff_alias_pix_encoder

AVCodec ff_alias_pix_encoder
Initial value:
= {
.name = "alias_pix",
.long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
.encode2 = encode_frame,
.pix_fmts = (const enum AVPixelFormat[]) {
},
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:65
Y , 8bpp.
Definition: pixfmt.h:70
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Definition: aliaspixenc.c:30
AVPixelFormat
Pixel format.
Definition: pixfmt.h:60

Definition at line 113 of file aliaspixenc.c.