FFmpeg  2.1.1
Functions | Variables
pamenc.c File Reference
#include "avcodec.h"
#include "internal.h"
#include "pnm.h"

Go to the source code of this file.

Functions

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

Variables

AVCodec ff_pam_encoder
 

Function Documentation

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

Definition at line 27 of file pamenc.c.

Variable Documentation

AVCodec ff_pam_encoder
Initial value:
= {
.name = "pam",
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
.priv_data_size = sizeof(PNMContext),
.encode2 = pam_encode_frame,
.pix_fmts = (const enum AVPixelFormat[]){
},
}
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: avcodec.h:4536
8bit gray, 8bit alpha
Definition: avcodec.h:4611
Pixel format.
Definition: avcodec.h:4533
Y , 8bpp.
Definition: avcodec.h:4542
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big...
Definition: avcodec.h:4579
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:151
AVPixelFormat
Pixel format.
Definition: pixfmt.h:66
Definition: pnm.h:27
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
Definition: avcodec.h:4684
static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *p, int *got_packet)
Definition: pamenc.c:27
Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb...
Definition: avcodec.h:4544
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: avcodec.h:4563
Y , 16bpp, big-endian.
Definition: avcodec.h:4567

Definition at line 127 of file pamenc.c.