Patent ID: 11887607
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 2:
3. The method according to claim 2, further comprises:
performing downmix processing on a second left channel signal of a second frame and a second right channel signal of the second frame, to obtain a second primary channel signal of the second frame and a second secondary channel signal of the second frame;
determining that a second frame structure similarity value between the second primary channel signal and the second secondary channel signal falls outside the preset frame structure similarity interval, or that a second signal type flag corresponding to the second frame is a preset third flag;
in response to determining that the second frame structure similarity value falls outside the frame structure similarity interval or that the second signal type flag corresponding to the second frame is the preset third flag, configuring a second secondary channel pitch period reuse flag corresponding to the second frame to a fourth flag, wherein the fourth flag and the third flag are used to generate the stereo encoded bitstream, wherein the second signal type flag identifies a signal type of the second primary channel signal and a signal type of the second secondary channel signal; and
separately encoding a pitch period of the second secondary channel signal and a pitch period of the second primary channel signal.