HEADERS_LIST="
AVFoundation_AVFoundation_h
- alsa_asoundlib_h
arpa_inet_h
cdio_paranoia_h
cdio_paranoia_paranoia_h
- d3d11_h
dispatch_dispatch_h
dev_bktr_ioctl_bt848_h
dev_bktr_ioctl_meteor_h
dev_video_bktr_ioctl_bt848_h
dev_video_meteor_ioctl_meteor_h
direct_h
- dlfcn_h
dxgidebug_h
dxva_h
gsm_h
machine_ioctl_meteor_h
malloc_h
poll_h
- sndio_h
soundcard_h
stdatomic_h
- sys_mman_h
sys_param_h
sys_resource_h
sys_select_h
clock_gettime
closesocket
CommandLineToArgvW
- CoTaskMemFree
CryptGenRandom
fcntl
- flt_lim
fork
getaddrinfo
gethrtime
gmtime_r
inet_aton
isatty
- LoadLibrary
localtime_r
mach_absolute_time
MapViewOfFile
memalign
- mkstemp
mmap
mprotect
nanosleep
zmbv_encoder_deps="zlib"
# hardware accelerators
-d3d11va_deps="d3d11_h dxva_h ID3D11VideoDecoder"
+d3d11va_deps="dxva_h ID3D11VideoDecoder"
dxva2_deps="dxva2api_h DXVA2_ConfigPictureDecode ole32"
vda_deps="VideoDecodeAcceleration_VDADecoder_h blocks_extension pthreads"
vda_extralibs="-framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore"
check_func_headers windows.h VirtualAlloc
check_struct windows.h "CONDITION_VARIABLE" Ptr
-check_header d3d11.h
check_header direct.h
-check_header dlfcn.h
check_header dxgidebug.h
check_header dxva.h
check_header dxva2api.h
check_header mach/mach_time.h
check_header malloc.h
check_header poll.h
-check_header sys/mman.h
check_header sys/param.h
check_header sys/resource.h
check_header sys/select.h