encodeBin 1217 source/encoder/entropy.cpp encodeBin(typeIdx >= 0, m_contextState[OFF_SAO_TYPE_IDX_CTX]); encodeBin 1252 source/encoder/entropy.cpp encodeBin(1, m_contextState[OFF_SAO_TYPE_IDX_CTX]); encodeBin 1270 source/encoder/entropy.cpp encodeBin(1, m_contextState[OFF_SAO_TYPE_IDX_CTX]); encodeBin 1422 source/encoder/entropy.cpp encodeBin(symbol ? 1 : 0, scmModel[0]); encodeBin 1430 source/encoder/entropy.cpp encodeBin(1, scmModel[offset]); encodeBin 1433 source/encoder/entropy.cpp encodeBin(0, scmModel[offset]); encodeBin 1516 source/encoder/entropy.cpp encodeBin(partSize == SIZE_2Nx2N ? 1 : 0, m_contextState[OFF_PART_SIZE_CTX]); encodeBin 1523 source/encoder/entropy.cpp encodeBin(1, m_contextState[OFF_PART_SIZE_CTX]); encodeBin 1529 source/encoder/entropy.cpp encodeBin(0, m_contextState[OFF_PART_SIZE_CTX + 0]); encodeBin 1530 source/encoder/entropy.cpp encodeBin(1, m_contextState[OFF_PART_SIZE_CTX + 1]); encodeBin 1533 source/encoder/entropy.cpp encodeBin((partSize == SIZE_2NxN) ? 1 : 0, m_contextState[OFF_PART_SIZE_CTX + 3]); encodeBin 1542 source/encoder/entropy.cpp encodeBin(0, m_contextState[OFF_PART_SIZE_CTX + 0]); encodeBin 1543 source/encoder/entropy.cpp encodeBin(0, m_contextState[OFF_PART_SIZE_CTX + 1]); encodeBin 1545 source/encoder/entropy.cpp encodeBin(1, m_contextState[OFF_PART_SIZE_CTX + 2]); encodeBin 1548 source/encoder/entropy.cpp encodeBin((partSize == SIZE_Nx2N) ? 1 : 0, m_contextState[OFF_PART_SIZE_CTX + 3]); encodeBin 1566 source/encoder/entropy.cpp encodeBin((unaryIdx != 0), m_contextState[OFF_MERGE_IDX_EXT_CTX]); encodeBin 1596 source/encoder/entropy.cpp encodeBin((predIdx[j] != -1) ? 1 : 0, m_contextState[OFF_ADI_CTX]); encodeBin 1636 source/encoder/entropy.cpp encodeBin(0, m_contextState[OFF_CHROMA_PRED_CTX]); encodeBin 1648 source/encoder/entropy.cpp encodeBin(1, m_contextState[OFF_CHROMA_PRED_CTX]); encodeBin 1659 source/encoder/entropy.cpp encodeBin(interDir == 2 ? 1 : 0, m_contextState[OFF_INTER_DIR_CTX + ctx]); encodeBin 1661 source/encoder/entropy.cpp encodeBin(interDir, m_contextState[OFF_INTER_DIR_CTX + 4]); encodeBin 1668 source/encoder/entropy.cpp encodeBin(refFrame > 0, m_contextState[OFF_REF_NO_CTX]); encodeBin 1677 source/encoder/entropy.cpp encodeBin(refFrame > 0, m_contextState[OFF_REF_NO_CTX + 1]); encodeBin 1693 source/encoder/entropy.cpp encodeBin(hor != 0 ? 1 : 0, m_contextState[OFF_MV_RES_CTX]); encodeBin 1694 source/encoder/entropy.cpp encodeBin(ver != 0 ? 1 : 0, m_contextState[OFF_MV_RES_CTX]); encodeBin 1702 source/encoder/entropy.cpp encodeBin(horAbs > 1 ? 1 : 0, m_contextState[OFF_MV_RES_CTX + 1]); encodeBin 1705 source/encoder/entropy.cpp encodeBin(verAbs > 1 ? 1 : 0, m_contextState[OFF_MV_RES_CTX + 1]); encodeBin 1759 source/encoder/entropy.cpp encodeBin(cu.getCbf(absPartIdx , ttype, subTUDepth), m_contextState[OFF_QT_CBF_CTX + ctx]); encodeBin 1760 source/encoder/entropy.cpp encodeBin(cu.getCbf(absPartIdx + tuNumParts, ttype, subTUDepth), m_contextState[OFF_QT_CBF_CTX + ctx]); encodeBin 1763 source/encoder/entropy.cpp encodeBin(cu.getCbf(absPartIdx, ttype, lowestTUDepth), m_contextState[OFF_QT_CBF_CTX + ctx]); encodeBin 1885 source/encoder/entropy.cpp encodeBin(1, *(ctx + ctxIdx + (ctxLast >> ctxShift))); encodeBin 1888 source/encoder/entropy.cpp encodeBin(0, *(ctx + ctxIdx + (prefixOnes >> ctxShift))); encodeBin 1939 source/encoder/entropy.cpp encodeBin(sigCoeffGroup, baseCoeffGroupCtx[ctxSig]); encodeBin 2018 source/encoder/entropy.cpp encodeBin(sig, baseCtx[ctxSig]); encodeBin 2045 source/encoder/entropy.cpp encodeBin(sig, baseCtx[ctxSig]); encodeBin 2119 source/encoder/entropy.cpp encodeBin(symbol1, baseCtxMod[c1]); encodeBin 2139 source/encoder/entropy.cpp encodeBin(firstC2Flag, baseCtxMod[0]); encodeBin 171 source/encoder/entropy.h inline void codeSaoMerge(uint32_t code) { encodeBin(code, m_contextState[OFF_SAO_MERGE_FLAG_CTX]); } encodeBin 172 source/encoder/entropy.h inline void codeSaoType(uint32_t code) { encodeBin(code, m_contextState[OFF_SAO_TYPE_IDX_CTX]); } encodeBin 173 source/encoder/entropy.h inline void codeMVPIdx(uint32_t symbol) { encodeBin(symbol, m_contextState[OFF_MVP_IDX_CTX]); } encodeBin 174 source/encoder/entropy.h inline void codeMergeFlag(const CUData& cu, uint32_t absPartIdx) { encodeBin(cu.m_mergeFlag[absPartIdx], m_contextState[OFF_MERGE_FLAG_EXT_CTX]); } encodeBin 175 source/encoder/entropy.h inline void codeSkipFlag(const CUData& cu, uint32_t absPartIdx) { encodeBin(cu.isSkipped(absPartIdx), m_contextState[OFF_SKIP_FLAG_CTX + cu.getCtxSkipFlag(absPartIdx)]); } encodeBin 176 source/encoder/entropy.h inline void codeSplitFlag(const CUData& cu, uint32_t absPartIdx, uint32_t depth) { encodeBin(cu.m_cuDepth[absPartIdx] > depth, m_contextState[OFF_SPLIT_FLAG_CTX + cu.getCtxSplitFlag(absPartIdx, depth)]); } encodeBin 177 source/encoder/entropy.h inline void codeTransformSubdivFlag(uint32_t symbol, uint32_t ctx) { encodeBin(symbol, m_contextState[OFF_TRANS_SUBDIV_FLAG_CTX + ctx]); } encodeBin 178 source/encoder/entropy.h inline void codePredMode(int predMode) { encodeBin(predMode == MODE_INTRA ? 1 : 0, m_contextState[OFF_PRED_MODE_CTX]); } encodeBin 179 source/encoder/entropy.h inline void codeCUTransquantBypassFlag(uint32_t symbol) { encodeBin(symbol, m_contextState[OFF_TQUANT_BYPASS_FLAG_CTX]); } encodeBin 180 source/encoder/entropy.h inline void codeQtCbfLuma(uint32_t cbf, uint32_t tuDepth) { encodeBin(cbf, m_contextState[OFF_QT_CBF_CTX + !tuDepth]); } encodeBin 181 source/encoder/entropy.h inline void codeQtCbfChroma(uint32_t cbf, uint32_t tuDepth) { encodeBin(cbf, m_contextState[OFF_QT_CBF_CTX + 2 + tuDepth]); } encodeBin 182 source/encoder/entropy.h inline void codeQtRootCbf(uint32_t cbf) { encodeBin(cbf, m_contextState[OFF_QT_ROOT_CBF_CTX]); } encodeBin 183 source/encoder/entropy.h inline void codeTransformSkipFlags(uint32_t transformSkip, TextType ttype) { encodeBin(transformSkip, m_contextState[OFF_TRANSFORMSKIP_FLAG_CTX + (ttype ? NUM_TRANSFORMSKIP_FLAG_CTX : 0)]); } encodeBin 207 source/encoder/entropy.h inline void codeQtRootCbfZero() { encodeBin(0, m_contextState[OFF_QT_ROOT_CBF_CTX]); } encodeBin 215 source/encoder/entropy.h void encodeBin(uint32_t binValue, uint8_t& ctxModel);