mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-11-01 11:18:03 +03:00
hasvk: Properly handle interlaced video.
There was no handling here at all so the GPU would just hang immediately. Assisted-by: Claude
This commit is contained in:
1 parent
a7089e8341
commit
2e5cca4d05
3 files changed
+361
-17
No files matched your search
@@ -55,6 +55,9 @@ struct anv_h264_slice_params {
|
||||
uint8_t ref_list0[ANV_H264_MAX_REF_FRAMES];
|
||||
uint8_t ref_list1[ANV_H264_MAX_REF_FRAMES];
|
||||
|
||||
uint8_t ref_list0_bottom[ANV_H264_MAX_REF_FRAMES];
|
||||
uint8_t ref_list1_bottom[ANV_H264_MAX_REF_FRAMES];
|
||||
|
||||
bool has_weight_offsets_l0;
|
||||
bool has_weight_offsets_l1;
|
||||
|
||||
@@ -96,4 +99,4 @@ anv_h264_parse_slice_header(
|
||||
const VkVideoReferenceSlotInfoKHR *ref_slots,
|
||||
struct anv_h264_slice_params *out);
|
||||
|
||||
#endif /* ANV_VIDEO_H264_SLICE_H */
|
||||
#endif /* ANV_VIDEO_H264_SLICE_H */
|
||||
Reference in new issue
Block a user