1. An apparatus to determine a transform of a block of encoded data, the block of encoded data comprising a plurality of data elements, the apparatus comprising: an input register configured to receive a predetermined quantity of data elements; at least one butterfly processor coupled to the input register, the butterfly processor configured to perform at least one mathematical operation on selected pairs of data elements to produce an output of processed data elements; at least one intermediate register coupled to the butterfly processor, the intermediate register configured to temporarily store the processed data; and a feedback loop coupling the intermediate register and the butterfly processor, where if enabled, is configured to transfer a first portion of processed data elements to the appropriate butterfly processor to perform additional mathematical operations and, where if disabled, is configured to transfer a second portion of processed data elements to at least one holding register; wherein the holding register is configured to store the processed data until all of the first portion data elements is processed.