libavcodec/r210enc.c File Reference

#include "avcodec.h"
#include "bytestream.h"

Go to the source code of this file.

Functions

static av_cold int encode_init (AVCodecContext *avctx)
static int encode_frame (AVCodecContext *avctx, uint8_t *buf, int buf_size, void *data)
static av_cold int encode_close (AVCodecContext *avctx)

Variables

AVCodec ff_r210_encoder
AVCodec ff_r10k_encoder
AVCodec ff_avrp_encoder

Function Documentation

static av_cold int encode_close ( AVCodecContext avctx  )  [static]

Definition at line 78 of file r210enc.c.

static int encode_frame ( AVCodecContext avctx,
uint8_t *  buf,
int  buf_size,
void *  data 
) [static]

Definition at line 36 of file r210enc.c.

static av_cold int encode_init ( AVCodecContext avctx  )  [static]

Definition at line 26 of file r210enc.c.


Variable Documentation

Initial value:
 {
    .name           = "avrp",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_AVRP,
    .init           = encode_init,
    .encode         = encode_frame,
    .close          = encode_close,
    .pix_fmts       = (const enum PixelFormat[]) { PIX_FMT_RGB48, PIX_FMT_NONE },
    .long_name      = NULL_IF_CONFIG_SMALL("Avid 1:1 10-bit RGB Packer"),
}

Definition at line 110 of file r210enc.c.

Initial value:
 {
    .name           = "r10k",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_R10K,
    .init           = encode_init,
    .encode         = encode_frame,
    .close          = encode_close,
    .pix_fmts       = (const enum PixelFormat[]) { PIX_FMT_RGB48, PIX_FMT_NONE },
    .long_name      = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"),
}

Definition at line 98 of file r210enc.c.

Initial value:
 {
    .name           = "r210",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_R210,
    .init           = encode_init,
    .encode         = encode_frame,
    .close          = encode_close,
    .pix_fmts       = (const enum PixelFormat[]) { PIX_FMT_RGB48, PIX_FMT_NONE },
    .long_name      = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"),
}

Definition at line 86 of file r210enc.c.