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);
40 dst[i + 0] += src[i + 0];
45 int *left,
int *left_top)
53 for (i = 0; i < w; i++) {
54 l =
mid_pred(l, src1[i], (l + src1[i] - lt) & 0xFF) + diff[i];
68 for (i = 0; i < w - 1; i++) {
90 for (i = 0; i < w; i++) {
av_cold void ff_huffyuvdsp_init(HuffYUVDSPContext *c)
Macro definitions for various function/variable attributes.
static int add_hfyu_left_pred_c(uint8_t *dst, const uint8_t *src, intptr_t w, int acc)
void(* add_hfyu_median_pred)(uint8_t *dst, const uint8_t *top, const uint8_t *diff, intptr_t w, int *left, int *left_top)
void ff_huffyuvdsp_init_x86(HuffYUVDSPContext *c)
static void add_hfyu_left_pred_bgr32_c(uint8_t *dst, const uint8_t *src, intptr_t w, uint8_t *left)
void(* add_bytes)(uint8_t *dst, uint8_t *src, intptr_t w)
int(* add_hfyu_left_pred)(uint8_t *dst, const uint8_t *src, intptr_t w, int left)
static void add_bytes_c(uint8_t *dst, uint8_t *src, intptr_t w)
static av_always_inline int diff(const uint32_t a, const uint32_t b)
void(* add_hfyu_left_pred_bgr32)(uint8_t *dst, const uint8_t *src, intptr_t w, uint8_t *left)
static void add_hfyu_median_pred_c(uint8_t *dst, const uint8_t *src1, const uint8_t *diff, intptr_t w, int *left, int *left_top)