From e6bc38fd49c94726b45d5d5cc2b756ad8ec49ee0 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 20 Jan 2013 22:12:35 -0800 Subject: wmv2: move IDCT to its own DSP context. This allows us to remove FF_IDCT_WMV2, which serves no practical purpose other than to be able to select the WMV2 IDCT for MPEG (or vice versa) and get corrupt output. Fate tests for all wmv2-related tests change, because (for some obscure reason) they forced use of the MPEG IDCT. You would get the same changes previously by not using -idct simple in the fate test (or replacing it with -idct auto). --- libavcodec/wmv2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/wmv2.h') diff --git a/libavcodec/wmv2.h b/libavcodec/wmv2.h index 80f36ccddb..82075670e0 100644 --- a/libavcodec/wmv2.h +++ b/libavcodec/wmv2.h @@ -25,6 +25,7 @@ #include "dsputil.h" #include "mpegvideo.h" #include "intrax8.h" +#include "wmv2dsp.h" #define SKIP_TYPE_NONE 0 #define SKIP_TYPE_MPEG 1 @@ -35,6 +36,7 @@ typedef struct Wmv2Context{ MpegEncContext s; IntraX8Context x8; + WMV2DSPContext wdsp; int j_type_bit; int j_type; int abt_flag; -- cgit v1.2.3