mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
dxva2_vc1: set refdist value according to spec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
46b06bd894
commit
8abdf46b38
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ static void fill_picture_parameters(AVCodecContext *avctx,
|
|||
(v->range_mapuv_flag << 3) |
|
||||
(v->range_mapuv );
|
||||
pp->bPicBinPB = 0;
|
||||
pp->bMV_RPS = 0;
|
||||
pp->bMV_RPS = (v->fcm == ILACE_FIELD && pp->bPicBackwardPrediction) ? v->refdist + 9 : 0;
|
||||
pp->bReservedBits = 0;
|
||||
if (s->picture_structure == PICT_FRAME) {
|
||||
pp->wBitstreamFcodes = v->lumscale;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue