#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "v210enc.h"
#include "v210_template.c"
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) |
|
◆ TYPE [1/2]
◆ DEPTH [1/2]
◆ BYTES_PER_PIXEL [1/2]
#define BYTES_PER_PIXEL 1 |
◆ RENAME [1/2]
#define RENAME |
( |
|
a | ) |
a ## _ ## 8 |
◆ TYPE [2/2]
◆ DEPTH [2/2]
◆ BYTES_PER_PIXEL [2/2]
#define BYTES_PER_PIXEL 2 |
◆ RENAME [2/2]
#define RENAME |
( |
|
a | ) |
a ## _ ## 10 |
◆ 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
Initial value:= {
.name = "v210",
}
static av_cold int init(AVCodecContext *avctx)
static av_cold int encode_init(AVCodecContext *avctx)
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static enum AVPixelFormat pix_fmts[]
#define AV_PIX_FMT_YUV422P10
AVPixelFormat
Pixel format.
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
Definition at line 160 of file v210enc.c.