FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
libutvideoenc.cpp File Reference

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

#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "libutvideo.h"
#include "put_bits.h"

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), 'ULH0' (YCbCr 4:2:0 BT.709), 'ULH2' (YCbCr 4:2:2 BT.709)

Definition in file libutvideoenc.cpp.

Function Documentation

static av_cold int utvideo_encode_init ( AVCodecContext avctx)
static

Definition at line 37 of file libutvideoenc.cpp.

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

Definition at line 135 of file libutvideoenc.cpp.

static av_cold int utvideo_encode_close ( AVCodecContext avctx)
static

Definition at line 207 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,
}
#define NULL
Definition: coverity.c:32
static int utvideo_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet)
#define AV_CODEC_CAP_AUTO_THREADS
Codec supports avctx->thread_count == 0 (auto).
Definition: avcodec.h:932
static av_cold int utvideo_encode_init(AVCodecContext *avctx)
#define AV_CODEC_CAP_INTRA_ONLY
Codec is intra only.
Definition: avcodec.h:940
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:66
#define AV_PIX_FMT_RGB32
Definition: pixfmt.h:357
packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
Definition: pixfmt.h:64
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:63
#define AV_CODEC_CAP_LOSSLESS
Codec is lossless.
Definition: avcodec.h:944
AVPixelFormat
Pixel format.
Definition: pixfmt.h:61

Definition at line 220 of file libutvideoenc.cpp.