Code used in the paper M. Šorel, M. Bartoš, Fast Bayesian JPEG decompression and denoising with tight frame priors, IEEE Trans. Image Process., vol. 26, no. 1, pp. 490-501, Jan. 2017 and M. Šorel, M. Bartoš, Efficient JPEG decompression by the alternating direction method of multipliers, ICPR, 2016