Drops patches already merged.
* 0001-Encode-Fixed-VP9-444-frame-header.patch
* 0001-media_libva-export-packed-YUV-when-VA_EXPORT_SURFACE.patch
* 0002-media-libva-Add-export-AYUV-color-in-vaExportSurface.patch

Signed-off-by: Lim Siew Hoon <[email protected]>
---
 ...01-Encode-Fixed-VP9-444-frame-header.patch | 43 -------------
 ...rt-packed-YUV-when-VA_EXPORT_SURFACE.patch | 62 -------------------
 ...export-AYUV-color-in-vaExportSurface.patch | 33 ----------
 ...20.4.3.bb => intel-media-driver_20.4.5.bb} |  5 +-
 4 files changed, 1 insertion(+), 142 deletions(-)
 delete mode 100644 
recipes-multimedia/libva/files/0001-Encode-Fixed-VP9-444-frame-header.patch
 delete mode 100644 
recipes-multimedia/libva/files/0001-media_libva-export-packed-YUV-when-VA_EXPORT_SURFACE.patch
 delete mode 100644 
recipes-multimedia/libva/files/0002-media-libva-Add-export-AYUV-color-in-vaExportSurface.patch
 rename recipes-multimedia/libva/{intel-media-driver_20.4.3.bb => 
intel-media-driver_20.4.5.bb} (84%)

diff --git 
a/recipes-multimedia/libva/files/0001-Encode-Fixed-VP9-444-frame-header.patch 
b/recipes-multimedia/libva/files/0001-Encode-Fixed-VP9-444-frame-header.patch
deleted file mode 100644
index cd046c65..00000000
--- 
a/recipes-multimedia/libva/files/0001-Encode-Fixed-VP9-444-frame-header.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 24da63ad1e0215b103c29b1bce29e126ca94ba00 Mon Sep 17 00:00:00 2001
-From: Lim Siew Hoon <[email protected]>
-Date: Thu, 17 Dec 2020 14:33:21 +0800
-Subject: [PATCH] [Encode] Fixed VP9 444 frame header
-
-According VP9 spec section 7.2.2 color config semantics,
-both subsampling_x and subsampling_y should be 0 for YUV444.
-Only YUV440 subsampling_x=0 and subsampling_y=1.
-
-fixes #1074
-
-Signed-off-by: Lim Siew Hoon <[email protected]>
-
-The patch was imported from the iHD media-driver git server
-(https://github.com/intel/media-driver.git) as of commit id
-a33eaaec2f71f04c8850db9287ee4012e143e283.
-
-Upstream-status: Backport
-
-Signed-off-by: Lim Siew Hoon <[email protected]>
----
- media_driver/linux/common/codec/ddi/media_libvpx_vp9.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/media_driver/linux/common/codec/ddi/media_libvpx_vp9.cpp 
b/media_driver/linux/common/codec/ddi/media_libvpx_vp9.cpp
-index df89f4fe..41357b0e 100644
---- a/media_driver/linux/common/codec/ddi/media_libvpx_vp9.cpp
-+++ b/media_driver/linux/common/codec/ddi/media_libvpx_vp9.cpp
-@@ -97,9 +97,9 @@ void write_bitdepth_colorspace_sampling(uint32_t 
codecProfile,
-         (codecProfile == VP9_PROFILE_3))
-     {
-         /* sub_sampling_x/y */
--        /* Currently the sub_sampling_x = 0, sub_sampling_y = 1 */
-+        /* Currently the sub_sampling_x = 0, sub_sampling_y = 0 */
-+        vp9_wb_write_bit(wb, 0);
-         vp9_wb_write_bit(wb, 0);
--        vp9_wb_write_bit(wb, 1);
-         vp9_wb_write_bit(wb, 0); // unused
-     }
- }
--- 
-2.17.1
-
diff --git 
a/recipes-multimedia/libva/files/0001-media_libva-export-packed-YUV-when-VA_EXPORT_SURFACE.patch
 
