34 #ifndef __EST_CHANNELTYPE_H__ 35 #define __EST_CHANNELTYPE_H__ 99 #define EST_ChannelTypeCT(T) ( (T) >> 3 ) 101 #define EST_ChannelTypeD(T) ( (T) >> 1 & 3 ) 103 #define EST_ChannelTypeSE(T) ( (T) & 1 ) 106 #define EST_ChannelTypeStart(T) EST_CoefChannelId(\ 107 EST_ChannelTypeCT(T), \ 108 EST_ChannelTypeD(T), \ 111 #define EST_ChannelTypeEnd(T) EST_CoefChannelId(\ 112 EST_ChannelTypeCT(T), \ 113 EST_ChannelTypeD(T), \ 116 #define EST_ChannelTypeIncD(T) EST_CoefChannelId(\ 117 EST_ChannelTypeCT(T), \ 118 EST_ChannelTypeD(T)+1, \ 119 EST_ChannelTypeSE(T)) 121 #define EST_ChannelTypeDelta(T, N) EST_CoefChannelId(\ 122 EST_ChannelTypeCT(T), \ 123 EST_ChannelTypeD(T)+(N), \ 124 EST_ChannelTypeSE(T)) 126 #define EST_ChannelTypeDecD(T) EST_CoefChannelId(\ 127 EST_ChannelTypeCT(T), \ 128 EST_ChannelTypeD(T)-1, \ 129 EST_ChannelTypeSE(T)) 138 #define EST_CoefChannelId(CT,D,SE) ( (CT)<<3 | ((D)<<1 & 6) | ((SE)&1) ) 146 #define EST_DiffChannelId(N,D) ( EST_CoefChannelId(((N)>>1)+(int)cot_free, D, (N)&1) ) 152 #define EST_ChannelId(N) EST_CoefChannelId((N)>>1, 3, (N)&1)
#define EST_DiffChannelId(N, D)
#define EST_CoefChannelId(CT, D, SE)
RMS power of section of signal.
Time in seconds this frame refers to.
So we know how many there are.
Duration of section of signal.
Can be used to size arrays etc.
Free for experimentation.
guaranteed to be the first known type
Number of related frame in another track.
Length of section in samples.
RMS energy of section of signal.
Linear prediction filter.
Offset from frame center to center of window.
Free for experimentation.
Value to return for errors, never occurs in TrackMaps.
Guaranteed to be one more than last legal coefficient type.