{'fraction_non_alphanumeric': 0.016551724137931035, 'fraction_numerical': 0.004137931034482759, 'mean_word_length': 5.368421052631579, '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}}
Rate-distortion optimization of parametrized quantization matrix for MPEG-2 encoding

An optimal frequency domain bit allocation technique is presented. A Lagrange multiplier based approach is used for the rate-distortion optimization of the quantization matrix in MPEG-2 encoding. Since the optimal quantization matrix is heavily dependent on the choice of the quantizer, the quantizer is also jointly optimized in order to alleviate the interaction between the two. The complexity of the algorithm is analyzed, and it is shown to be directly proportional to the number of quantization matrices and quantization scales. Experimental results comparing the new technique with a conventional MPEG-2 encoding are also presented.