b/recipes-multimedia/libva/files/0001-media_libva-export-packed-YUV-when-VA_EXPORT_SURFACE.patch
deleted file mode 100644
index 5260dc19..00000000
--- 
a/recipes-multimedia/libva/files/0001-media_libva-export-packed-YUV-when-VA_EXPORT_SURFACE.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 8fc1d919fd33db698e5470602942ab6a2d6b7841 Mon Sep 17 00:00:00 2001
-From: Haihao Xiang <[email protected]>
-Date: Thu, 3 Dec 2020 10:52:15 +0800
-Subject: [PATCH 1/2] media_libva: export packed YUV when
- VA_EXPORT_SURFACE_COMPOSED_LAYERS is not set
-
-vaExportSurfaceHandle works for packed RGB w/wo
-VA_EXPORT_SURFACE_COMPOSED_LAYERS, it should work for packed YUV too
-w/wo VA_EXPORT_SURFACE_COMPOSED_LAYERS
-
-Example:
-gst-launch-1.0 videotestsrc ! msdkvpp ! \
-'video/x-raw(memory:DMABuf)',format=YUY2 ! glimagesink
-
-The patch was imported from the iHD media-driver git server
-(https://github.com/intel/media-driver.git) as of commit id
-38e5f4ab95a5c4fb3fe55d3d132795ee804d9310.
-
-Upstream-Status: Backport
-
-Signed-off-by: Lim Siew Hoon <[email protected]>
----
- media_driver/linux/common/ddi/media_libva.cpp | 22 +++++++++++++++++--
- 1 file changed, 20 insertions(+), 2 deletions(-)
-
-diff --git a/media_driver/linux/common/ddi/media_libva.cpp 
b/media_driver/linux/common/ddi/media_libva.cpp
-index 91c3ff14..778b7011 100755
---- a/media_driver/linux/common/ddi/media_libva.cpp
-+++ b/media_driver/linux/common/ddi/media_libva.cpp
-@@ -6672,9 +6672,27 @@ static uint32_t 
DdiMedia_GetDrmFormatOfSeparatePlane(uint32_t fourcc, int plane)
-             return DRM_FORMAT_R16;
- 
-         case VA_FOURCC_YUY2:
-+            return DRM_FORMAT_YUYV;
-+        case VA_FOURCC_YVYU:
-+            return DRM_FORMAT_YVYU;
-+        case VA_FOURCC_VYUY:
-+            return DRM_FORMAT_VYUY;
-         case VA_FOURCC_UYVY:
--            // These are not representable as separate planes.
--            return 0;
-+            return DRM_FORMAT_UYVY;
-+        case VA_FOURCC_Y210:
-+            return DRM_FORMAT_Y210;
-+        case VA_FOURCC_Y216:
-+            return DRM_FORMAT_Y216;
-+        case VA_FOURCC_Y410:
-+            return DRM_FORMAT_Y410;
-+        case VA_FOURCC_Y416:
-+            return DRM_FORMAT_Y416;
-+#if VA_CHECK_VERSION(1, 9, 0)
-+        case VA_FOURCC_Y212:
-+            return DRM_FORMAT_Y216;
-+        case VA_FOURCC_Y412:
-+            return DRM_FORMAT_Y416;
-+#endif
- 
-         case VA_FOURCC_ARGB:
-             return DRM_FORMAT_ARGB8888;
--- 
-2.17.1
-
diff --git 
a/recipes-multimedia/libva/files/0002-media-libva-Add-export-AYUV-color-in-vaExportSurface.patch
 
b/recipes-multimedia/libva/files/0002-media-libva-Add-export-AYUV-color-in-vaExportSurface.patch
deleted file mode 100644
index a3fef964..00000000
--- 
a/recipes-multimedia/libva/files/0002-media-libva-Add-export-AYUV-color-in-vaExportSurface.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 979e90d7bc9ff6d9064e1f0378015abf40d86af2 Mon Sep 17 00:00:00 2001
-From: Lim Siew Hoon <[email protected]>
-Date: Thu, 24 Dec 2020 18:47:56 +0800
-Subject: [PATCH 2/2] media-libva: Add export AYUV color in
- vaExportSurfaceHandle when VA_EXPORT_SURFACE_COMPOSED_LAYERS is not set.
-
-Example:
-gst-launch-1.0 videotestsrc ! msdkvpp \
-'video/x-raw(memory:DMABuf)',format=VUYA ! glimagesink
-
-Upstream-Status: Submitted [https://github.com/intel/media-driver/pull/1115]
-
-Signed-off-by: Lim Siew Hoon <[email protected]>
----
- media_driver/linux/common/ddi/media_libva.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/media_driver/linux/common/ddi/media_libva.cpp 
b/media_driver/linux/common/ddi/media_libva.cpp
-index 778b7011..0e9f07d3 100755
---- a/media_driver/linux/common/ddi/media_libva.cpp
-+++ b/media_driver/linux/common/ddi/media_libva.cpp
-@@ -6679,6 +6679,8 @@ static uint32_t 
DdiMedia_GetDrmFormatOfSeparatePlane(uint32_t fourcc, int plane)
-             return DRM_FORMAT_VYUY;
-         case VA_FOURCC_UYVY:
-             return DRM_FORMAT_UYVY;
-+        case VA_FOURCC_AYUV:
-+            return DRM_FORMAT_AYUV;
-         case VA_FOURCC_Y210:
-             return DRM_FORMAT_Y210;
-         case VA_FOURCC_Y216:
--- 
-2.17.1
-
diff --git a/recipes-multimedia/libva/intel-media-driver_20.4.3.bb 
b/recipes-multimedia/libva/intel-media-driver_20.4.5.bb
similarity index 84%
rename from recipes-multimedia/libva/intel-media-driver_20.4.3.bb
rename to recipes-multimedia/libva/intel-media-driver_20.4.5.bb
index dcae5c29..513f9ba6 100644
--- a/recipes-multimedia/libva/intel-media-driver_20.4.3.bb
+++ b/recipes-multimedia/libva/intel-media-driver_20.4.5.bb
@@ -19,12 +19,9 @@ REQUIRED_DISTRO_FEATURES = "opengl"
 DEPENDS += "libva gmmlib"
 
 SRC_URI = 
"git://github.com/intel/media-driver.git;protocol=https;branch=intel-media-20.4 
\
-           file://0001-Encode-Fixed-VP9-444-frame-header.patch \
-           
file://0001-media_libva-export-packed-YUV-when-VA_EXPORT_SURFACE.patch \
-           
file://0002-media-libva-Add-export-AYUV-color-in-vaExportSurface.patch \
           "
 
-SRCREV = "1daed90e58cb9fb0a0dc6de9697aaad34b114507"
+SRCREV = "74e2f11131def34314ce52940e8d0028a4aba01c"
 S = "${WORKDIR}/git"
 
 COMPATIBLE_HOST_x86-x32 = "null"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6873): 
https://lists.yoctoproject.org/g/meta-intel/message/6873
Mute This Topic: https://lists.yoctoproject.org/mt/79421989/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to