我要评分
获取效率
正确性
完整性
易理解

resolution

Variable Description

Snapshot resolution.

Restrictions

Width range: 360 to 1440

Hight range: 360 to 3200

The width and height can be exchanged.

Variable Data Definition

struct FrameSize {
    uint32_t width = 720;               // 720 (defaults to 720P)
    uint32_t height = 1280;             // 1280 (defaults to 720P)
    uint32_t widthAligned = 720;        // 720 (not aligned by default)
    uint32_t heightAligned = 1280;      // 1280 (not aligned by default)
} __attribute__((packed));

After you change the video output resolution (to a resolution different from the configuration at the last startup), the rendering resolution of the AOSP system and apps is changed. In this case, a compatibility issue or rendering problem may occur in some apps. Generally, this problem can be solved by restarting the app. It is recommended that you return to the home screen and clear background apps before changing the resolution.