Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
8f888b2c
Commit
8f888b2c
authored
5 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Add doc comment to PM::splitBuffer
parent
49306a54
No related branches found
No related tags found
No related merge requests found
Pipeline
#5681
failed
5 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_motion.cpp
+18
-0
18 additions, 0 deletions
src/processor/processor_motion.cpp
with
18 additions
and
0 deletions
src/processor/processor_motion.cpp
+
18
−
0
View file @
8f888b2c
...
...
@@ -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
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment