View Source Membrane.JPEG (Membrane JPEG Format v0.1.0)

This module provides format definition for JPEG image.

Summary

Types

Height of the image.

Pixel format of the encoded frame.

t()

Format definition for JPEG image.

Width of the image.

Types

@type height() :: pos_integer() | nil

Height of the image.

@type pixel_format() :: :I420 | :I422 | :I444 | :GRAY

Pixel format of the encoded frame.

@type t() :: %Membrane.JPEG{
  height: height(),
  pixel_format: pixel_format(),
  width: width()
}

Format definition for JPEG image.

@type width() :: pos_integer() | nil

Width of the image.