46 for (i = 0; i < 8; i++) {
66 for (i = 0; i < 8; i++) {
67 block[0] = s1[0] - s2[0];
68 block[1] = s1[1] - s2[1];
69 block[2] = s1[2] - s2[2];
70 block[3] = s1[3] - s2[3];
71 block[4] = s1[4] - s2[4];
72 block[5] = s1[5] - s2[5];
73 block[6] = s1[6] - s2[6];
74 block[7] = s1[7] - s2[7];
void ff_pixblockdsp_init_mips(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)
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)
Macro definitions for various function/variable attributes.
void(* get_pixels)(int16_t *block, const uint8_t *pixels, ptrdiff_t line_size)
static void get_pixels_8_c(int16_t *av_restrict block, const uint8_t *pixels, ptrdiff_t line_size)
static void get_pixels_16_c(int16_t *av_restrict block, const uint8_t *pixels, ptrdiff_t line_size)
#define AV_COPY128U(d, s)
av_cold void ff_pixblockdsp_init(PixblockDSPContext *c, AVCodecContext *avctx)
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)
Libavcodec external API header.
enum AVMediaType codec_type
main external API structure.
av_cold void ff_pixblockdsp_init_ppc(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
GLint GLenum GLboolean GLsizei stride
void(* diff_pixels)(int16_t *block, const uint8_t *s1, const uint8_t *s2, int stride)