#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 |
Initial value:= {
.name = "v210",
}
static av_cold int init(AVCodecContext *avctx)
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. ...
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
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
AVPixelFormat
Pixel format.
Definition at line 223 of file v210enc.c.