36 for (
i = 0;
i < 8;
i++) {
37 vec_s16 shorts = vsx_ld_u8_s16(0, pixels);
39 vec_vsx_st(shorts,
i * 16,
block);
46 const uint8_t *s2, ptrdiff_t
stride)
50 for (
i = 0;
i < 8;
i++) {
51 shorts1 = vsx_ld_u8_s16(0, s1);
52 shorts2 = vsx_ld_u8_s16(0, s2);
54 shorts1 = vec_sub(shorts1, shorts2);
56 vec_vsx_st(shorts1, 0,
block);
65 unsigned high_bit_depth)
#define i(width, name, range_min, range_max)
Macro definitions for various function/variable attributes.
static void get_pixels_vsx(int16_t *restrict block, const uint8_t *pixels, ptrdiff_t stride)
static void diff_pixels_vsx(int16_t *restrict block, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride)
av_cold void ff_pixblockdsp_init_vsx(PixblockDSPContext *c, unsigned high_bit_depth)
Contains misc utility macros and inline functions.