Abstract:
This disclosure provides an encoding method, a decoding method, an encoding apparatus, and a decoding apparatus for a stereo signal. The encoding method includes: performing interpolation processing based on the inter-channel time difference in the current frame and an inter-channel time difference in a previous frame of the current frame; performing time-domain downmixing processing on the stereo signal after the delay alignment in the current frame, to obtain a primary-channel signal and a secondary-channel signal in the current frame; and quantizing the inter-channel time difference after the interpolation processing in the current frame, the primary channel signal and the secondary channel signal.
Abstract:
A board includes: a baseband unit, multiple transmitters, multiple receivers, a multi-antenna array, a correction transceiver, a correction calculation unit, a bidirectional coupler, and a combiner-splitter. The bidirectional coupler is configured to couple radio frequency signals output by the multiple transmitters and then transmit the coupled radio frequency signals to the combiner-splitter, and to couple receiver correction reference signals obtained by performing division by the combiner-splitter and then send the coupled receiver correction reference signals to the multiple receivers; and the combiner-splitter is configured to combine transmitter radio frequency signals coupled by the bidirectional coupler and then transmit the combined transmitter radio frequency signals to the correction transceiver, and to divide a receiver correction reference signal sent by the correction transceiver and then send receiver correction reference signals obtained by performing division to the coupler. Accuracy of channel reciprocity correction of a transmitter and a receiver can be ensured.
Abstract:
An audio encoding and decoding method and a related apparatus are provided. The audio encoding method includes: determining a channel combination scheme for a current frame; when the channel combination scheme for the current frame is different from a channel combination scheme for a previous frame, performing segmented time-domain downmix processing on left and right channel signals in the current frame based on the channel combination scheme for the current frame and the channel combination scheme for the previous frame, to obtain a primary channel signal and a secondary channel signal in the current frame; and encoding the obtained primary channel signal and secondary channel signal in the current frame.
Abstract:
This application discloses a downmixed signal calculation method and apparatus. The method includes: when a current frame or a previous frame of the current frame of a stereo signal is not a switching frame and a residual signal in the current frame or the previous frame does not need to be encoded, obtaining a second downmixed signal in the current frame and a downmix compensation factor of the current frame, correcting the second downmixed signal in the current frame based on the downmix compensation factor of the current frame, to obtain the first downmixed signal in the current frame and determining the first downmixed signal in the current frame as a downmixed signal in the current frame in a preset frequency band.
Abstract:
The method includes: An electronic device registers with a server; broadcasts service information to one or more mobile terminals based on a preset broadcast distance; receives a service subscription request sent by the one or more mobile terminals; sends a first message to the server, where the first message includes the service subscription request, and the first message indicates the server to confirm the service subscription request; and receives a service request sent by the one or more mobile terminals, and sends a second message to the server based on the service request, where the second message indicates the server to perform service processing.
Abstract:
This disclosure provides methods and apparatuses relating to device control right obtaining. One method is applied to a system including a first device and a second device. The first device detects that the second device approaches the first device, the first device sends a first key to the second device. After receiving the first key, the second device encrypts a control instruction by using the first key, where the control instruction is used to control the first device. The second device sends the encrypted control instruction to the first device, and the first device decrypts the encrypted control instruction to obtain the control instruction and executes the control instruction.
Abstract:
A bit allocation method and apparatus for an audio object are disclosed, which relate to the field of audio encoding and decoding technologies. The method includes: separately pre-rendering a plurality of audio objects to be pre-rendered in an audio frame, to obtain a plurality of pre-rendered audio objects; obtaining respective perceptual importance parameter values of the plurality of pre-rendered audio objects; obtaining a bit allocation parameter value of a current audio object to be pre-rendered based on the respective perceptual importance parameter values of the plurality of pre-rendered audio objects; and determining, based on the bit allocation parameter value of the current audio object to be pre-rendered and a total quantity of to-be-allocated bits corresponding to the plurality of audio objects to be pre-rendered, a target quantity of bits allocated to the current audio object to be pre-rendered.
Abstract:
Audio encoding and decoding methods and apparatuses are disclosed, to reduce an amount of encoded and decoded data, so as to improve encoding and decoding efficiency. The method includes: selecting a first target virtual speaker from a preset virtual speaker set based on a first scene audio signal; generating a first virtual speaker signal based on the first scene audio signal and attribute information of the first target virtual speaker; obtaining a second scene audio signal using the attribute information of the first target virtual speaker and the first virtual speaker signal; generating a residual signal based on the first scene audio signal and the second scene audio signal; and encoding the first virtual speaker signal and the residual signal, to produce encoded signals, and writing the encoded signals into a bitstream.
Abstract:
A multi-channel audio signal encoding method includes: obtaining a to-be-encoded first audio frame; obtaining a correlation value set, where the correlation value set includes respective correlation values of a plurality of channel pairs; selecting M correlation values from the correlation value set, where all the M correlation values are greater than correlation values other than the M correlation values in the correlation value set, and all the M correlation values are greater than or equal to a pairing threshold; obtaining M channel pair sets; determining a target channel pair set from the M channel pair sets, where a sum of correlation values of all channel pairs in the target channel pair set is the largest in those of the M channel pair sets; and encoding the first audio frame based on the target channel pair set.
Abstract:
An audio encoding method and device and an audio decoding method and device are provided. The audio encoding method includes: obtaining a current frame of an audio signal, where the current frame includes a high frequency band signal and a low frequency band signal; obtaining a compatible layer encoding parameter of the current frame based on the high frequency band signal and the low frequency band signal; obtaining an enhancement layer encoding parameter of the current frame based on the high frequency band signal; and performing bitstream multiplexing on the compatible layer encoding parameter and the enhancement layer encoding parameter to obtain an encoded bitstream.