libutvideoenc.cpp File Reference

Known FOURCCs: 'ULY0' (YCbCr 4:2:0), 'ULY2' (YCbCr 4:2:2), 'ULRG' (RGB), 'ULRA' (RGBA) More...

#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "libutvideo.h"
#include "put_bits.h"
Include dependency graph for libutvideoenc.cpp:

Go to the source code of this file.

Functions

static av_cold int utvideo_encode_init (AVCodecContext *avctx)
 
static int utvideo_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet)
 
static av_cold int utvideo_encode_close (AVCodecContext *avctx)
 

Variables

AVCodec ff_libutvideo_encoder
 

Detailed Description

Known FOURCCs: 'ULY0' (YCbCr 4:2:0), 'ULY2' (YCbCr 4:2:2), 'ULRG' (RGB), 'ULRA' (RGBA)

Definition in file libutvideoenc.cpp.

Function Documentation

static av_cold int utvideo_encode_close ( AVCodecContext avctx)
static

Definition at line 196 of file libutvideoenc.cpp.

static int utvideo_encode_frame ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame pic,
int *  got_packet 
)
static

Definition at line 122 of file libutvideoenc.cpp.

static av_cold int utvideo_encode_init ( AVCodecContext avctx)
static

Definition at line 36 of file libutvideoenc.cpp.

Variable Documentation

AVCodec ff_libutvideo_encoder
Initial value:
= {
"libutvideo",
NULL_IF_CONFIG_SMALL("Ut Video"),
NULL,
(const enum AVPixelFormat[]) {
},
NULL,
NULL,
NULL,
0,
NULL,
NULL,
sizeof(UtVideoContext),
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
static int utvideo_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet)
#define CODEC_CAP_LOSSLESS
Codec is lossless.
static av_cold int utvideo_encode_init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define CODEC_CAP_AUTO_THREADS
Codec supports avctx->thread_count == 0 (auto).
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:71
NULL
Definition: eval.c:55
#define AV_PIX_FMT_RGB32
Definition: pixfmt.h:259
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
Definition: pixfmt.h:69
static av_cold int utvideo_encode_close(AVCodecContext *avctx)
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:68
AVPixelFormat
Pixel format.
Definition: pixfmt.h:66

Definition at line 210 of file libutvideoenc.cpp.