Libav
Functions | Variables
pamenc.c File Reference
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"

Go to the source code of this file.

Functions

static int pam_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
 
static av_cold int pam_encode_init (AVCodecContext *avctx)
 
static av_cold int pam_encode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_pam_encoder
 

Function Documentation

§ pam_encode_frame()

static int pam_encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame pict,
int *  got_packet 
)
static

Definition at line 26 of file pamenc.c.

§ pam_encode_init()

static av_cold int pam_encode_init ( AVCodecContext avctx)
static

Definition at line 110 of file pamenc.c.

§ pam_encode_close()

static av_cold int pam_encode_close ( AVCodecContext avctx)
static

Definition at line 122 of file pamenc.c.

Variable Documentation

§ ff_pam_encoder

AVCodec ff_pam_encoder
Initial value:
= {
.name = "pam",
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
.init = pam_encode_init,
.close = pam_encode_close,
.encode2 = pam_encode_frame,
.pix_fmts = (const enum AVPixelFormat[]){
},
}
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:67
static av_cold int pam_encode_init(AVCodecContext *avctx)
Definition: pamenc.c:110
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:145
static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet)
Definition: pamenc.c:26
static av_cold int pam_encode_close(AVCodecContext *avctx)
Definition: pamenc.c:122
#define AV_PIX_FMT_RGB32
Definition: pixfmt.h:222
Y , 8bpp.
Definition: pixfmt.h:73
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
Definition: pixfmt.h:74
AVPixelFormat
Pixel format.
Definition: pixfmt.h:63

Definition at line 128 of file pamenc.c.