int ff_try_8x8basis_rvv(const int16_t rem[64], const int16_t weight[64], const int16_t basis[16], int scale)
static int16_t basis[64][64]
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
#define AV_CPU_FLAG_RVB
B (bit manipulations)
const h264_weight_func weight
void ff_add_8x8basis_rvv(int16_t rem[64], const int16_t basis[16], int scale)
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
int ff_pix_sum_rvv(const uint8_t *pix, ptrdiff_t line_size)
av_cold void ff_mpegvideoencdsp_init_riscv(MpegvideoEncDSPContext *c, AVCodecContext *avctx)
int ff_pix_norm1_rvv(const uint8_t *pix, ptrdiff_t line_size)
#define AV_CPU_FLAG_RVV_I32
Vectors of 8/16/32-bit int's */.
main external API structure.
static void scale(int *out, const int *in, const int w, const int h, const int shift)
#define flags(name, subs,...)
#define AV_CPU_FLAG_RVV_I64
Vectors of 64-bit int's */.