#include <stddef.h>
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "v210enc.h"
Go to the source code of this file.
◆ CLIP
#define CLIP |
( |
|
v, |
|
|
|
depth |
|
) |
| av_clip(v, 1<<(depth-8), ((1<<depth)-(1<<(depth-8))-1)) |
◆ WRITE_PIXELS
#define WRITE_PIXELS |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
depth |
|
) |
| |
Value: do { \
val =
CLIP(*
a++, depth) << (10-depth); \
val |= (
CLIP(*
b++, depth) << (20-depth)) | \
(
CLIP(*
c++, depth) << (30-depth)); \
dst += 4; \
} while (0)
Definition at line 37 of file v210enc_init.h.
◆ v210_planar_pack_8_c()
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 |
◆ 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()