#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) |
|
av_cold void | ff_v210enc_init (V210EncContext *s) |
|
static av_cold int | encode_init (AVCodecContext *avctx) |
|
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) |
|
◆ CLIP
#define CLIP |
( |
|
v | ) |
av_clip(v, 4, 1019) |
◆ CLIP8
#define CLIP8 |
( |
|
v | ) |
av_clip(v, 1, 254) |
◆ WRITE_PIXELS
#define WRITE_PIXELS |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value: do { \
val |= (
CLIP(*
b++) << 10) | \
dst += 4; \
} while (0)
Definition at line 32 of file v210enc.c.
◆ WRITE_PIXELS8
#define WRITE_PIXELS8 |
( |
|
a, |
|
|
|
b, |
|
|
|
c |
|
) |
| |
Value: do { \
val |= (
CLIP8(*
b++) << 12) | \
dst += 4; \
} while (0)
Definition at line 41 of file v210enc.c.
◆ v210_planar_pack_8_c()
◆ v210_planar_pack_10_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 |
◆ ff_v210enc_init()
◆ encode_init()
◆ encode_frame()
◆ ff_v210_encoder