{'fraction_non_alphanumeric': 0.02112676056338028, 'fraction_numerical': 0.0, 'mean_word_length': 5.03030303030303, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Fast IMDCT and MDCT algorithms - a matrix approach

This paper presents a systematic investigation of the modified discrete cosine transform/inverse modified discrete cosine transform (MDCT/IMDCT) algorithm using a matrix representation. This approach results in new understanding of the MDCT/IMDCT, enables the development of new algorithms, and makes clear the connection between the algorithms. We represent in a matrix form the IMDCT as the product of the type-IV DCT with simple scaling, sign-changing, and permutation operations such that fast algorithms for the type-IV DCT can be simply modified for the IMDCT, and vice versa. Then, the simple symmetry and inversion properties of the type-IV DCT are used to develop new algorithms and establish the connection between existing fast IMDCT algorithms. This approach also enables us to show that MDCT and IMDCT share common core operation and present an efficient architecture for implementing both the MDCT and the IMDCT in one hardware.