package ffmpeg-avutil

  1. Overview
  2. Docs
type device_type = [
  1. | `None
  2. | `Vdpau
  3. | `Cuda
  4. | `Vaapi
  5. | `Dxva2
  6. | `Qsv
  7. | `Videotoolbox
  8. | `D3d11va
  9. | `Drm
  10. | `Opencl
  11. | `Mediacodec
  12. | `Vulkan
]

Codec hardward device type.

type device_context

Device context.

type frame_context

Frame context.

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
OCaml

Innovation. Community. Security.