MCPcopy Create free account
hub / github.com/FFMS/ffms2 / OutputAlphaFrame

Method OutputAlphaFrame

src/vapoursynth/vapoursource4.cpp:403–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403void VSVideoSource4::OutputAlphaFrame(const FFMS_Frame *Frame, int Plane, VSFrame *Dst, const VSAPI *vsapi) {
404 const VSVideoFormat *fi = vsapi->getVideoFrameFormat(Dst);
405 vsh::bitblt(vsapi->getWritePtr(Dst, 0), vsapi->getStride(Dst, 0), Frame->Data[Plane], Frame->Linesize[Plane],
406 vsapi->getFrameWidth(Dst, 0) * fi->bytesPerSample, vsapi->getFrameHeight(Dst, 0));
407}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected