Lines Matching refs:sps
210 H265eSps *sps = &p->sps; in h265e_slice_init() local
219 slice->m_sps = sps; in h265e_slice_init()
234 slice->m_enableTMVPFlag = sps->m_TMVPFlagsPresent; in h265e_slice_init()
359 H265eSps *sps = slice->m_sps; in h265e_code_slice_header() local
360 RK_U32 pic_width_in_ctb = (sps->m_picWidthInLumaSamples + sps->m_maxCUSize - 1) / in h265e_code_slice_header()
361 sps->m_maxCUSize; in h265e_code_slice_header()
362 RK_U32 pic_height_in_ctb = (sps->m_picHeightInLumaSamples + sps->m_maxCUSize - 1) / in h265e_code_slice_header()
363 sps->m_maxCUSize; in h265e_code_slice_header()
559 H265eSps *sps = slice->m_sps; in code_skip_flag() local
561 RK_U32 tpelx = cu->pixelX + sps->raster2pelx[sps->zscan2raster[abs_part_idx]]; in code_skip_flag()
562 RK_U32 tpely = cu->pixelY + sps->raster2pely[sps->zscan2raster[abs_part_idx]]; in code_skip_flag()
586 H265eSps *sps = slice->m_sps; in code_split_flag() local
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()
601 H265eSps *sps = slice->m_sps; in encode_cu() local
603 RK_U32 lpelx = cu->pixelX + sps->raster2pelx[sps->zscan2raster[abs_part_idx]]; in encode_cu()
604 RK_U32 rpelx = lpelx + (sps->m_maxCUSize >> depth) - 1; in encode_cu()
605 RK_U32 tpely = cu->pixelY + sps->raster2pely[sps->zscan2raster[abs_part_idx]]; in encode_cu()
606 RK_U32 bpely = tpely + (sps->m_maxCUSize >> depth) - 1; in encode_cu()
618 …, m_addCUDepth %d", abs_part_idx, cu->m_cuDepth[sps->zscan2raster[abs_part_idx]], sps->m_maxCUDept… in encode_cu()
620 …if ((depth < cu->m_cuDepth[sps->zscan2raster[abs_part_idx]] && (depth < (sps->m_maxCUDepth - sps->… in encode_cu()
621 RK_U32 numPartions = 1 << (sps->m_maxCUDepth << 1); in encode_cu()
627 lpelx = cu->pixelX + sps->raster2pelx[sps->zscan2raster[abs_part_idx]]; in encode_cu()
628 tpely = cu->pixelY + sps->raster2pely[sps->zscan2raster[abs_part_idx]]; in encode_cu()
708 H265eSps *sps = slice->m_sps; in proc_ctu64() local
711 RK_U32 m_nCtuSize = sps->m_maxCUSize; in proc_ctu64()
716 RK_U32 numPartions = 1 << (sps->m_maxCUDepth << 1); in proc_ctu64()
766 H265eSps *sps = slice->m_sps; in proc_ctu32() local
769 RK_U32 m_nCtuSize = sps->m_maxCUSize; in proc_ctu32()
774 RK_U32 numPartions = 1 << (sps->m_maxCUDepth << 1); in proc_ctu32()
804 H265eSps *sps = &p->sps; in h265e_code_skip_tile() local
810 if (sps->m_maxCUSize == 32) in h265e_code_skip_tile()
834 offset_x += sps->m_maxCUSize; in h265e_code_skip_tile()
837 offset_y += sps->m_maxCUSize; in h265e_code_skip_tile()
854 H265eSps *sps = &p->sps; in h265e_code_slice_skip_frame() local
871 tile.tile_end_y = sps->m_picHeightInLumaSamples - 1; in h265e_code_slice_skip_frame()
879 (pps->m_nTileColumnWidthArray[i] * sps->m_maxCUSize) - 1; in h265e_code_slice_skip_frame()
881 tile.tile_end_x = sps->m_picWidthInLumaSamples - 1; in h265e_code_slice_skip_frame()
883 tile.tile_start_x += (pps->m_nTileColumnWidthArray[i] * sps->m_maxCUSize); in h265e_code_slice_skip_frame()
887 mb_wd = (sps->m_picWidthInLumaSamples + sps->m_maxCUSize - 1) / sps->m_maxCUSize; in h265e_code_slice_skip_frame()
888 mb_h = (sps->m_picHeightInLumaSamples + sps->m_maxCUSize - 1) / sps->m_maxCUSize; in h265e_code_slice_skip_frame()
891 tile.tile_end_x = sps->m_picWidthInLumaSamples - 1; in h265e_code_slice_skip_frame()