MCPcopy Create free account
hub / github.com/ARM-software/AVH / _configureStream

Method _configureStream

interface/video/python/vsi_video_server.py:130–138  ·  view source on GitHub ↗
(self, frame_width, frame_height, color_format, frame_rate)

Source from the content-addressed store, hash-verified

128
129 # Configure video stream
130 def _configureStream(self, frame_width, frame_height, color_format, frame_rate):
131 if (frame_width == 0 or frame_height == 0 or frame_rate == 0):
132 return False
133
134 self.resolution = (frame_width, frame_height)
135 self.color_format = color_format
136 self.frame_rate = frame_rate
137
138 return True
139
140 # Enable video stream
141 def _enableStream(self, mode):

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected