Skip to content
Snippets Groups Projects
Commit 8f888b2c authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Add doc comment to PM::splitBuffer

parent 49306a54
No related branches found
No related tags found
No related merge requests found
Pipeline #5681 failed
......@@ -58,6 +58,24 @@ void ProcessorMotion::splitBuffer(const wolf::CaptureMotionPtr& _capture_source,
const FrameBasePtr& _keyframe_target,
const wolf::CaptureMotionPtr& _capture_target)
{
/** we are doing this:
*
* Before split:
*
* ts_split
* KF | F or KF
* * -----------------------*
* origin source
*
*
* After split:
*
* KF KF F or KF
* * ----------* -----------*
* origin target source
*
*/
// split the buffer
// and give the part of the buffer before the new keyframe to the capture for the KF callback
_capture_source->getBuffer().split(_ts_split, _capture_target->getBuffer());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment