Lines Matching refs:depth
584 static void code_split_flag(H265eSlice *slice, RK_U32 abs_part_idx, RK_U32 depth, DataCu *cu) in code_split_flag() argument
588 if (depth == slice->m_sps->m_maxCUDepth - slice->m_sps->m_addCUDepth) in code_split_flag()
591 …h265e_dbg_skip("depth %d cu->m_cuDepth %d", depth, cu->m_cuDepth[sps->zscan2raster[abs_part_idx]]); in code_split_flag()
594 RK_U32 currSplitFlag = (cu->m_cuDepth[sps->zscan2raster[abs_part_idx]] > depth) ? 1 : 0; in code_split_flag()
599 static void encode_cu(H265eSlice *slice, RK_U32 abs_part_idx, RK_U32 depth, DataCu *cu) in encode_cu() argument
604 RK_U32 rpelx = lpelx + (sps->m_maxCUSize >> depth) - 1; in encode_cu()
606 RK_U32 bpely = tpely + (sps->m_maxCUSize >> depth) - 1; in encode_cu()
608 h265e_dbg_skip("EncodeCU depth %d, abs_part_idx %d", depth, abs_part_idx); in encode_cu()
611 h265e_dbg_skip("code_split_flag in depth %d", depth); in encode_cu()
612 code_split_flag(slice, abs_part_idx, depth, cu); in encode_cu()
620 …if ((depth < cu->m_cuDepth[sps->zscan2raster[abs_part_idx]] && (depth < (sps->m_maxCUDepth - sps->… in encode_cu()
622 RK_U32 qNumParts = (numPartions >> (depth << 1)) >> 2; in encode_cu()
626 …h265e_dbg_skip("depth %d partUnitIdx = %d, qNumParts %d, abs_part_idx %d", depth, partUnitIdx, qNu… in encode_cu()
630 encode_cu(slice, abs_part_idx, depth + 1, cu); in encode_cu()
636 h265e_dbg_skip("code_skip_flag in depth %d", depth); in encode_cu()
638 h265e_dbg_skip("code_merge_index in depth %d", depth); in encode_cu()