libavcodec/pamenc.c File Reference

#include "avcodec.h"
#include "pnm.h"

Go to the source code of this file.

Functions

static int pam_encode_frame (AVCodecContext *avctx, unsigned char *outbuf, int buf_size, void *data)

Variables

AVCodec ff_pam_encoder


Function Documentation

static int pam_encode_frame ( AVCodecContext avctx,
unsigned char *  outbuf,
int  buf_size,
void *  data 
) [static]

Definition at line 26 of file pamenc.c.


Variable Documentation

Initial value:

 {
    .name           = "pam",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_PAM,
    .priv_data_size = sizeof(PNMContext),
    .init           = ff_pnm_init,
    .encode         = pam_encode_frame,
    .pix_fmts  = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_RGB48BE, PIX_FMT_RGBA64BE, PIX_FMT_GRAY8, PIX_FMT_GRAY8A, PIX_FMT_GRAY16BE, PIX_FMT_MONOBLACK, PIX_FMT_NONE},
    .long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
}

Definition at line 129 of file pamenc.c.


Generated on Fri Oct 26 02:46:09 2012 for FFmpeg by  doxygen 1.5.8