def set_cam_encoding(self, cam_encoding): if cam_encoding == "yuv422p": self.video.setMode(Core.YUV422) elif cam_encoding == "y8": self.video.setMode(Core.Y8) AbstractVideoDevice.set_cam_encoding(self, cam_encoding)
def set_cam_encoding(self, cam_encoding): if cam_encoding == "yuv422p": self.video.setMode(Core.YUV422) elif cam_encoding == "y8": self.video.setMode(Core.Y8) AbstractVideoDevice.set_cam_encoding(self, cam_encoding)
def set_cam_encoding(self, cam_encoding): if cam_encoding == "yuv422p": self.device.video_mode = "YUV422" elif cam_encoding == "y8": self.device.video_mode = "Y8" AbstractVideoDevice.set_cam_encoding(self, cam_encoding)
def set_cam_encoding(self, cam_encoding): if cam_encoding == "yuv422p": self.device.video_mode = "YUV422" elif cam_encoding == "y8": self.device.video_mode = "Y8" AbstractVideoDevice.set_cam_encoding(self, cam_encoding)
def set_cam_encoding(self, cam_encoding): if cam_encoding == "yuv422p": self.device.video_mode = "YUV422" elif cam_encoding == "y8": self.device.video_mode = "Y8" elif cam_encoding.lower() == "bayer_rg16": self.device.video_mode = "BAYER_RG16" AbstractVideoDevice.set_cam_encoding(self, cam_encoding)