(C)Copyright 2000 NTT Cyber Space Laboratories
Control function of bit stream writing
- name
- TvqEncGetVectorInfo,
TvqEncUpdateVectorInfo - TwinVQ bit stream writing functions
- style
-
#include "twinvq.h"
#include "tvqenc.h"
void TvqEncGetVectorInfo(int *bits0[], int *bits1[]);
void TvqEncUpdateVectorInfo(int varBits, int *ndiv, int bits0[], int bits1[]);
- function
- These are called from bit stream writing function, not from main program.
- TvqEncGetVectorInfo()
gets configuration information of vector quantizer.
- TvqEncUpdateVectorInfo()
updates the vector division information (ndiv) and number of bits, (bit0 and bit1)
according to the already consumed bits (varBits).