# `VideoInterop.DMABuf.FourCC`
[🔗](https://github.com/emerge-elixir/video_interop/blob/v0.1.0/lib/video_interop/dmabuf/four_cc.ex#L1)

Helpers for DRM fourcc values.

VideoInterop stores the unsigned 32-bit integer used by DRM. Four-character
binaries are encoded in little-endian byte order.

# `t`

```elixir
@type t() :: 0..4_294_967_295
```

# `from_string`

```elixir
@spec from_string(binary()) :: {:ok, t()} | {:error, :invalid_fourcc}
```

# `from_string!`

```elixir
@spec from_string!(binary()) :: t()
```

# `nv12`

```elixir
@spec nv12() :: t()
```

# `p010`

```elixir
@spec p010() :: t()
```

# `to_string`

```elixir
@spec to_string(integer()) :: {:ok, &lt;&lt;_::32&gt;&gt;} | {:error, :invalid_fourcc}
```

# `to_string!`

```elixir
@spec to_string!(integer()) :: &lt;&lt;_::32&gt;&gt;
```

# `xrgb8888`

```elixir
@spec xrgb8888() :: t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
