27#define pb_7f (~0UL / 255 * 0x7f)
28#define pb_80 (~0UL / 255 * 0x80)
34 for (
i = 0;
i <=
w - (int)
sizeof(long);
i +=
sizeof(long)) {
35 long a = *(
long *) (
src +
i);
36 long b = *(
long *) (
dst +
i);
44 const uint8_t *
diff, ptrdiff_t
w,
45 int *
left,
int *left_top)
53 for (
i = 0;
i <
w;
i++) {
68 for (
i = 0;
i <
w - 1;
i++) {
127#elif ARCH_X86 && HAVE_X86ASM
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
static int BS_FUNC left(const BSCTX *bc)
Return the number of the bits left in a buffer.
#define i(width, name, range_min, range_max)
Macro definitions for various function/variable attributes.
static int add_left_pred_int16_c(uint16_t *dst, const uint16_t *src, unsigned mask, ptrdiff_t w, unsigned acc)
static void add_bytes_c(uint8_t *dst, uint8_t *src, ptrdiff_t w)
static int add_left_pred_c(uint8_t *dst, const uint8_t *src, ptrdiff_t w, int acc)
av_cold void ff_llviddsp_init(LLVidDSPContext *c)
static void add_median_pred_c(uint8_t *dst, const uint8_t *src1, const uint8_t *diff, ptrdiff_t w, int *left, int *left_top)
static void add_gradient_pred_c(uint8_t *src, const ptrdiff_t stride, const ptrdiff_t width)
void ff_llviddsp_init_x86(LLVidDSPContext *llviddsp)
void ff_llviddsp_init_ppc(LLVidDSPContext *llviddsp)
void ff_llviddsp_init_riscv(LLVidDSPContext *llviddsp)
static const uint16_t mask[17]
static av_always_inline int diff(const struct color_info *a, const struct color_info *b, const int trans_thresh)