Go to the documentation of this file.
46 for (
i = 0;
i < 8;
i++) {
66 for (
i = 0;
i < 8;
i++) {
85 c->diff_pixels_unaligned =
93 c->get_pixels_unaligned =
98 c->get_pixels_unaligned =
void ff_pixblockdsp_init_x86(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
av_cold void ff_pixblockdsp_init_arm(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
void ff_pixblockdsp_init_mips(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
av_cold void ff_pixblockdsp_init(PixblockDSPContext *c, AVCodecContext *avctx)
av_cold void ff_pixblockdsp_init_ppc(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
int bits_per_raw_sample
Bits per sample/pixel of internal libavcodec pixel/sample format.
static void get_pixels_16_c(int16_t *av_restrict block, const uint8_t *pixels, ptrdiff_t stride)
#define AV_COPY128U(d, s)
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
static void get_pixels_8_c(int16_t *av_restrict block, const uint8_t *pixels, ptrdiff_t stride)
av_cold void ff_pixblockdsp_init_alpha(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
#define i(width, name, range_min, range_max)
main external API structure.
static void diff_pixels_c(int16_t *av_restrict block, const uint8_t *s1, const uint8_t *s2, ptrdiff_t stride)
enum AVMediaType codec_type
av_cold void ff_pixblockdsp_init_aarch64(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth)
The exact code depends on how similar the blocks are and how related they are to the block