libavcodec/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 *pict, int *got_packet)

Variables

AVCodec ff_pam_encoder


Function Documentation

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

Definition at line 27 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,
    .encode2        = 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 132 of file pamenc.c.


Generated on Fri Oct 26 02:47:58 2012 for FFmpeg by  doxygen 1.5.8