Skip to content

Commit

Permalink
add a comment explaining why locking is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Sep 18, 2024
1 parent e2ffcb6 commit b0783a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proc/spatial-filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ namespace librealsense

// Disparity domain hole filling requires a second pass over the frame data
// For depth domain a more efficient in-place hole filling is performed
// No need to lock the '_holes_filling_mode' or '_holes_filling_radius' as they are locked at the processing block scope
if (_holes_filling_mode && fp)
intertial_holes_fill<T>(static_cast<T*>(frame_data));
}
Expand Down

0 comments on commit b0783a5

Please sign in to comment.