diff options
author | Sigbjørn Skjæret <cisc@broadpark.no> | 2005-07-01 09:37:35 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-07-01 09:37:35 +0000 |
commit | 4af5b6cdb06703fb059aa9aa49684d2228e1672f (patch) | |
tree | 2db502270cd8a39c16150a7f9223b6e000397e81 /libavcodec/ppc/dsputil_ppc.c | |
parent | a3075830f257d3ac011f9100c53bf79b8fca5c0e (diff) | |
download | ffmpeg-4af5b6cdb06703fb059aa9aa49684d2228e1672f.tar.gz |
Disable AltiVec IDCT for lowres decoding in lavc patch by (Sigbjørn Skjæret: cisc, broadpark no)
Originally committed as revision 4413 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.c')
-rw-r--r-- | libavcodec/ppc/dsputil_ppc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c index 80dea036d6..776f4235c7 100644 --- a/libavcodec/ppc/dsputil_ppc.c +++ b/libavcodec/ppc/dsputil_ppc.c @@ -305,6 +305,8 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) } #endif //CONFIG_ENCODERS + if (avctx->lowres==0) + { if ((avctx->idct_algo == FF_IDCT_AUTO) || (avctx->idct_algo == FF_IDCT_ALTIVEC)) { @@ -316,6 +318,7 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) c->idct_permutation_type = FF_NO_IDCT_PERM; #endif /* ALTIVEC_USE_REFERENCE_C_CODE */ } + } #ifdef POWERPC_PERFORMANCE_REPORT { |