FFmpeg
Macros
util_altivec.h File Reference
#include <stdint.h>
#include "config.h"

Go to the source code of this file.

Macros

#define vec_u8   vector unsigned char
 
#define vec_s8   vector signed char
 
#define vec_u16   vector unsigned short
 
#define vec_s16   vector signed short
 
#define vec_u32   vector unsigned int
 
#define vec_s32   vector signed int
 
#define vec_f   vector float
 
#define LOAD_ZERO   const vec_u8 zerov = vec_splat_u8( 0 )
 
#define zero_u8v   (vec_u8) zerov
 
#define zero_s8v   (vec_s8) zerov
 
#define zero_u16v   (vec_u16) zerov
 
#define zero_s16v   (vec_s16) zerov
 
#define zero_u32v   (vec_u32) zerov
 
#define zero_s32v   (vec_s32) zerov
 

Detailed Description

Contains misc utility macros and inline functions

Definition in file util_altivec.h.

Macro Definition Documentation

◆ vec_u8

#define vec_u8   vector unsigned char

Definition at line 34 of file util_altivec.h.

◆ vec_s8

#define vec_s8   vector signed char

Definition at line 35 of file util_altivec.h.

◆ vec_u16

#define vec_u16   vector unsigned short

Definition at line 36 of file util_altivec.h.

◆ vec_s16

#define vec_s16   vector signed short

Definition at line 37 of file util_altivec.h.

◆ vec_u32

#define vec_u32   vector unsigned int

Definition at line 38 of file util_altivec.h.

◆ vec_s32

#define vec_s32   vector signed int

Definition at line 39 of file util_altivec.h.

◆ vec_f

#define vec_f   vector float

Definition at line 40 of file util_altivec.h.

◆ LOAD_ZERO

#define LOAD_ZERO   const vec_u8 zerov = vec_splat_u8( 0 )

Definition at line 45 of file util_altivec.h.

◆ zero_u8v

#define zero_u8v   (vec_u8) zerov

Definition at line 47 of file util_altivec.h.

◆ zero_s8v

#define zero_s8v   (vec_s8) zerov

Definition at line 48 of file util_altivec.h.

◆ zero_u16v

#define zero_u16v   (vec_u16) zerov

Definition at line 49 of file util_altivec.h.

◆ zero_s16v

#define zero_s16v   (vec_s16) zerov

Definition at line 50 of file util_altivec.h.

◆ zero_u32v

#define zero_u32v   (vec_u32) zerov

Definition at line 51 of file util_altivec.h.

◆ zero_s32v

#define zero_s32v   (vec_s32) zerov

Definition at line 52 of file util_altivec.h.