Пример #1
0
        public static List <int> GetQsvAdaptorList()
        {
            IntPtr gpuListPtr = HBFunctions.hb_qsv_adapters_list();

            List <int> gpuList = InteropUtilities.ToListFromHandBrakeList <int>(gpuListPtr);

            return(gpuList);
        }
Пример #2
0
        public static List <int> GetQsvAdaptorList()
        {
            if (HandBrakeHardwareEncoderHelper.IsQsvAvailable)
            {
                IntPtr gpuListPtr = HBFunctions.hb_qsv_adapters_list();

                List <int> gpuList = InteropUtilities.ToListFromHandBrakeList <int>(gpuListPtr);

                return(gpuList);
            }

            return(new List <int>());
        }