Files
obs-studio/plugins/obs-qsv11/bits/linux_defs.h
Kurt Kartaltepe c6b470de9a obs-qsv11: Add a Linux implementation
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.
2023-07-14 12:19:33 -04:00

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;