[vlc-commits] dxva: blacklist core 2 duo related chipsets that can't even decoder 720p properly

Steve Lhomme git at videolan.org
Mon Jul 30 10:43:54 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jul 30 10:35:54 2018 +0200| [65eed1b9df74850f41c59f29f5ddafae39839312] | committer: Steve Lhomme

dxva: blacklist core 2 duo related chipsets that can't even decoder 720p properly

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65eed1b9df74850f41c59f29f5ddafae39839312
---

 modules/codec/avcodec/dxva_blacklist.c | 46 +++++++++++++++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/dxva_blacklist.c b/modules/codec/avcodec/dxva_blacklist.c
index 698aece161..e5b8a819bb 100644
--- a/modules/codec/avcodec/dxva_blacklist.c
+++ b/modules/codec/avcodec/dxva_blacklist.c
@@ -40,8 +40,19 @@ typedef struct
 
 #include "directx_va.h"
 
-extern const GUID DXVA_ModeHEVC_VLD_Main;
+extern const GUID DXVA2_ModeMPEG2_VLD;
+extern const GUID DXVA2_ModeMPEG2and1_VLD;
+extern const GUID DXVA2_ModeH264_E;
+extern const GUID DXVA2_ModeH264_F;
+extern const GUID DXVA_Intel_H264_NoFGT_ClearVideo;
+extern const GUID DXVA_ModeH264_VLD_WithFMOASO_NoFGT;
+extern const GUID DXVA_ModeH264_VLD_NoFGT_Flash;
+extern const GUID DXVA2_ModeVC1_D;
+extern const GUID DXVA2_ModeVC1_D2010;
 extern const GUID DXVA_ModeHEVC_VLD_Main10;
+extern const GUID DXVA_ModeHEVC_VLD_Main;
+extern const GUID DXVA_ModeVP9_VLD_Profile0;
+extern const GUID DXVA_ModeVP9_VLD_10bit_Profile2;
 
 enum DriverTestCommand {
     BLAnyDriver,
@@ -61,6 +72,23 @@ static const GUID *NoHEVC[] = {
     NULL,
 };
 
+static const GUID *AnyDecoder[] = {
+    &DXVA2_ModeMPEG2_VLD,
+    &DXVA2_ModeMPEG2and1_VLD,
+    &DXVA2_ModeH264_E,
+    &DXVA2_ModeH264_F,
+    &DXVA_Intel_H264_NoFGT_ClearVideo,
+    &DXVA_ModeH264_VLD_WithFMOASO_NoFGT,
+    &DXVA_ModeH264_VLD_NoFGT_Flash,
+    &DXVA2_ModeVC1_D,
+    &DXVA2_ModeVC1_D2010,
+    &DXVA_ModeHEVC_VLD_Main,
+    &DXVA_ModeHEVC_VLD_Main10,
+    &DXVA_ModeVP9_VLD_Profile0,
+    &DXVA_ModeVP9_VLD_10bit_Profile2,
+    NULL,
+};
+
 static struct decoders IntelDevices[] = {
     /* Intel Broadwell GPUs with hybrid HEVC */
     { 0x1606, NoHEVC, BLAnyDriver, 0 }, /* HD Graphics */
@@ -92,6 +120,22 @@ static struct decoders IntelDevices[] = {
     { 0x0D22, NoHEVC, BLAnyDriver, 0 }, /* Iris(TM) Pro Graphics 5200 */
     { 0x0D26, NoHEVC, BLAnyDriver, 0 }, /* Iris(TM) Pro Graphics 5200 */
 
+    /* Intel Eaglelake/GMA X4500 too old to decode properly */
+    { 0x2A42, AnyDecoder, BLAnyDriver, 0 }, /* Mobile Intel(R) 4 Series Express Chipset Family */
+    { 0x2A43, AnyDecoder, BLAnyDriver, 0 }, /* Mobile Intel(R) 4 Series Express Chipset Family */
+    { 0x2E02, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) 4 Series Internal Chipset */
+    { 0x2E03, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) 4 Series Internal Chipset */
+    { 0x2E12, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) Q45/Q43 Express Chipset */
+    { 0x2E13, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) Q45/Q43 Express Chipset */
+    { 0x2E22, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) G45/G43 Express Chipset */
+    { 0x2E23, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) G45/G43 Express Chipset */
+    { 0x2E32, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) G41 Express Chipset */
+    { 0x2E33, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) G41 Express Chipset */
+    { 0x2E42, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) B43 Express Chipset */
+    { 0x2E43, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) B43 Express Chipset */
+    { 0x2E92, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) B43 Express Chipset */
+    { 0x2E93, AnyDecoder, BLAnyDriver, 0 }, /* Intel(R) B43 Express Chipset */
+
     {0, NULL, BLAnyDriver, 0}
 };
 



More information about the vlc-commits mailing list