#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 |
static int pam_encode_frame | ( | AVCodecContext * | avctx, | |
AVPacket * | pkt, | |||
const AVFrame * | pict, | |||
int * | got_packet | |||
) | [static] |
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"), }