Move DreamNextGen AV handling out of Python Keep AVSwitch, VideoMode and Pig box-neutral by moving DreamNextGen/Amlogic-specific mode conversion, axis handling and fullscreen restore logic into eAVControl/eVideoWidget. Add C++ helpers for mode normalization, driver mode queries, video axis handling and multi-mode setting. Gate AML axis usage behind DREAMNEXTGEN so non-DreamNextGen boxes keep the existing legacy video paths. Simplify Pig.py to only manage renderer lifecycle and PiG/PiP visibility, with no direct sysfs probing or writes from Python.
820877datvcaptain3d ago