Example #1
0
			def setSplitMode(config):
				try:
					print "--> setting splitmode to:",str(config.getValue())
					open("/proc/stb/vmpeg/0/pep_split", "w").write(str(config.getValue()))
				except IOError:
					print "couldn't write pep_split."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #2
0
            def setSplitMode(config):
                try:
                    print "--> setting splitmode to:", str(config.getValue())
                    open("/proc/stb/vmpeg/0/pep_split",
                         "w").write(str(config.getValue()))
                except IOError:
                    print "couldn't write pep_split."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #3
0
			def setBrightness(config):
				myval = int(config.getValue() * 256)
				try:
					print "--> setting brightness to: %0.8X" % myval
					open("/proc/stb/vmpeg/0/pep_brightness", "w").write("%0.8X" % myval)
				except IOError:
					print "couldn't write pep_brightness."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #4
0
			def setDynamic_contrast(config):
				myval = int(config.getValue())
				try:
					print "--> setting dynamic_contrast to: %0.8X" % myval
					open("/proc/stb/vmpeg/0/pep_dynamic_contrast", "w").write("%0.8X" % myval)
				except IOError:
					print "couldn't write pep_dynamic_contrast."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #5
0
			def setAutoflesh(config):
				myval = int(config.getValue())
				try:
					print "--> setting auto_flesh to: %0.8X" % myval
					open("/proc/stb/vmpeg/0/pep_auto_flesh", "w").write("%0.8X" % myval)
				except IOError:
					print "couldn't write pep_auto_flesh."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #6
0
			def setBlock_noise_reduction(config):
				myval = int(config.getValue())
				try:
					print "--> setting block_noise_reduction to: %0.8X" % myval
					open("/proc/stb/vmpeg/0/pep_block_noise_reduction", "w").write("%0.8X" % myval)
				except IOError:
					print "couldn't write pep_block_noise_reduction."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #7
0
			def setDigital_contour_removal(config):
				myval = int(config.getValue())
				try:
					print "--> setting digital_contour_removal to: %0.8X" % myval
					open("/proc/stb/vmpeg/0/pep_digital_contour_removal", "w").write("%0.8X" % myval)
				except IOError:
					print "couldn't write pep_digital_contour_removal."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #8
0
			def setColour_space(config):
				myval = config.getValue()
				try:
					print "--> setting color_soace to:", myval
					open("/proc/stb/video/hdmi_colorspace", "w").write(myval)
				except IOError:
					print "couldn't write color_soace."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #9
0
            def setBlock_noise_reduction(config):
                myval = int(config.getValue())
                try:
                    print "--> setting block_noise_reduction to: %0.8X" % myval
                    open("/proc/stb/vmpeg/0/pep_block_noise_reduction",
                         "w").write("%0.8X" % myval)
                except IOError:
                    print "couldn't write pep_block_noise_reduction."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #10
0
            def setBrightness(config):
                myval = int(config.getValue() * 256)
                try:
                    print "--> setting brightness to: %0.8X" % myval
                    open("/proc/stb/vmpeg/0/pep_brightness",
                         "w").write("%0.8X" % myval)
                except IOError:
                    print "couldn't write pep_brightness."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #11
0
            def setDynamic_contrast(config):
                myval = int(config.getValue())
                try:
                    print "--> setting dynamic_contrast to: %0.8X" % myval
                    open("/proc/stb/vmpeg/0/pep_dynamic_contrast",
                         "w").write("%0.8X" % myval)
                except IOError:
                    print "couldn't write pep_dynamic_contrast."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #12
0
            def setAutoflesh(config):
                myval = int(config.getValue())
                try:
                    print "--> setting auto_flesh to: %0.8X" % myval
                    open("/proc/stb/vmpeg/0/pep_auto_flesh",
                         "w").write("%0.8X" % myval)
                except IOError:
                    print "couldn't write pep_auto_flesh."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #13
0
            def setDigital_contour_removal(config):
                myval = int(config.getValue())
                try:
                    print "--> setting digital_contour_removal to: %0.8X" % myval
                    open("/proc/stb/vmpeg/0/pep_digital_contour_removal",
                         "w").write("%0.8X" % myval)
                except IOError:
                    print "couldn't write pep_digital_contour_removal."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #14
0
            def setColour_space(config):
                myval = config.getValue()
                try:
                    print "--> setting color_soace to:", myval
                    f = open("/proc/stb/video/hdmi_colorspace", "w")
                    f.write(myval)
                    f.close()
                except IOError:
                    print "couldn't write color_soace."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #15
0
            def setHue(config):
                myval = int(config.getValue() * 256)
                try:
                    print "--> setting hue to: %0.8X" % myval
                    f = open("/proc/stb/vmpeg/0/pep_hue", "w")
                    f.write("%0.8X" % myval)
                    f.close()
                except IOError:
                    print "couldn't write pep_hue."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #16
0
                def setScaler_sharpness(config):
                    myval = int(config.getValue())
                    try:
                        print "--> setting scaler_sharpness to: %0.8X" % myval
                        f = open("/proc/stb/vmpeg/0/pep_scaler_sharpness", "w")
                        f.write("%0.8X" % myval)
                        f.close()
                    except IOError:
                        print "couldn't write pep_scaler_sharpness."

                    if not VideoEnhancement.firstRun:
                        self.setConfiguredValues()
Example #17
0
            def setGreenboost(config):
                myval = int(config.getValue())
                try:
                    print "--> setting green_boost to: %0.8X" % myval
                    f = open("/proc/stb/vmpeg/0/pep_green_boost", "w")
                    f.write("%0.8X" % myval)
                    f.close()
                except IOError:
                    print "couldn't write pep_green_boost."

                if not VideoEnhancement.firstRun:
                    self.setConfiguredValues()
Example #18
0
			def setHue(config):
				myval = int(config.getValue() * 256)
				try:
					print "--> setting hue to: %0.8X" % myval
					f = open("/proc/stb/vmpeg/0/pep_hue", "w")
					f.write("%0.8X" % myval)
					f.close()
				except IOError:
					print "couldn't write pep_hue."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()
Example #19
0
				def setScaler_sharpness(config):
					myval = int(config.getValue())
					try:
						print "--> setting scaler_sharpness to: %0.8X" % myval
						f = open("/proc/stb/vmpeg/0/pep_scaler_sharpness", "w")
						f.write("%0.8X" % myval)
						f.close()
					except IOError:
						print "couldn't write pep_scaler_sharpness."

					if not VideoEnhancement.firstRun:
						self.setConfiguredValues()
Example #20
0
			def setGreenboost(config):
				myval = int(config.getValue())
				try:
					print "--> setting green_boost to: %0.8X" % myval
					f = open("/proc/stb/vmpeg/0/pep_green_boost", "w")
					f.write("%0.8X" % myval)
					f.close()
				except IOError:
					print "couldn't write pep_green_boost."

				if not VideoEnhancement.firstRun:
					self.setConfiguredValues()