Skip to content
Snippets Groups Projects
Commit e3e3c825 authored by Vitor Sessak's avatar Vitor Sessak
Browse files

Make PSX MDEC decoder output YUVJ420 and always use IDCT_SIMPLE. This

makes the output much closer to original Playstation hardware.

Originally committed as revision 26196 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cf99e4aa
No related branches found
No related tags found
No related merge requests found
......@@ -229,9 +229,11 @@ static av_cold int decode_init(AVCodecContext *avctx){
ff_mpeg12_init_vlcs();
ff_init_scantable(a->dsp.idct_permutation, &a->scantable, ff_zigzag_direct);
if( avctx->idct_algo == FF_IDCT_AUTO )
avctx->idct_algo = FF_IDCT_SIMPLE;
p->qstride= 0;
p->qscale_table= av_mallocz(a->mb_width);
avctx->pix_fmt= PIX_FMT_YUV420P;
avctx->pix_fmt= PIX_FMT_YUVJ420P;
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment