FFmpeg
Macros | Functions
cpu.c File Reference
#include <stdint.h>
#include "cpu.h"

Go to the source code of this file.

Macros

#define LOONGARCH_CFG2   0x2
 
#define LOONGARCH_CFG2_LSX   (1 << 6)
 
#define LOONGARCH_CFG2_LASX   (1 << 7)
 

Functions

static int cpu_flags_cpucfg (void)
 
int ff_get_cpu_flags_loongarch (void)
 
size_t ff_get_cpu_max_align_loongarch (void)
 

Macro Definition Documentation

◆ LOONGARCH_CFG2

#define LOONGARCH_CFG2   0x2

Definition at line 25 of file cpu.c.

◆ LOONGARCH_CFG2_LSX

#define LOONGARCH_CFG2_LSX   (1 << 6)

Definition at line 26 of file cpu.c.

◆ LOONGARCH_CFG2_LASX

#define LOONGARCH_CFG2_LASX   (1 << 7)

Definition at line 27 of file cpu.c.

Function Documentation

◆ cpu_flags_cpucfg()

static int cpu_flags_cpucfg ( void  )
static

Definition at line 29 of file cpu.c.

Referenced by ff_get_cpu_flags_loongarch(), and ff_get_cpu_flags_mips().

◆ ff_get_cpu_flags_loongarch()

int ff_get_cpu_flags_loongarch ( void  )

Definition at line 49 of file cpu.c.

Referenced by get_cpu_flags().

◆ ff_get_cpu_max_align_loongarch()

size_t ff_get_cpu_max_align_loongarch ( void  )

Definition at line 59 of file cpu.c.

Referenced by av_cpu_max_align().