| 99 | } |
| 100 | |
| 101 | void 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 | |
| 110 | void VideoFilterChain::clearFrames(SpscQueue<IAFFrame *> &frames) |
| 111 | { |