39 for (i = 0; i < 8; i++) {
40 block[0] = s1[0] - s2[0];
41 block[1] = s1[1] - s2[1];
42 block[2] = s1[2] - s2[2];
43 block[3] = s1[3] - s2[3];
44 block[4] = s1[4] - s2[4];
45 block[5] = s1[5] - s2[5];
46 block[6] = s1[6] - s2[6];
47 block[7] = s1[7] - s2[7];
void ff_pixblockdsp_init_mips(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
int bits_per_raw_sample
Bits per sample/pixel of internal libavcodec pixel/sample format.
av_cold void ff_pixblockdsp_init_alpha(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
static void diff_pixels_c(int16_t *av_restrict block, const uint8_t *s1, const uint8_t *s2, int stride)
Macro definitions for various function/variable attributes.
void(* get_pixels)(int16_t *block, const uint8_t *pixels, ptrdiff_t line_size)
av_cold void ff_pixblockdsp_init_ppc(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
Libavcodec external API header.
av_cold void ff_pixblockdsp_init_arm(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
void ff_pixblockdsp_init_x86(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
enum AVMediaType codec_type
main external API structure.
av_cold void ff_pixblockdsp_init(PixblockDSPContext *c, AVCodecContext *avctx)
GLint GLenum GLboolean GLsizei stride
void(* diff_pixels)(int16_t *block, const uint8_t *s1, const uint8_t *s2, int stride)