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

Claim 2:
3. The non-transitory computer-readable medium according to claim 2, wherein determining the channel combination scheme for the current frame based on the result of determining whether the current frame meets the switching condition comprises:
when the channel combination scheme for the previous frame is different from the initial channel combination scheme for the current frame, determining that the current frame meets the switching condition, the initial channel combination scheme for the current frame is the correlated signal channel combination scheme, and the channel combination scheme for the previous frame is the anticorrelated signal channel combination scheme, and determining that the channel combination scheme for the current frame is the anticorrelated signal channel combination scheme; or
when the channel combination scheme for the previous frame is different from the initial channel combination scheme for the current frame, determining that the current frame meets the switching condition, the initial channel combination scheme for the current frame is the anticorrelated signal channel combination scheme, the channel combination scheme for the previous frame is the correlated signal channel combination scheme, and a channel combination ratio factor of the previous frame is less than a first ratio factor threshold, and determining that the channel combination scheme for the current frame is the correlated signal channel combination scheme; or
when the channel combination scheme for the previous frame is different from the initial channel combination scheme for the current frame, determining that the current frame meets the switching condition, the initial channel combination scheme for the current frame is the anticorrelated signal channel combination scheme, the channel combination scheme for the previous frame is the correlated signal channel combination scheme, and the channel combination ratio factor of the previous frame is greater than or equal to the first ratio factor threshold, and determining that the channel combination scheme for the current frame is the anticorrelated signal channel combination scheme; or
when a channel combination scheme for the (P−1)th-to-current frame is different from an initial channel combination scheme for the Pth-to-current frame, determining that the Pth-to-current frame does not meet the switching condition, the current frame meets the switching condition, the signal type of in/out of phase of the stereo signal in the current frame is the near in phase signal, the initial channel combination scheme for the current frame is the correlated signal channel combination scheme, and the channel combination scheme for the previous frame is the anticorrelated signal channel combination scheme, and determining that the channel combination scheme for the current frame is the correlated signal channel combination scheme; or
when the channel combination scheme for the (P−1)th-to-current frame is different from the initial channel combination scheme for the Pth-to-current frame, determining that the Pth-to-current frame does not meet the switching condition, the current frame meets the switching condition, the signal type of in/out of phase of the stereo signal in the current frame is the near out of phase signal, the initial channel combination scheme for the current frame is the anticorrelated signal channel combination scheme, the channel combination scheme for the previous frame is the correlated signal channel combination scheme, and the channel combination ratio factor of the previous frame is less than a second ratio factor threshold, and determining that the channel combination scheme for the current frame is the correlated signal channel combination scheme; or
when the channel combination scheme for the (P−1)th-to-current frame is different from the initial channel combination scheme for the Pth-to-current frame, determining that the Pth-to-current frame does not meet the switching condition, the current frame meets the switching condition, the signal type of in/out of phase of the stereo signal in the current frame is the near out of phase signal, the initial channel combination scheme for the current frame is the anticorrelated signal channel combination scheme, the channel combination scheme for the previous frame is the correlated signal channel combination scheme, and the channel combination ratio factor of the previous frame is greater than or equal to the second ratio factor threshold, and determining that the channel combination scheme for the current frame is the anticorrelated signal channel combination scheme.