コード例 #1
0
    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)
コード例 #2
0
    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)
コード例 #3
0
    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)
コード例 #4
0
    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)
コード例 #5
0
 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)