-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fixes for corrupted hevc-vaapi on TGL
- Loading branch information
1 parent
4107b39
commit e499cd2
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
debian/patches/0033-add-fixes-for-corrupted-hevc-vaapi-on-tgl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Index: jellyfin-ffmpeg/libavcodec/vaapi_encode_h265.c | ||
=================================================================== | ||
--- jellyfin-ffmpeg.orig/libavcodec/vaapi_encode_h265.c | ||
+++ jellyfin-ffmpeg/libavcodec/vaapi_encode_h265.c | ||
@@ -428,8 +428,9 @@ static int vaapi_encode_h265_init_sequen | ||
sps->log2_min_luma_transform_block_size_minus2 = 0; | ||
sps->log2_diff_max_min_luma_transform_block_size = 3; | ||
// Full transform hierarchy allowed (2-5). | ||
- sps->max_transform_hierarchy_depth_inter = 3; | ||
- sps->max_transform_hierarchy_depth_intra = 3; | ||
+ // Default to 2 based on Programmer's Reference Manuals of Intel graphics. | ||
+ sps->max_transform_hierarchy_depth_inter = 2; | ||
+ sps->max_transform_hierarchy_depth_intra = 2; | ||
// AMP works. | ||
sps->amp_enabled_flag = 1; | ||
// SAO and temporal MVP do not work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters