摘要 |
Signal processing method and device, capable of avoiding bit waste and improving coding and decoding quality, the method comprising: determining the total number of the bits to be allocated corresponding to a current frame (S110); conducting a first bit allocation on a sub-band to be processed (S120); conducting a first information unit number determination on each sub-band after the first bit allocation to obtain the information unit number corresponding to each sub-band to be processed and the total number of redundant bits (S130); according to at least one of the sub-band characteristics and the total number of redundant bits in each sub-band to be processed, selecting sub-bands for a second bit allocation from the sub-bands to be processed (S140); conducting a second bit allocation on the selected sub-bands (S150); according to the number of bits of the first allocation and the number of bits of the second allocation of the sub-bands for the two bit allocations, conducting a second information unit number determination on each sub-band in the sub-bands of the second bit allocation to reobtain the information unit number corresponding to each sub-band in the sub-bands of the second bit allocation (S160). |