Avutil.HwContext
type device_type = [
| `None
| `Vdpau
| `Cuda
| `Vaapi
| `Dxva2
| `Qsv
| `Videotoolbox
| `D3d11va
| `Drm
| `Opencl
| `Mediacodec
| `Vulkan
]
Codec hardward device type.
val create_device_context :
?device:string ->
?opts:opts ->
device_type ->
device_context
val create_frame_context :
width:int ->
height:int ->
src_pixel_format:Pixel_format.t ->
dst_pixel_format:Pixel_format.t ->
device_context ->
frame_context