#include "bytestream.h"
#include "internal.h"
Go to the source code of this file.
|
#define | CLIP(v, depth) av_clip(v, 1<<(depth-8), ((1<<depth)-(1<<(depth-8))-1)) |
|
#define | WRITE_PIXELS(a, b, c, depth) |
|
◆ 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 26 of file v210_template.c.
◆ v210_enc_TMPL()