View Source Turbojpeg.Sink (turbojpeg v0.4.0)
Element responsible for converting YUV binary data to jpeg image format using turbojpeg
.
Element options
Passed via struct Turbojpeg.Sink.t/0
filename
binary()
Required
File to write the jpeg dataquality
non_neg_integer()
Default value:
75
Jpeg encoding quality
Pads
:input
Accepted formats:
%RawVideo{pixel_format: pix_fmt} when pix_fmt in [:I420, :I422, :I444]
Direction: | :input |
Availability: | :always |
Flow control: | :auto |
Summary
Types
Struct containing options for Turbojpeg.Sink
Types
@type t() :: %Turbojpeg.Sink{filename: binary(), quality: non_neg_integer()}
Struct containing options for Turbojpeg.Sink
Functions
@spec options() :: keyword()
Returns description of options available for this module