#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Go to the source code of this file.
#define CLIP |
( |
|
v | ) |
av_clip(v, 4, 1019) |
#define WRITE_PIXELS |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value:do { \
val |= (
CLIP(*
b++) << 10) | \
bytestream2_put_le32u(&p, val); \
} while (0)
Referenced by encode_frame().
Initial value:= {
.name = "v210",
}
static av_cold int encode_init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
AVPixelFormat
Pixel format.
static av_cold int encode_close(AVCodecContext *avctx)
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet)
#define AV_PIX_FMT_YUV422P10
Definition at line 119 of file v210enc.c.