#include "avcodec.h"
#include "libavcodec/bytestream.h"
Go to the source code of this file.
Define Documentation
#define WRITE_PIXELS |
( |
|
a, |
|
|
|
b, |
|
|
|
c | |
|
) |
| | |
Value:do { \
val = (*a++ >> 6) | \
((*b++ & 0xFFC0) << 4); \
val|= (*c++ & 0xFFC0) << 14; \
bytestream_put_le32(&p, val); \
} while (0)
Referenced by encode_frame().
Function Documentation
static int encode_frame |
( |
AVCodecContext * |
avctx, |
|
|
unsigned char * |
buf, |
|
|
int |
buf_size, |
|
|
void * |
data | |
|
) |
| | [static] |
Variable Documentation
Initial value: {
"v210",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_V210,
0,
encode_init,
encode_frame,
encode_close,
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P16, PIX_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
}
Definition at line 120 of file v210enc.c.