How intel/libvpl works
Main Components Overview
Application Layer
• ↓
Dispatcher Layer (Core Component)
• ↓
Runtime Implementation Layer
• ↓
Hardware Layer
Key Components
a) Application Interface Layer:
• API Headers (/api/vpl/*.h files)
• Public Interfaces (mfxvideo.h, mfxdefs.h, etc.)
b) Dispatcher Core:
• Implementation Selection Logic
• Configuration Management
• Runtime Loading System
c) Runtime Implementations:
• Intel® VPL GPU Runtime
• Intel® Media SDK Runtime
• Stub Implementations (for testing)
d) Hardware Abstraction:
• GPU Access Layer
• DirectX Integration
• Memory Management
Component Relationships
• Function call flow from application through dispatcher to runtime
• Memory management paths
• Hardware acceleration interfaces
• Configuration flow
Specific Implementation Details
┌─────────────────────────┐
• Application Layer │
• ┬──────────┘
• ↓
┌─────────────────────────┐
• VPL Dispatcher │
• Implementation │
• Selection │
• Runtime Loading │
• Config Management │
• ┬──────────┘
• ↓
┌─────────────────────────┐
• Runtime Implementation │
• ┌─────────┐ ┌─────────┐│
• VPL GPU │ │Media SDK││
• Runtime │ │Runtime ││
• ┘ └─────────┘│
• ┬──────────┘
• ↓
┌─────────────────────────┐
• Hardware Layer │
• (Intel GPU Support) │
• ┘
Additional Elements
Annotations for:
• Version compatibility
• Platform support (as shown in README table)
• DirectX support levels
• Memory flow paths
Implementation Notes
• The dispatcher's role in runtime selection
• Platform-specific implementations
• Hardware acceleration paths
• Memory management between layers