[FFmpeg-devel] [PATCH] mdec: use correctly permutated quant matrix for dequantization.
Michael Niedermayer
michael at niedermayer.cc
Wed Jun 21 00:22:51 EEST 2017
On Tue, Jun 20, 2017 at 08:47:33AM -0400, Ronald S. Bultje wrote:
> This allows using non-simple (e.g. simplemmx) IDCT implementations.
> The result is not bitexact (which is why the fate test continues to
> use -idct simple), but the PSNR between C/MMX goes from ~35 to ~90.
> ---
> libavcodec/mdec.c | 14 ++++++++++----
> 1 file changed, 10 insertions(+), 4 deletions(-)
>
[...]
> @@ -212,9 +213,7 @@ static int decode_frame(AVCodecContext *avctx,
> static av_cold int decode_init(AVCodecContext *avctx)
> {
> MDECContext * const a = avctx->priv_data;
> -
> - if (avctx->idct_algo == FF_IDCT_AUTO)
> - avctx->idct_algo = FF_IDCT_SIMPLE;
iam not sure this should be in this patch
rest LGTM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170620/9241eae6/attachment.sig>
More information about the ffmpeg-devel
mailing list