MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / swapFrames

Method swapFrames

framework/filter/VideoFilterChain.cpp:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void VideoFilterChain::swapFrames(SpscQueue<IAFFrame *> &dstFrames, SpscQueue<IAFFrame *> &srcFrames)
102{
103 while (!srcFrames.empty()) {
104 dstFrames.push(srcFrames.front());
105 srcFrames.pop();
106 }
107 // AF_LOGD("swapFrames dstFrames frame size = %d , srcFrames frames size = %d", dstFrames.size(), srcFrames.size());
108}
109
110void VideoFilterChain::clearFrames(SpscQueue<IAFFrame *> &frames)
111{

Callers

nothing calls this directly

Calls 4

frontMethod · 0.80
emptyMethod · 0.45
pushMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected