US 12,348,744 B2
Parallel encoding and decoding method and apparatus, computer device, and storage medium
Chuanchuan Zhu, Shanghai (CN); Shilin Yan, Shanghai (CN); Jin Shao, Shanghai (CN); and Cong Ji, Shanghai (CN)
Assigned to Glenfly Tech Co., Ltd., Shanghai (CN)
Filed by Glenfly Tech Co., Ltd., Shanghai (CN)
Filed on Aug. 28, 2023, as Appl. No. 18/238,909.
Claims priority of application No. 202310293798.2 (CN), filed on Mar. 23, 2023.
Prior Publication US 2024/0323418 A1, Sep. 26, 2024
Int. Cl. H04N 19/436 (2014.01); H04N 19/105 (2014.01); H04N 19/176 (2014.01)
CPC H04N 19/436 (2014.11) [H04N 19/105 (2014.11); H04N 19/176 (2014.11)] 9 Claims
OG exemplary drawing
 
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.