Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/VLC/modules/codec/   (VLC Media Plyer ©)  Datei vom 23.9.2026 mit Größe 328 B image not shown  

Quelle  vt_utils_native.m  Sprache: unbekannt

 
Spracherkennung für: .m vermutete Sprache: Masm {Masm[56] ABAP[49] Apollo[42]} [Methode: maximale Elemente, drei Dimensionen]

#import "vt_utils.h"
#import <Foundation/Foundation.h>
#import <Metal/Metal.h>

bool cvpx_system_has_metal_device()
{
#if TARGET_OS_IPHONE
    id<MTLDevice> device = MTLCreateSystemDefaultDevice();
    return device != nil;
#else
    NSArray <id<MTLDevice>> *devices = MTLCopyAllDevices();
    return devices.count > 0;
#endif
}

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-10-24]