Lines Matching refs:k
329 RK_U32 k; in find_matching_ltrp() local
330 for (k = 0; k < slice->m_sps->m_numLongTermRefPicSPS; k++) { in find_matching_ltrp()
331 …if ((lsb == slice->m_sps->m_ltRefPicPocLsbSps[k]) && (usedFlag == slice->m_sps->m_usedByCurrPicLtS… in find_matching_ltrp()
332 *ltrpsIndex = k; in find_matching_ltrp()
414 RK_S32 k; in h265e_code_slice_header() local
415 …for (k = rps->m_numberOfPictures - 1; k > rps->m_numberOfPictures - rps->num_long_term_pic - 1; k-… in h265e_code_slice_header()
416 if (find_matching_ltrp(slice, <rpIndex, rps->poc[k], rps->m_used[k])) { in h265e_code_slice_header()
439 for ( k = rps->m_numberOfPictures - 1; k > offset - 1; k--) { in h265e_code_slice_header()
445 mpp_writer_put_bits(bitIf, rps->m_pocLSBLT[k], slice->m_sps->m_bitsForPOC); in h265e_code_slice_header()
446 mpp_writer_put_bits(bitIf, rps->m_used[k], 1); in h265e_code_slice_header()
448 mpp_writer_put_bits(bitIf, rps->m_deltaPocMSBPresentFlag[k], 1); in h265e_code_slice_header()
450 if (rps->m_deltaPocMSBPresentFlag[k]) { in h265e_code_slice_header()
452 … if ((k == rps->m_numberOfPictures - 1) || (k == rps->m_numberOfPictures - 1 - numLtrpInSPS)) { in h265e_code_slice_header()
456 mpp_writer_put_ue(bitIf, rps->m_deltaPOCMSBCycleLT[k]); in h265e_code_slice_header()
458 … RK_S32 differenceInDeltaMSB = rps->m_deltaPOCMSBCycleLT[k] - prevDeltaMSB; in h265e_code_slice_header()
461 prevDeltaMSB = rps->m_deltaPOCMSBCycleLT[k]; in h265e_code_slice_header()
709 RK_U32 k, m; in proc_ctu64() local
719 for (k = 0; k < numPartions; k++) { in proc_ctu64()
720 cu->m_cuDepth[k] = 0; in proc_ctu64()
721 cu->m_cuSize[k] = m_nCtuSize; in proc_ctu64()
732 for (k = 0; k < numPartions; k++) { in proc_ctu64()
733 switch (cu->m_cuDepth[k]) { in proc_ctu64()
734 case 0: cu->m_cuSize[k] = 64; break; in proc_ctu64()
735 case 1: cu->m_cuSize[k] = 32; break; in proc_ctu64()
736 case 2: cu->m_cuSize[k] = 16; break; in proc_ctu64()
737 case 3: cu->m_cuSize[k] = 8; break; in proc_ctu64()
767 RK_U32 k, m; in proc_ctu32() local
777 for (k = 0; k < numPartions; k++) { in proc_ctu32()
778 cu->m_cuDepth[k] = 0; in proc_ctu32()
779 cu->m_cuSize[k] = m_nCtuSize; in proc_ctu32()
790 for (k = 0; k < numPartions; k++) { in proc_ctu32()
791 switch (cu->m_cuDepth[k]) { in proc_ctu32()
792 case 0: cu->m_cuSize[k] = 32; break; in proc_ctu32()
793 case 1: cu->m_cuSize[k] = 16; break; in proc_ctu32()
794 case 2: cu->m_cuSize[k] = 8; break; in proc_ctu32()