SPRAAK
|
Merge a number of consecutive frames into one frame. More...
Functions | |
int | spr_merge_fr_setup (SprSspInfo *Info, const char **descript, void *aux_info) |
int | spr_merge_fr_process (SprSspInfo *Info, const void *frame_in, void *frame_out) |
void | spr_merge_fr_reset (SprSspInfo *Info, SprSspStatus *action) |
void | spr_merge_fr_free (SprSspInfo *Info) |
Merge a number of consecutive frames into one frame.
Depending on nr_fr_together, each frame is replaced by the nr_fr_together surrounding frames, e.g.:
nr_fr_together = 4: y(t) = [ x(t-2) , x(t-1) , x(t) , x(t+1) ] nr_fr_together = 5: y(t) = [ x(t-2) , x(t-1) , x(t) , x(t+1) , x(t+2) ]
To guarantee that there are as many input as output frames, the first and the last frame of the input are both multiplied if necessary.
[merge_fr] | |
---|---|
nr_fr_together <nr_of_frames> | |
Nr of consecutive frames that will be put together. |