Y4m.FrameParser (y4m v0.3.4)

Link to this section Summary

Functions

Read the next frame from the file. Frame length in bytes depends on width, height and color_space.

Link to this section Functions

Link to this function

next_frame(file, color_space, width, height)

@spec next_frame(pid(), atom(), integer(), integer()) ::
  :eof | [binary()] | {:error, atom()}

Read the next frame from the file. Frame length in bytes depends on width, height and color_space.

Link to this function

plane_lengths(atom, width, height)