MCPcopy Create free account
hub / github.com/IENT/YUView / setInputVideo

Method setInputVideo

YUViewLib/src/video/videoHandlerResample.cpp:132–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132void videoHandlerResample::setInputVideo(FrameHandler *childVideo)
133{
134 if (this->inputVideo == childVideo)
135 return;
136
137 this->inputVideo = childVideo;
138 DEBUG_RESAMPLE("videoHandlerResample::loadResampledFrame setting new video");
139
140 if (this->inputValid())
141 this->setFrameSize(childVideo->getFrameSize());
142
143 emit signalHandlerChanged(true, RECACHE_NONE);
144}
145
146void videoHandlerResample::setScaledSize(Size scaledSize)
147{

Callers 1

drawItemMethod · 0.80

Calls 3

inputValidMethod · 0.95
setFrameSizeMethod · 0.45
getFrameSizeMethod · 0.45

Tested by

no test coverage detected