mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-05 12:02:41 -05:00
This adds a CMake module for finding the QSV SDK (libmfx/onevpl) and an the required platform components to initialize QSV with the VA-API platform.
10 lines
234 B
C
10 lines
234 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
#include <unistd.h>
|
|
|
|
#define MSDK_FOPEN(FH, FN, M) { FH=fopen(FN,M); }
|
|
#define MSDK_SLEEP(X) { usleep(1000*(X)); }
|
|
|
|
typedef struct timespec mfxTime;
|