Video data processing method and apparatus
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsYongfang SHI, Anlin GAO, Chao DAI, Jing LV
Life of this patent
Estimating the term…
Abstract
Video data processing method and apparatus are provided. The method includes: encoding, by an encoder side, obtained original video data according to a hierarchical P-frame prediction HPP structure to obtain an HPP bitstream; redundancy-coding the HPP bitstream according to a forward error correction FEC code, redundancy packet quantities in frames in the HPP bitstream progressively decreasing from lower to higher temporal layers to which the frames belong in the HPP structure; and sorting the frames in the redundancy-coded HPP bitstream and sequentially sending the frames in the redundancy-coded HPP bitstream to a decoder side.
Claims20
A video data processing method, applied to an encoder side, the method comprising:
- obtaining original video data;
- encoding the original video data according to a hierarchical P-frame prediction (HPP) structure to obtain an HPP, the HPP bitstream corresponding to different temporal layers, frames in higher temporal layers being decoded with reference to frames in lower temporal layers, and neighboring frames being in different temporal layers;
- redundancy-coding the HPP bitstream according to a forward error correction (FEC) code, redundancy packet quantities in frames in the HPP bitstream progressively decreasing from lower to higher temporal layers to which the frames belong in the HPP structure;
- and
- sorting the frames in the redundancy-coded HPP bitstream and sequentially sending the sorted frames to a decoder side.
A non-transitory computer readable storage medium storing computer program instructions that, when being executed by a processor on a decoder side, cause the processor to perform:
- receiving a current frame sent by an encoder side, the current frame being a frame in a hierarchical P-frame prediction (HPP) bitstream obtained through coding by the encoder side according to an HPP structure, the HPP bitstream corresponding to different temporal layers, frames in higher temporal layers being decoded with reference to frames in lower temporal layers, and neighboring frames being in different layers;
- determining whether a reference frame of the current frame is complete, when it is determined that the current frame is an inter-frame coded frame P frame;
- discarding the current frame to cancel decoding of the current frame, when the reference frame of the current frame is incomplete;
- determining, according to a location of the current frame in the HPP structure, a target frame using the current frame as the reference frame;
- and
- marking a reference status of the target frame as an incomplete reference frame.
A video data processing apparatus, applied to a decoder side, the apparatus comprising:
- a memory, configured to store program for a video data processing method, applied to the decoder side;
- and
- a processor, coupled to the memory and, when executing the program, configured to:
- receive a current frame sent by an encoder side, the current frame being a frame in a hierarchical P-frame prediction HPP bitstream obtained through coding by the encoder side according to an HPP structure, the HPP bitstream corresponding to different temporal layers, frames in higher temporal layers being decoded with reference to frames in lower temporal layers, and neighboring frames being in different layers;
- determine whether a reference frame of the current frame is complete, when it is determined that the current frame is an inter-frame coded frame P frame;
- discard the current frame to cancel decoding of the current frame, when the reference frame determining unit determines that the reference frame of the current frame is incomplete;
- determine, according to a location of the current frame in the HPP structure, a target frame using the current frame as the reference frame;
- and
- mark a reference status of the target frame as an incomplete reference frame.
Dependencies are inferred from the claim text.