Home
last modified time | relevance | path

Searched refs:uiCode (Results 1 – 7 of 7) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dau_parser.cpp659 uint32_t uiCode; in ParseRefBasePicMarking() local
660 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); //adaptive_ref_base_pic_marking_mode_flag in ParseRefBasePicMarking()
661 const bool kbAdaptiveMarkingModeFlag = !!uiCode; in ParseRefBasePicMarking()
666 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //MMCO_base in ParseRefBasePicMarking()
667 const uint32_t kuiMmco = uiCode; in ParseRefBasePicMarking()
675 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //difference_of_base_pic_nums_minus1 in ParseRefBasePicMarking()
676 pRefBasePicMarking->mmco_base[iIdx].uiDiffOfPicNums = 1 + uiCode; in ParseRefBasePicMarking()
679 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //long_term_base_pic_num in ParseRefBasePicMarking()
680 pRefBasePicMarking->mmco_base[iIdx].uiLongTermPicNum = uiCode; in ParseRefBasePicMarking()
690 uint32_t uiCode; in ParsePrefixNalUnit() local
[all …]
Dparse_mb_syn_cabac.cpp73 uint32_t uiCode; in DecodeCabacIntraMbType() local
79 WELS_READ_VERIFY (DecodeBinCabac (pCabacDecEngine, pBinCtx, uiCode)); in DecodeCabacIntraMbType()
80 if (!uiCode) { in DecodeCabacIntraMbType()
84 WELS_READ_VERIFY (DecodeTerminateCabac (pCabacDecEngine, uiCode)); in DecodeCabacIntraMbType()
85 if (uiCode) { in DecodeCabacIntraMbType()
89 WELS_READ_VERIFY (DecodeBinCabac (pCabacDecEngine, pBinCtx + 1, uiCode)); /* cbp_luma != 0 */ in DecodeCabacIntraMbType()
90 uiMbType += 12 * uiCode; in DecodeCabacIntraMbType()
92 WELS_READ_VERIFY (DecodeBinCabac (pCabacDecEngine, pBinCtx + 2, uiCode)); in DecodeCabacIntraMbType()
93 if (uiCode) { in DecodeCabacIntraMbType()
94 WELS_READ_VERIFY (DecodeBinCabac (pCabacDecEngine, pBinCtx + 2, uiCode)); in DecodeCabacIntraMbType()
[all …]
Dcabac_decoder.cpp254 uint32_t uiCode; in DecodeUnaryBinCabac() local
258 WELS_READ_VERIFY (DecodeBinCabac (pDecEngine, pBinCtx, uiCode)); in DecodeUnaryBinCabac()
260 } while (uiCode != 0); in DecodeUnaryBinCabac()
266 uint32_t uiCode; in DecodeExpBypassCabac() local
271 WELS_READ_VERIFY (DecodeBypassCabac (pDecEngine, uiCode)); in DecodeExpBypassCabac()
272 if (uiCode == 1) { in DecodeExpBypassCabac()
276 } while (uiCode != 0 && iCount != 16); in DecodeExpBypassCabac()
282 WELS_READ_VERIFY (DecodeBypassCabac (pDecEngine, uiCode)); in DecodeExpBypassCabac()
283 if (uiCode == 1) { in DecodeExpBypassCabac()
291 …2_t DecodeUEGLevelCabac (PWelsCabacDecEngine pDecEngine, PWelsCabacCtx pBinCtx, uint32_t& uiCode) { in DecodeUEGLevelCabac() argument
[all …]
Ddecoder_core.cpp321 uint32_t uiCode; in ParsePredWeightedTable() local
325 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); in ParsePredWeightedTable()
326 WELS_CHECK_SE_BOTH_ERROR_NOLOG (uiCode, 0, 7, "luma_log2_weight_denom", in ParsePredWeightedTable()
328 pSh->sPredWeightTable.uiLumaLog2WeightDenom = uiCode; in ParsePredWeightedTable()
330 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); in ParsePredWeightedTable()
331 WELS_CHECK_SE_BOTH_ERROR_NOLOG (uiCode, 0, 7, "chroma_log2_weight_denom", in ParsePredWeightedTable()
333 pSh->sPredWeightTable.uiChromaLog2WeightDenom = uiCode; in ParsePredWeightedTable()
343 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); in ParsePredWeightedTable()
344 if (!!uiCode) { in ParsePredWeightedTable()
364 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); in ParsePredWeightedTable()
[all …]
Ddecode_slice.cpp455 uint32_t uiCode; in ParseIntra4x4Mode() local
465 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); in ParseIntra4x4Mode()
466 iPrevIntra4x4PredMode = uiCode; in ParseIntra4x4Mode()
480 WELS_READ_VERIFY (BsGetBits (pBs, 3, &uiCode)); in ParseIntra4x4Mode()
481 iBestMode = uiCode + ((int32_t) uiCode >= kiPredMode); in ParseIntra4x4Mode()
511 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //intra_chroma_pred_mode in ParseIntra4x4Mode()
512 if (uiCode > MAX_PRED_MODE_ID_CHROMA) { in ParseIntra4x4Mode()
515 pCurDqLayer->pChromaPredMode[iMbXy] = uiCode; in ParseIntra4x4Mode()
534 uint32_t uiCode; in ParseIntra8x8Mode() local
548 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); in ParseIntra8x8Mode()
[all …]
Dparse_mb_syn_cavlc.cpp1077 uint32_t uiCode; in ParseInterInfo() local
1092 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); //motion_prediction_flag_l0[ mbPartIdx ] in ParseInterInfo()
1093 iMotionPredFlag[0] = uiCode; in ParseInterInfo()
1096 … WELS_READ_VERIFY (BsGetTe0 (pBs, iRefCount[0], &uiCode)); //motion_prediction_flag_l1[ mbPartIdx ] in ParseInterInfo()
1097 iRefIdx = uiCode; in ParseInterInfo()
1129 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); //motion_prediction_flag_l0[ mbPartIdx ] in ParseInterInfo()
1130 iMotionPredFlag[i] = uiCode; in ParseInterInfo()
1139 WELS_READ_VERIFY (BsGetTe0 (pBs, iRefCount[0], &uiCode)); //ref_idx_l0[ mbPartIdx ] in ParseInterInfo()
1140 iRefIdx[i] = uiCode; in ParseInterInfo()
1169 WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); //motion_prediction_flag_l0[ mbPartIdx ] in ParseInterInfo()
[all …]
/third_party/openh264/codec/decoder/core/inc/
Dcabac_decoder.h102 …MvCabac (PWelsCabacDecEngine pDecEngine, PWelsCabacCtx pBinCtx, uint32_t iMaxC, uint32_t& uiCode);