Instantaneous processing of ultrafast waveforms by wave mixing spectrally decomposed waves