00001 00032 #ifndef LL_PATCH_CODE_H 00033 #define LL_PATCH_CODE_H 00034 00035 class LLBitPack; 00036 class LLGroupHeader; 00037 class LLPatchHeader; 00038 00039 void init_patch_coding(LLBitPack &bitpack); 00040 void code_patch_group_header(LLBitPack &bitpack, LLGroupHeader *gopp); 00041 void code_patch_header(LLBitPack &bitpack, LLPatchHeader *ph, S32 *patch); 00042 void code_end_of_data(LLBitPack &bitpack); 00043 void code_patch(LLBitPack &bitpack, S32 *patch, S32 postquant); 00044 void end_patch_coding(LLBitPack &bitpack); 00045 00046 void init_patch_decoding(LLBitPack &bitpack); 00047 void decode_patch_group_header(LLBitPack &bitpack, LLGroupHeader *gopp); 00048 void decode_patch_header(LLBitPack &bitpack, LLPatchHeader *ph); 00049 void decode_patch(LLBitPack &bitpack, S32 *patches); 00050 00051 #endif