| CPC H04N 19/436 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11)] | 9 Claims |

|
1. A parallel encoding and decoding method, comprising:
acquiring a synchronization node corresponding to a codec core, and transmitting a frame synchronization detection request to the synchronization node based on a frame to be encoded and decoded;
acquiring a frame synchronization result corresponding to the frame synchronization detection request; and
determining an encoding and decoding mode for the frame to be encoded and decoded based on the frame synchronization result, and encoding and decoding the frame to be encoded and decoded based on the encoding and decoding mode;
wherein the frame synchronization result corresponds to a status of a reference frame of the frame to be encoded and decoded; and
wherein the determining the encoding and decoding mode for the frame to be encoded and decoded based on the frame synchronization result, and encoding and decoding the frame to be encoded and decoded based on the encoding and decoding mode comprises:
when the frame synchronization result corresponds to a second status of the reference frame, performing a block synchronization detection on a code-block corresponding to the frame to be encoded and decoded, and obtaining a block synchronization result, wherein the second status indicates that the frame to be encoded and decoded and the reference frame corresponding to the frame to be encoded and decoded are being encoded and decoded in parallel; and
when the block synchronization result satisfies a preset condition, acquiring data of the reference frame corresponding to the frame to be encoded and decoded, and encoding and decoding the frame to be encoded and decoded based on the data of the reference frame.
|