• Rostislav Pehlivanov's avatar
    opus_celt: rename structures to better names and reorganize them · 07b78340
    Rostislav Pehlivanov authored
    This is meant to be applied on top of my previous patch which
    split PVQ into celt_pvq.c and made opus_celt.h
    
    Essentially nothing has been changed other than renaming CeltFrame
    to CeltBlock (CeltFrame had absolutely nothing at all to do with
    a frame) and CeltContext to CeltFrame.
    3 variables have been put in CeltFrame as they make more sense
    there rather than being passed around as arguments.
    The coefficients have been moved to the CeltBlock structure
    (why the hell were they in CeltContext and not in CeltFrame??).
    
    Now the encoder would be able to use the exact context the decoder
    uses (plus a couple of extra fields in there).
    
    FATE passes, no slowdowns, etc.
    Signed-off-by: 's avatarRostislav Pehlivanov <atomnuker@gmail.com>
    07b78340
opusdec.c 23.7 KB