MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / AddColor

Method AddColor

src/Frame.cpp:689–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687}
688
689void Frame::AddColor(int new_width, int new_height, std::string new_color)
690{
691 const std::lock_guard<std::recursive_mutex> lock(addingImageMutex);
692 // Update parameters
693 width = new_width;
694 height = new_height;
695 color = new_color;
696 AddColor(QColor(QString::fromStdString(new_color)));
697}
698
699// Add (or replace) pixel data to the frame (based on a solid color)
700void Frame::AddColor(const QColor& new_color)

Callers 10

GetOrCreateFrameMethod · 0.80
ReadStreamMethod · 0.80
CheckWorkingFramesMethod · 0.80
WriteFrameMethod · 0.80
GetFrameMethod · 0.80
GetFrameMethod · 0.80
Clip.cppFile · 0.80
FFmpegReader.cppFile · 0.80
CacheMemory.cppFile · 0.80
CacheDisk.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected