Mercurial > mplayer.hg
comparison libmpcodecs/vd_ffmpeg.c @ 7984:a57c1fc0c2fc
change qscale type to int8 and fix qscale ordering
author | michael |
---|---|
date | Wed, 30 Oct 2002 20:50:33 +0000 |
parents | 31fd09cc9ba2 |
children | a3e7c0e16d5b |
comparison
equal
deleted
inserted
replaced
7983:8344414c59cf | 7984:a57c1fc0c2fc |
---|---|
617 mpi->stride[1]*=2; | 617 mpi->stride[1]*=2; |
618 mpi->stride[2]*=2; | 618 mpi->stride[2]*=2; |
619 } | 619 } |
620 | 620 |
621 /* to comfirm with newer lavc style */ | 621 /* to comfirm with newer lavc style */ |
622 #if !defined(FF_POSTPROCESS) && (LIBAVCODEC_BUILD > 4612) | 622 #if LIBAVCODEC_BUILD >= 4633 |
623 mpi->qscale=avctx->quant_store; | 623 mpi->qscale=avctx->display_qscale_table; |
624 #if LIBAVCODEC_BUILD > 4613 | |
625 mpi->qstride=avctx->qstride; | 624 mpi->qstride=avctx->qstride; |
626 #else | |
627 mpi->qstride=MBC+1; | |
628 #endif | |
629 #elif defined(FF_POSTPROCESS) | |
630 mpi->qscale=&quant_store[0][0]; | |
631 mpi->qstride=MBC+1; | |
632 #endif | 625 #endif |
633 | 626 |
634 { | 627 { |
635 static int last_non_b_type= 0; | 628 static int last_non_b_type= 0; |
636 | 629 |