Method for image encoding, electronic device and storage medium

    公开(公告)号:US11582449B2

    公开(公告)日:2023-02-14

    申请号:US17338259

    申请日:2021-06-03

    Abstract: A set of rough prediction modes including a MPM subset is determined for a code block during image encoding. A first prediction mode having a mode cost less than a first threshold is selected from the set of rough prediction modes, and a second prediction mode having a mode cost less than a second threshold is selected from the MPM subset. A candidate mode subset is determined based on mode types of prediction modes contained in the set of rough prediction modes and a ranking result of mode costs of the prediction modes, when the mode cost of the first prediction mode is different from the mode cost of the second prediction mode. A target prediction mode is determined for the code block from the candidate mode subset. The code block is encoded with the target prediction mode.

    METHOD AND APPARATUS FOR CODING VIDEO, DEVICE AND MEDIUM

    公开(公告)号:US20210377543A1

    公开(公告)日:2021-12-02

    申请号:US17353329

    申请日:2021-06-21

    Inventor: Le Shi Wenpeng Ding

    Abstract: A method, apparatus, device and medium for coding a video are provided. An implementation plan includes: determining an initial video frame structure based on a preset threshold for a B-frame number; in response to determining that the initial video frame structure meets a preset condition, shortening the initial video frame structure to obtain a candidate video frame structure set; determining a target video frame structure from the candidate video frame structure set; and performing video coding on video frames in a to-be-coded video frame sequence according to the target video frame structure.

Patent Agency Ranking