Runtime  Version 1.0
PULP Kernel Library
 All Files Functions Typedefs Groups Pages

Functions

v2s __builtin_pulp_vitmax2 (v2s x, v2s y)
 Viterbi maximum. Compare 2 pathes and update special flags accordingly. More...
 
v2s __builtin_pulp_vitsel2 (v2s x, v2s y)
 Viterbi select. Using viterbi special flags compute the surviving pathes. More...
 

Description

Function Documentation

v2s __builtin_pulp_vitmax2 ( v2s  x,
v2s  y 
)

Viterbi maximum. Compare 2 pathes and update special flags accordingly.

Returns: (_VitT1_Flag=((x)[1]<=(y)[1])?1:0, _VitT0_Flag=((x)[0]<=(y)[0])?1:0, (v2s) {((x)[0]>(y)[0])?(x)[0]:(y)[0], ((x)[1]>(y)[1])?(x)[1]:(y)[1]})

Available macros:

    gap8_vitmax(x, y)
    __VITMAX(x, y)
Parameters
xA vector of 2 shorts
yA vector of 2 shorts

Referenced by __VITMAX(), and gap8_vitmax().

v2s __builtin_pulp_vitsel2 ( v2s  x,
v2s  y 
)

Viterbi select. Using viterbi special flags compute the surviving pathes.

Returns: (v2s) {(_VitT0_Flag?(y)[0]:(x)[0])<<1|_VitT0_Flag, (_VitT1_Flag?(y)[1]:(x)[1])<<1|_VitT1_Flag}

Available macros:

    gap8_vitsel(x, y)
    __VITSEL(x, y)
Parameters
xA vector of 2 shorts
yA vector of 2 shorts

Referenced by __VITSEL(), and gap8_vitsel().