Searched refs:ctxTypeID (Results 1 – 1 of 1) sorted by relevance
660 static int ctxTypeID_to_size(int ctxTypeID) { in ctxTypeID_to_size() argument661 switch(ctxTypeID) { in ctxTypeID_to_size()691 { U16 const ctxTypeID = (cctxPtr->prefs.compressionLevel < LZ4HC_CLEVEL_MIN) ? 1 : 2; in LZ4F_compressBegin_usingCDict() local692 int requiredSize = ctxTypeID_to_size(ctxTypeID); in LZ4F_compressBegin_usingCDict()709 cctxPtr->lz4CtxAlloc = ctxTypeID; in LZ4F_compressBegin_usingCDict()710 cctxPtr->lz4CtxState = ctxTypeID; in LZ4F_compressBegin_usingCDict()711 } else if (cctxPtr->lz4CtxState != ctxTypeID) { in LZ4F_compressBegin_usingCDict()720 cctxPtr->lz4CtxState = ctxTypeID; in LZ4F_compressBegin_usingCDict()