MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_target_format()

void MayaFlux::IO::VideoFileReader::set_target_format ( int  av_pixel_format)
inline

Request an output pixel format for the scaler.

Must be called before open(). Negative selects AV_PIX_FMT_RGBA. Multi-planar targets are rejected by the scaler; the read path writes a single packed plane.

Definition at line 147 of file VideoFileReader.hpp.

147{ m_target_format = av_pixel_format; }

References m_target_format.