#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "v210enc.h"
Go to the source code of this file.
|
static void | v210_planar_pack_8_c (const uint8_t *y, const uint8_t *u, const uint8_t *v, uint8_t *dst, ptrdiff_t width) |
|
static void | v210_planar_pack_10_c (const uint16_t *y, const uint16_t *u, const uint16_t *v, uint8_t *dst, ptrdiff_t width) |
|
static av_cold int | encode_init (AVCodecContext *avctx) |
|
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) |
|
static av_cold int | encode_close (AVCodecContext *avctx) |
|
#define CLIP |
( |
|
v | ) |
av_clip(v, 4, 1019) |
#define CLIP8 |
( |
|
v | ) |
av_clip(v, 1, 254) |
#define WRITE_PIXELS |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
#define WRITE_PIXELS8 |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
static void v210_planar_pack_10_c |
( |
const uint16_t * |
y, |
|
|
const uint16_t * |
u, |
|
|
const uint16_t * |
v, |
|
|
uint8_t * |
dst, |
|
|
ptrdiff_t |
width |
|
) |
| |
|
static |