Current section

Files

Jump to
membrane_h264_ffmpeg_plugin c_src membrane_h264_ffmpeg_plugin parser.spec.exs
Raw

c_src/membrane_h264_ffmpeg_plugin/parser.spec.exs

module Membrane.H264.FFmpeg.Parser.Native
state_type "State"
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}