29 for (
int i = 0;
i < 8;
i++)
34 const uint8_t *pixels, ptrdiff_t
stride)
52 for (
i = 0;
i < 8;
i++) {
67 const uint8_t *s2, ptrdiff_t
stride)
72 for (
i = 0;
i < 8;
i++) {
73 block[0] = s1[0] - s2[0];
74 block[1] = s1[1] - s2[1];
75 block[2] = s1[2] - s2[2];
76 block[3] = s1[3] - s2[3];
77 block[4] = s1[4] - s2[4];
78 block[5] = s1[5] - s2[5];
79 block[6] = s1[6] - s2[6];
80 block[7] = s1[7] - s2[7];
89 const unsigned high_bit_depth = bits_per_raw_sample > 8 &&
90 bits_per_raw_sample <= 16;
92 c->diff_pixels_unaligned =
99 c->get_pixels_unaligned =
111#elif ARCH_X86 && HAVE_X86ASM
#define i(width, name, range_min, range_max)
#define AV_COPY128U(d, s)
av_cold void ff_pixblockdsp_init(PixblockDSPContext *c, int bits_per_raw_sample)
static void get_pixels_unaligned_16_c(int16_t *restrict block, const uint8_t *pixels, ptrdiff_t stride)
static void diff_pixels_c(int16_t *restrict block, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride)
static void get_pixels_8_c(int16_t *restrict block, const uint8_t *pixels, ptrdiff_t stride)
static void get_pixels_16_c(int16_t *restrict block, const uint8_t *pixels, ptrdiff_t stride)
Macro definitions for various function/variable attributes.
void ff_pixblockdsp_init_ppc(PixblockDSPContext *c, unsigned high_bit_depth)
void ff_pixblockdsp_init_x86(PixblockDSPContext *c, unsigned high_bit_depth)
void ff_pixblockdsp_init_riscv(PixblockDSPContext *c, unsigned high_bit_depth)
av_cold void ff_pixblockdsp_init_aarch64(PixblockDSPContext *c, unsigned high_bit_depth)
av_cold void ff_pixblockdsp_init_arm(PixblockDSPContext *c, unsigned high_bit_depth)
void ff_pixblockdsp_init_mips(PixblockDSPContext *c, unsigned high_bit_depth)