mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 10:58:03 +03:00
disable picture remapping
This commit is contained in:
1 parent
1ddc1b218a
commit
67635d1925
1 file changed
+1
-5
@@ -204,11 +204,7 @@ anv_h264_decode_video(struct anv_cmd_buffer *cmd_buffer,
|
|||||||
|
|
||||||
#if GFX_VERx10 >= 75
|
#if GFX_VERx10 >= 75
|
||||||
anv_batch_emit(&cmd_buffer->batch, GENX(MFD_AVC_PICID_STATE), picid) {
|
anv_batch_emit(&cmd_buffer->batch, GENX(MFD_AVC_PICID_STATE), picid) {
|
||||||
picid.PictureIDRemappingDisable = false;
|
picid.PictureIDRemappingDisable = true;
|
||||||
for (unsigned i = 0; i < frame_info->referenceSlotCount; i++) {
|
|
||||||
int idx = frame_info->pReferenceSlots[i].slotIndex;
|
|
||||||
picid.PictureID[i] = idx;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user