Interface MonoVideoSurfaceRenderer
public interface MonoVideoSurfaceRenderer
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionGet current reconvergence modeboolean
Get current auto-convergence statevoid
release()
Destructor releases resourcesvoid
Force request rendering might be required to actualize setting or mode change on the screen when video source is on pausevoid
setAutoConvergence(boolean mAutoConvergence)
Enable or disable auto-convergence for video playback.void
setConvergence(float convergence)
Sets rendering convergence.void
setGainMultiplier(float multiplier)
Sets rendering gain (3d depth).void
setPerspective(float con)
void
setReconvergenceMode(ReconvergenceMode reconvergenceMode)
Set reconvergence mode to be usedvoid
setRgbFrameDelay(int capacity)
Set maximum delay for RGB frame renderer that relies on disparity map computation for showing generated novel views.void
setSingleViewMode(boolean mode)
Switch to identical image rendering for 2d interlaced supported by CNSDK
-
Method Details
-
getCurrentReconvergenceMode
ReconvergenceMode getCurrentReconvergenceMode()Get current reconvergence mode- See Also:
ReconvergenceMode
-
setReconvergenceMode
Set reconvergence mode to be used- See Also:
ReconvergenceMode
-
requestRender
void requestRender()Force request rendering might be required to actualize setting or mode change on the screen when video source is on pause -
release
void release()Destructor releases resources -
setGainMultiplier
void setGainMultiplier(float multiplier)Sets rendering gain (3d depth). valid range is [0..2]- Parameters:
multiplier
-
-
isAutoConvergence
boolean isAutoConvergence()Get current auto-convergence state- Returns:
-
setAutoConvergence
void setAutoConvergence(boolean mAutoConvergence)Enable or disable auto-convergence for video playback. ON by default.- Parameters:
mAutoConvergence
-
-
setConvergence
void setConvergence(float convergence)Sets rendering convergence. valid range is [-0.5 .. 0.5]- Parameters:
convergence
-- Throws:
IllegalArgumentException
- when trying to set convergence when AutoConvergence is ON
-
setPerspective
void setPerspective(float con) -
setRgbFrameDelay
void setRgbFrameDelay(int capacity)Set maximum delay for RGB frame renderer that relies on disparity map computation for showing generated novel views.For specific instances when synchronization between RGB and D frames could be sacrificed for the latency this parameter could be set to 0, otherwise best left default
- Parameters:
capacity
-
-
setSingleViewMode
void setSingleViewMode(boolean mode)Switch to identical image rendering for 2d interlaced supported by CNSDK- Parameters:
mode
-
-