Current section

Files

Jump to
membrane_element_ffmpeg_h264 c_src membrane_element_ffmpeg_h264 parser.spec.exs
Raw

c_src/membrane_element_ffmpeg_h264/parser.spec.exs

module Membrane.Element.FFmpeg.H264.Parser.Native
spec create() :: {:ok :: label, state} | {:error :: label, reason :: atom}
spec parse(payload, state) ::
{:ok :: label, frame_sizes :: [unsigned]}
| {:error :: label, reason :: atom}
spec get_parsed_meta(state) :: {:ok :: label, width :: int, height :: int, profile :: atom}
spec flush(state) :: {:ok :: label, frame_sizes :: [unsigned]} | {:error :: label, reason :: atom}