32#define RN AV_JOIN(AV_RN, BITS)
33#define RNA AV_JOIN(AV_JOIN(AV_RN, BITS), A)
34#define WNA AV_JOIN(AV_JOIN(AV_WN, BITS), A)
37#define pb_7f (~(uint_native)0 / 255 * 0x7f)
38#define pb_80 (~(uint_native)0 / 255 * 0x80)
41#define pw_1 ((uint_native)-1 / UINT16_MAX)
45#if !HAVE_FAST_UNALIGNED
47 for(
i=0;
i+3<
w;
i+=4){
62 WNA(
dst +
i, ((
a | pw_msb) - (
b & pw_lsb)) ^ ((
a^
b^pw_msb) & pw_msb));
92#if 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)
void ff_huffyuvencdsp_init_x86(HuffYUVEncDSPContext *c, int bpp, int width)
static void sub_hfyu_median_pred_int16_c(uint16_t *dst, const uint16_t *src1, const uint16_t *src2, unsigned mask, int w, int *left, int *left_top)
static void diff_int16_c(uint16_t *dst, const uint16_t *src1, const uint16_t *src2, unsigned mask, int w)
av_cold void ff_huffyuvencdsp_init(HuffYUVEncDSPContext *c, int bpp, int width)
Macro definitions for various function/variable attributes.
static const uint16_t mask[17]
static const float pred[4]