#include "avcodec.h"
#include "bytestream.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) | \
bytestream_put_le32(&p, val); \
} while (0)
Referenced by encode_frame().
static int encode_frame |
( |
AVCodecContext * |
avctx, |
|
|
unsigned char * |
buf, |
|
|
int |
buf_size, |
|
|
void * |
data |
|
) |
| |
|
static |
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. ...
static av_cold int encode_close(AVCodecContext *avctx)
#define PIX_FMT_YUV422P10
static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data)
Definition at line 120 of file v210enc.c.