Lines Matching refs:s_parse

132     bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm;  in ihevcd_parse_transform_tree()
136 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_transform_tree()
138 max_trafo_depth = ps_codec->s_parse.s_cu.i4_max_trafo_depth; in ihevcd_parse_transform_tree()
139 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_transform_tree()
140 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_transform_tree()
141 intra_split_flag = ps_codec->s_parse.s_cu.i4_intra_split_flag; in ihevcd_parse_transform_tree()
164 (PRED_MODE_INTER == ps_codec->s_parse.s_cu.i4_pred_mode) && in ihevcd_parse_transform_tree()
165 (PART_2Nx2N != ps_codec->s_parse.s_cu.i4_part_mode) && in ihevcd_parse_transform_tree()
181 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = 0; in ihevcd_parse_transform_tree()
182 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] = 0; in ihevcd_parse_transform_tree()
186 …ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] = ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth - 1… in ihevcd_parse_transform_tree()
187 …ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth - 1… in ihevcd_parse_transform_tree()
193 if((trafo_depth == 0) || ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth - 1]) in ihevcd_parse_transform_tree()
198 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] = value; in ihevcd_parse_transform_tree()
201 if((trafo_depth == 0) || ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth - 1]) in ihevcd_parse_transform_tree()
206 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = value; in ihevcd_parse_transform_tree()
219 …intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_m… in ihevcd_parse_transform_tree()
223 …intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_m… in ihevcd_parse_transform_tree()
227 …intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_m… in ihevcd_parse_transform_tree()
231 …intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_m… in ihevcd_parse_transform_tree()
244 tu_t *ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_transform_tree()
246 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
247 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree()
249 if((ps_codec->s_parse.s_cu.i4_pred_mode == PRED_MODE_INTRA) || in ihevcd_parse_transform_tree()
251 (ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth]) || in ihevcd_parse_transform_tree()
252 (ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth])) in ihevcd_parse_transform_tree()
261 ps_codec->s_parse.s_cu.i1_cbf_luma = value; in ihevcd_parse_transform_tree()
265 ps_codec->s_parse.s_cu.i1_cbf_luma = 1; in ihevcd_parse_transform_tree()
275 ps_tu->b1_transquant_bypass = ps_codec->s_parse.s_cu.i4_cu_transquant_bypass; in ihevcd_parse_transform_tree()
277 ps_tu->b7_qp = ps_codec->s_parse.u4_qp; in ihevcd_parse_transform_tree()
280 ps_tu->b3_chroma_intra_mode_idx = ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx; in ihevcd_parse_transform_tree()
283 if(ps_codec->s_parse.s_cu.i1_cbf_luma || in ihevcd_parse_transform_tree()
284 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] || in ihevcd_parse_transform_tree()
285 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth]) in ihevcd_parse_transform_tree()
288 … if(ps_pps->i1_cu_qp_delta_enabled_flag && !ps_codec->s_parse.i4_is_cu_qp_delta_coded) in ihevcd_parse_transform_tree()
312 ps_codec->s_parse.i4_is_cu_qp_delta_coded = 1; in ihevcd_parse_transform_tree()
331 ps_codec->s_parse.s_cu.i4_cu_qp_delta = cu_qp_delta_abs; in ihevcd_parse_transform_tree()
335 if(ps_codec->s_parse.s_cu.i1_cbf_luma) in ihevcd_parse_transform_tree()
341 if(4 == ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx) in ihevcd_parse_transform_tree()
342 intra_pred_mode_chroma = ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0]; in ihevcd_parse_transform_tree()
345 …intra_pred_mode_chroma = gau1_intra_pred_chroma_modes[ps_codec->s_parse.s_cu.i4_intra_chroma_pred_… in ihevcd_parse_transform_tree()
348 ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0]) in ihevcd_parse_transform_tree()
356 if(ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth]) in ihevcd_parse_transform_tree()
362 if(ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth]) in ihevcd_parse_transform_tree()
370 if(ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth]) in ihevcd_parse_transform_tree()
376 if(ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth]) in ihevcd_parse_transform_tree()
398 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) && in ihevcd_parse_transform_tree()
399 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2)) in ihevcd_parse_transform_tree()
408 ps_codec->s_parse.ps_tu++; in ihevcd_parse_transform_tree()
409 ps_codec->s_parse.s_cu.i4_tu_cnt++; in ihevcd_parse_transform_tree()
410 ps_codec->s_parse.i4_pic_tu_idx++; in ihevcd_parse_transform_tree()
439 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_mvd()
443 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_mvd()
543 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_pcm_sample()
551 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_pcm_sample()
552 tu_t *ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_pcm_sample()
555 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_pcm_sample()
565 WORD8 *pi1_buf = (WORD8 *)ps_codec->s_parse.pv_tu_coeff_data; in ihevcd_parse_pcm_sample()
580 ps_codec->s_parse.pv_tu_coeff_data = pi1_buf; in ihevcd_parse_pcm_sample()
585 ps_tu_sblk_coeff_data = (tu_sblk_coeff_data_t *)ps_codec->s_parse.pv_tu_coeff_data; in ihevcd_parse_pcm_sample()
613 ps_codec->s_parse.pv_tu_coeff_data = pu1_coeff_data; in ihevcd_parse_pcm_sample()
642 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_pu_mvp()
643 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_pu_mvp()
646 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_pu_mvp()
666 ctxt_idx = IHEVC_CAB_INTER_PRED_IDC + ps_codec->s_parse.i4_ct_depth; in ihevcd_parse_pu_mvp()
824 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_prediction_unit()
828 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_prediction_unit()
829 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_prediction_unit()
831 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_prediction_unit()
836 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_prediction_unit()
837 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
838 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_prediction_unit()
846 ps_pu->b3_part_mode = ps_codec->s_parse.s_cu.i4_part_mode; in ihevcd_parse_prediction_unit()
848 if(PRED_MODE_SKIP == ps_codec->s_parse.s_cu.i4_pred_mode) in ihevcd_parse_prediction_unit()
917 ps_codec->s_parse.ps_pu++; in ihevcd_parse_prediction_unit()
918 ps_codec->s_parse.i4_pic_pu_idx++; in ihevcd_parse_prediction_unit()
966 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_coding_unit_intra()
967 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_coding_unit_intra()
971 WORD32 part_mode = ps_codec->s_parse.s_cu.i4_part_mode; in ihevcd_parse_coding_unit_intra()
972 tu_t *ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_coding_unit_intra()
973 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit_intra()
976 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_unit_intra()
977 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
978 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit_intra()
999 ps_codec->s_parse.i4_cu_pcm_flag = pcm_flag; in ihevcd_parse_coding_unit_intra()
1005 if(ps_codec->s_parse.s_bitstrm.u4_bit_ofst % 8) in ihevcd_parse_coding_unit_intra()
1008 ihevcd_bits_flush_to_byte_boundary(&ps_codec->s_parse.s_bitstrm); in ihevcd_parse_coding_unit_intra()
1014 ihevcd_cabac_reset(&ps_codec->s_parse.s_cabac, in ihevcd_parse_coding_unit_intra()
1015 &ps_codec->s_parse.s_bitstrm); in ihevcd_parse_coding_unit_intra()
1017 ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_coding_unit_intra()
1025 ps_tu->b7_qp = ps_codec->s_parse.u4_qp; in ihevcd_parse_coding_unit_intra()
1031 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) && in ihevcd_parse_coding_unit_intra()
1032 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2)) in ihevcd_parse_coding_unit_intra()
1043 pu1_luma_intra_pred_mode_top = ps_codec->s_parse.pu1_luma_intra_pred_mode_top in ihevcd_parse_coding_unit_intra()
1044 + (ps_codec->s_parse.s_cu.i4_pos_x * 2); in ihevcd_parse_coding_unit_intra()
1046 pu1_luma_intra_pred_mode_left = ps_codec->s_parse.pu1_luma_intra_pred_mode_left in ihevcd_parse_coding_unit_intra()
1047 + (ps_codec->s_parse.s_cu.i4_pos_y * 2); in ihevcd_parse_coding_unit_intra()
1062 pu1_pic_no_loop_filter_flag = ps_codec->s_parse.pu1_pic_no_loop_filter_flag; in ihevcd_parse_coding_unit_intra()
1076 ps_codec->s_parse.ps_tu++; in ihevcd_parse_coding_unit_intra()
1077 ps_codec->s_parse.s_cu.i4_tu_cnt++; in ihevcd_parse_coding_unit_intra()
1078 ps_codec->s_parse.i4_pic_tu_idx++; in ihevcd_parse_coding_unit_intra()
1096 ps_codec->s_parse.s_cu.ai4_prev_intra_luma_pred_flag[i] = in ihevcd_parse_coding_unit_intra()
1103 if(ps_codec->s_parse.s_cu.ai4_prev_intra_luma_pred_flag[cnt]) in ihevcd_parse_coding_unit_intra()
1107 ps_codec->s_parse.s_cu.ai4_mpm_idx[cnt] = value; in ihevcd_parse_coding_unit_intra()
1114 ps_codec->s_parse.s_cu.ai4_rem_intra_luma_pred_mode[cnt] = in ihevcd_parse_coding_unit_intra()
1123 ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx = 4; in ihevcd_parse_coding_unit_intra()
1126 ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx = in ihevcd_parse_coding_unit_intra()
1131 ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx, in ihevcd_parse_coding_unit_intra()
1139 ps_codec->s_parse.ps_pu++; in ihevcd_parse_coding_unit_intra()
1140 ps_codec->s_parse.i4_pic_pu_idx++; in ihevcd_parse_coding_unit_intra()
1176 UWORD32 *pu4_skip_top = ps_codec->s_parse.pu4_skip_cu_top; in ihevcd_parse_coding_unit()
1177 UWORD32 u4_skip_left = ps_codec->s_parse.u4_skip_cu_left; in ihevcd_parse_coding_unit()
1178 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_coding_unit()
1179 tu_t *ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_coding_unit()
1183 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_coding_unit()
1188 ps_codec->s_parse.s_cu.i4_tu_cnt = 0; in ihevcd_parse_coding_unit()
1189 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_unit()
1190 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_coding_unit()
1192 cu_pos_x = ps_codec->s_parse.s_cu.i4_pos_x; in ihevcd_parse_coding_unit()
1193 cu_pos_y = ps_codec->s_parse.s_cu.i4_pos_y; in ihevcd_parse_coding_unit()
1197 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_coding_unit()
1202 ps_codec->s_parse.s_cu.i4_cu_transquant_bypass = 0; in ihevcd_parse_coding_unit()
1207 ps_codec->s_parse.s_cu.i4_cu_transquant_bypass = in ihevcd_parse_coding_unit()
1212 AEV_TRACE("cu_transquant_bypass_flag", ps_codec->s_parse.s_cu.i4_cu_transquant_bypass, in ihevcd_parse_coding_unit()
1215 if(ps_codec->s_parse.s_cu.i4_cu_transquant_bypass) in ihevcd_parse_coding_unit()
1217 UWORD8 *pu1_pic_no_loop_filter_flag = ps_codec->s_parse.pu1_pic_no_loop_filter_flag; in ihevcd_parse_coding_unit()
1252 ((0 != ps_codec->s_parse.i4_ctb_slice_y) && in ihevcd_parse_coding_unit()
1253 (0 != ps_codec->s_parse.i4_ctb_tile_y))) in ihevcd_parse_coding_unit()
1268 … (((0 != ps_codec->s_parse.i4_ctb_slice_x) || (0 != ps_codec->s_parse.i4_ctb_slice_y)) && in ihevcd_parse_coding_unit()
1269 (0 != ps_codec->s_parse.i4_ctb_tile_x))) in ihevcd_parse_coding_unit()
1306 u4_skip_left = ps_codec->s_parse.u4_skip_cu_left; in ihevcd_parse_coding_unit()
1318 ps_codec->s_parse.u4_skip_cu_left = u4_skip_left; in ihevcd_parse_coding_unit()
1320 ps_codec->s_parse.i4_cu_pcm_flag = 0; in ihevcd_parse_coding_unit()
1327 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1328 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1337 ps_tu->b7_qp = ps_codec->s_parse.u4_qp; in ihevcd_parse_coding_unit()
1343 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) && in ihevcd_parse_coding_unit()
1344 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2)) in ihevcd_parse_coding_unit()
1354 ps_codec->s_parse.ps_tu++; in ihevcd_parse_coding_unit()
1355 ps_codec->s_parse.s_cu.i4_tu_cnt++; in ihevcd_parse_coding_unit()
1356 ps_codec->s_parse.i4_pic_tu_idx++; in ihevcd_parse_coding_unit()
1358 ps_codec->s_parse.s_cu.i4_pred_mode = PRED_MODE_SKIP; in ihevcd_parse_coding_unit()
1359 ps_codec->s_parse.s_cu.i4_part_mode = PART_2Nx2N; in ihevcd_parse_coding_unit()
1361 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1393 UWORD8 *pu1_pic_intra_flag = ps_codec->s_parse.pu1_pic_intra_flag; in ihevcd_parse_coding_unit()
1411 ps_codec->s_parse.s_cu.i4_pred_mode = pred_mode; in ihevcd_parse_coding_unit()
1470 ps_codec->s_parse.s_cu.i4_part_mode = part_mode; in ihevcd_parse_coding_unit()
1472 if((PRED_MODE_INTRA == ps_codec->s_parse.s_cu.i4_pred_mode) && in ihevcd_parse_coding_unit()
1473 (PART_NxN == ps_codec->s_parse.s_cu.i4_part_mode)) in ihevcd_parse_coding_unit()
1477 ps_codec->s_parse.s_cu.i4_part_mode = part_mode; in ihevcd_parse_coding_unit()
1478 ps_codec->s_parse.s_cu.i4_intra_split_flag = intra_split_flag; in ihevcd_parse_coding_unit()
1481 ps_codec->s_parse.i4_cu_pcm_flag = 0; in ihevcd_parse_coding_unit()
1483 pcm_flag = ps_codec->s_parse.i4_cu_pcm_flag; in ihevcd_parse_coding_unit()
1490 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1496 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1501 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1508 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1511 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1518 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1521 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1528 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1531 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1538 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1541 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1548 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1551 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1557 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1561 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1565 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1569 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_coding_unit()
1583 ps_pu = ps_codec->s_parse.ps_pu - 1; in ihevcd_parse_coding_unit()
1607 ps_codec->s_parse.s_cu.i4_max_trafo_depth = (pred_mode == PRED_MODE_INTRA) ? in ihevcd_parse_coding_unit()
1612 … ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0]); in ihevcd_parse_coding_unit()
1620 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1621 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_coding_unit()
1623 ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_coding_unit()
1631 ps_tu->b7_qp = ps_codec->s_parse.u4_qp; in ihevcd_parse_coding_unit()
1633 ps_tu->b6_luma_intra_mode = ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0]; in ihevcd_parse_coding_unit()
1637 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) && in ihevcd_parse_coding_unit()
1638 … (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2)) in ihevcd_parse_coding_unit()
1647 ps_codec->s_parse.ps_tu++; in ihevcd_parse_coding_unit()
1648 ps_codec->s_parse.s_cu.i4_tu_cnt++; in ihevcd_parse_coding_unit()
1649 ps_codec->s_parse.i4_pic_tu_idx++; in ihevcd_parse_coding_unit()
1697 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_coding_quadtree()
1698 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_coding_quadtree()
1700 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_coding_quadtree()
1701 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_coding_quadtree()
1704 cu_pos_x = (x0 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree()
1705 cu_pos_y = (y0 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size)) >> 3; in ihevcd_parse_coding_quadtree()
1707 ps_codec->s_parse.s_cu.i4_pos_x = cu_pos_x; in ihevcd_parse_coding_quadtree()
1708 ps_codec->s_parse.s_cu.i4_pos_y = cu_pos_y; in ihevcd_parse_coding_quadtree()
1710 ps_codec->s_parse.s_cu.i4_log2_cb_size = log2_cb_size; in ihevcd_parse_coding_quadtree()
1712 ps_codec->s_parse.i4_ct_depth = ct_depth; in ihevcd_parse_coding_quadtree()
1714 UWORD32 *pu4_ct_depth_top = ps_codec->s_parse.pu4_ct_depth_top; in ihevcd_parse_coding_quadtree()
1715 UWORD32 u4_ct_depth_left = ps_codec->s_parse.u4_ct_depth_left; in ihevcd_parse_coding_quadtree()
1739 ((0 != ps_codec->s_parse.i4_ctb_slice_y) && in ihevcd_parse_coding_quadtree()
1740 (0 != ps_codec->s_parse.i4_ctb_tile_y))) in ihevcd_parse_coding_quadtree()
1758 … (((0 != ps_codec->s_parse.i4_ctb_slice_x) || (0 != ps_codec->s_parse.i4_ctb_slice_y)) && in ihevcd_parse_coding_quadtree()
1759 (0 != ps_codec->s_parse.i4_ctb_tile_x))) in ihevcd_parse_coding_quadtree()
1802 u4_ct_depth_left = ps_codec->s_parse.u4_ct_depth_left; in ihevcd_parse_coding_quadtree()
1815 ps_codec->s_parse.u4_ct_depth_left = u4_ct_depth_left; in ihevcd_parse_coding_quadtree()
1821 ps_codec->s_parse.i4_is_cu_qp_delta_coded = 0; in ihevcd_parse_coding_quadtree()
1822 ps_codec->s_parse.i4_cu_qp_delta = 0; in ihevcd_parse_coding_quadtree()
1856 WORD32 cu_pos_x = ps_codec->s_parse.s_cu.i4_pos_x << 3; in ihevcd_parse_coding_quadtree()
1857 WORD32 cu_pos_y = ps_codec->s_parse.s_cu.i4_pos_y << 3; in ihevcd_parse_coding_quadtree()
1865 ps_codec->s_parse.u4_qpg = ps_codec->s_parse.u4_qp; in ihevcd_parse_coding_quadtree()
1867 ps_codec->s_parse.s_cu.i4_cu_qp_delta = 0; in ihevcd_parse_coding_quadtree()
1885 tu_t *ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_coding_quadtree()
1886 WORD32 cb_size = 1 << ps_codec->s_parse.s_cu.i4_log2_cb_size; in ihevcd_parse_coding_quadtree()
1888 cu_pos_x = ps_codec->s_parse.s_cu.i4_pos_x << 3; in ihevcd_parse_coding_quadtree()
1889 cu_pos_y = ps_codec->s_parse.s_cu.i4_pos_y << 3; in ihevcd_parse_coding_quadtree()
1895 qp_left = ps_codec->s_parse.u4_qpg; in ihevcd_parse_coding_quadtree()
1896 qp_top = ps_codec->s_parse.u4_qpg; in ihevcd_parse_coding_quadtree()
1900 qp_left = ps_codec->s_parse.ai1_8x8_cu_qp[qpg_x - 1 + (qpg_y * 8)]; in ihevcd_parse_coding_quadtree()
1904 qp_top = ps_codec->s_parse.ai1_8x8_cu_qp[qpg_x + ((qpg_y - 1) * 8)]; in ihevcd_parse_coding_quadtree()
1910 qp = (qp_pred + ps_codec->s_parse.s_cu.i4_cu_qp_delta + 52) % 52; in ihevcd_parse_coding_quadtree()
1917 ps_codec->s_parse.ai1_8x8_cu_qp[cur_cu_offset + (i * 8) + j] = qp; in ihevcd_parse_coding_quadtree()
1921 ps_codec->s_parse.u4_qp = qp; in ihevcd_parse_coding_quadtree()
1922 ps_codec->s_parse.s_cu.i4_qp = qp; in ihevcd_parse_coding_quadtree()
1928 ps_tu_tmp = ps_tu - ps_codec->s_parse.s_cu.i4_tu_cnt; in ihevcd_parse_coding_quadtree()
1929 ps_tu->b7_qp = ps_codec->s_parse.u4_qp; in ihevcd_parse_coding_quadtree()
1932 ps_tu_tmp->b7_qp = ps_codec->s_parse.u4_qp; in ihevcd_parse_coding_quadtree()
1937 if(ps_codec->s_parse.s_cu.i4_cu_qp_delta) in ihevcd_parse_coding_quadtree()
1940 … ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_coding_quadtree()
1941 … ps_codec->s_parse.s_bs_ctxt.pu1_pic_qp_const_in_ctb[ctb_indx >> 3] &= (~(1 << (ctb_indx & 7))); in ihevcd_parse_coding_quadtree()
1982 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_sao()
1986 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_sao()
1989 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr_base; in ihevcd_parse_sao()
1990 ps_slice_hdr += (ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1)); in ihevcd_parse_sao()
1992 ps_sps = (ps_codec->s_parse.ps_sps); in ihevcd_parse_sao()
1993 rx = ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_sao()
1994 ry = ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_sao()
1996 ps_sao = ps_codec->s_parse.ps_pic_sao + rx + ry * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_sao()
2010 if(((0 != ps_codec->s_parse.i4_ctb_slice_x) || (0 != ps_codec->s_parse.i4_ctb_slice_y)) && in ihevcd_parse_sao()
2011 (0 != ps_codec->s_parse.i4_ctb_tile_x)) in ihevcd_parse_sao()
2024 if((ps_codec->s_parse.i4_ctb_slice_y > 0) && (ps_codec->s_parse.i4_ctb_tile_y > 0)) in ihevcd_parse_sao()
2199 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_set_ctb_skip()
2211 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_set_ctb_skip()
2215 - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size); in ihevcd_set_ctb_skip()
2218 ps_codec->s_parse.s_cu.i4_pred_mode = PRED_MODE_SKIP; in ihevcd_set_ctb_skip()
2219 ps_codec->s_parse.s_cu.i4_part_mode = PART_2Nx2N; in ihevcd_set_ctb_skip()
2225 ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_set_ctb_skip()
2233 ps_tu->b7_qp = ps_codec->s_parse.u4_qp; in ihevcd_set_ctb_skip()
2238 ps_codec->s_parse.ps_tu++; in ihevcd_set_ctb_skip()
2239 ps_codec->s_parse.s_cu.i4_tu_cnt++; in ihevcd_set_ctb_skip()
2240 ps_codec->s_parse.i4_pic_tu_idx++; in ihevcd_set_ctb_skip()
2242 tu_abs_x = (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size) + pu_x; in ihevcd_set_ctb_skip()
2243 tu_abs_y = (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size) + pu_y; in ihevcd_set_ctb_skip()
2244 pu1_pic_intra_flag = ps_codec->s_parse.pu1_pic_intra_flag; in ihevcd_set_ctb_skip()
2251 ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_set_ctb_skip()
2258 ps_pu->b3_part_mode = ps_codec->s_parse.s_cu.i4_part_mode; in ihevcd_set_ctb_skip()
2262 ps_codec->s_parse.ps_pu++; in ihevcd_set_ctb_skip()
2263 ps_codec->s_parse.i4_pic_pu_idx++; in ihevcd_set_ctb_skip()
2309 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr_base; in ihevcd_parse_slice_data()
2310 ps_pps = ps_codec->s_parse.ps_pps_base; in ihevcd_parse_slice_data()
2311 ps_sps = ps_codec->s_parse.ps_sps_base; in ihevcd_parse_slice_data()
2314 ps_slice_hdr += (ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1)); in ihevcd_parse_slice_data()
2318 if(0 != ps_codec->s_parse.i4_cur_slice_idx) in ihevcd_parse_slice_data()
2322 ps_codec->s_parse.i4_cur_independent_slice_idx = in ihevcd_parse_slice_data()
2323 ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1); in ihevcd_parse_slice_data()
2335 ps_codec->s_parse.i4_ctb_x = ps_slice_hdr->i2_ctb_x; in ihevcd_parse_slice_data()
2336 ps_codec->s_parse.i4_ctb_y = ps_slice_hdr->i2_ctb_y; in ihevcd_parse_slice_data()
2338 ps_codec->s_parse.ps_pps = ps_pps; in ihevcd_parse_slice_data()
2339 ps_codec->s_parse.ps_sps = ps_sps; in ihevcd_parse_slice_data()
2340 ps_codec->s_parse.ps_slice_hdr = ps_slice_hdr; in ihevcd_parse_slice_data()
2344 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x, in ihevcd_parse_slice_data()
2345 ps_codec->s_parse.i4_ctb_y, in ihevcd_parse_slice_data()
2346 &ps_codec->s_parse.i4_ctb_tile_x, in ihevcd_parse_slice_data()
2347 &ps_codec->s_parse.i4_ctb_tile_y, in ihevcd_parse_slice_data()
2349 ps_codec->s_parse.ps_tile = ps_pps->ps_tile + tile_idx; in ihevcd_parse_slice_data()
2350 ps_codec->s_parse.i4_cur_tile_idx = tile_idx; in ihevcd_parse_slice_data()
2351 ps_tile = ps_codec->s_parse.ps_tile; in ihevcd_parse_slice_data()
2364 if((0 == ps_codec->s_parse.i4_ctb_tile_x) && (0 == ps_codec->s_parse.i4_ctb_tile_y)) in ihevcd_parse_slice_data()
2366 ps_codec->s_parse.i4_ctb_slice_x = 0; in ihevcd_parse_slice_data()
2367 ps_codec->s_parse.i4_ctb_slice_y = 0; in ihevcd_parse_slice_data()
2373 ps_codec->s_parse.i4_ctb_slice_x = 0; in ihevcd_parse_slice_data()
2374 ps_codec->s_parse.i4_ctb_slice_y = 0; in ihevcd_parse_slice_data()
2379 if((0 == ps_codec->s_parse.i4_ctb_y) && in ihevcd_parse_slice_data()
2380 (0 == ps_codec->s_parse.i4_ctb_x)) in ihevcd_parse_slice_data()
2385 ps_codec->s_parse.pu4_pic_tu_idx[0] = 0; in ihevcd_parse_slice_data()
2386 ps_codec->s_parse.pu4_pic_pu_idx[0] = 0; in ihevcd_parse_slice_data()
2387 ps_codec->s_parse.i4_cur_independent_slice_idx = 0; in ihevcd_parse_slice_data()
2388 ps_codec->s_parse.i4_ctb_tile_x = 0; in ihevcd_parse_slice_data()
2389 ps_codec->s_parse.i4_ctb_tile_y = 0; in ihevcd_parse_slice_data()
2394 mv_buf_t *ps_mv_buf = ps_codec->s_parse.ps_cur_mv_buf; in ihevcd_parse_slice_data()
2400 …ps_mv_buf->ai4_l1_collocated_poc[(ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))][i… in ihevcd_parse_slice_data()
2401 …ps_mv_buf->ai1_l1_collocated_poc_lt[(ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))… in ihevcd_parse_slice_data()
2409 …ps_mv_buf->ai4_l0_collocated_poc[(ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))][i… in ihevcd_parse_slice_data()
2410 …ps_mv_buf->ai1_l0_collocated_poc_lt[(ps_codec->s_parse.i4_cur_slice_idx & (MAX_SLICE_HDR_CNT - 1))… in ihevcd_parse_slice_data()
2416 if((0 == ps_codec->s_parse.i4_ctb_slice_x) || (0 == ps_codec->s_parse.i4_ctb_slice_y)) in ihevcd_parse_slice_data()
2464 …e_hdr->i1_dependent_slice_flag) && ((0 == ps_codec->s_parse.i4_ctb_tile_x) && (0 == ps_codec->s_pa… in ihevcd_parse_slice_data()
2466 ps_codec->s_parse.u4_qp = slice_qp; in ihevcd_parse_slice_data()
2473 …lice_hdr->i1_dependent_slice_flag) && (!((ps_codec->s_parse.i4_ctb_tile_x == 0) && (ps_codec->s_pa… in ihevcd_parse_slice_data()
2475 …nabled_flag) || (ps_pps->i1_entropy_coding_sync_enabled_flag && (0 != ps_codec->s_parse.i4_ctb_x))) in ihevcd_parse_slice_data()
2477 ihevcd_cabac_reset(&ps_codec->s_parse.s_cabac, in ihevcd_parse_slice_data()
2478 &ps_codec->s_parse.s_bitstrm); in ihevcd_parse_slice_data()
2481 …nabled_flag) || (ps_pps->i1_entropy_coding_sync_enabled_flag && (0 != ps_codec->s_parse.i4_ctb_x))) in ihevcd_parse_slice_data()
2483 ret = ihevcd_cabac_init(&ps_codec->s_parse.s_cabac, in ihevcd_parse_slice_data()
2484 &ps_codec->s_parse.s_bitstrm, in ihevcd_parse_slice_data()
2502 WORD32 cur_ctb_idx = ps_codec->s_parse.i4_ctb_x in ihevcd_parse_slice_data()
2503 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
2506 ps_codec->s_parse.ps_tu = ps_codec->s_parse.ps_pic_tu; in ihevcd_parse_slice_data()
2507 ps_codec->s_parse.i4_pic_tu_idx = 0; in ihevcd_parse_slice_data()
2517 ps_codec->s_parse.i4_ctb_num_pcm_blks = 0; in ihevcd_parse_slice_data()
2522 if(((0 == ps_codec->s_parse.i4_ctb_tile_x) && (0 == ps_codec->s_parse.i4_ctb_tile_y)) in ihevcd_parse_slice_data()
2524 … && (!((0 == ps_codec->s_parse.i4_ctb_slice_x) && (0 == ps_codec->s_parse.i4_ctb_slice_y)))) in ihevcd_parse_slice_data()
2528 ps_codec->s_parse.u4_qp = slice_qp; in ihevcd_parse_slice_data()
2530 ihevcd_get_tile_pos(ps_pps, ps_sps, ps_codec->s_parse.i4_ctb_x, in ihevcd_parse_slice_data()
2531 ps_codec->s_parse.i4_ctb_y, in ihevcd_parse_slice_data()
2532 &ps_codec->s_parse.i4_ctb_tile_x, in ihevcd_parse_slice_data()
2533 &ps_codec->s_parse.i4_ctb_tile_y, in ihevcd_parse_slice_data()
2536 ps_codec->s_parse.ps_tile = ps_pps->ps_tile + tile_idx; in ihevcd_parse_slice_data()
2537 ps_codec->s_parse.i4_cur_tile_idx = tile_idx; in ihevcd_parse_slice_data()
2552 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y - ps_slice_hdr->i2_ctb_y; in ihevcd_parse_slice_data()
2560 ps_codec->s_parse.i4_ctb_slice_y -= 1; in ihevcd_parse_slice_data()
2579 ret = ihevcd_cabac_init(&ps_codec->s_parse.s_cabac, in ihevcd_parse_slice_data()
2580 &ps_codec->s_parse.s_bitstrm, in ihevcd_parse_slice_data()
2597 if(0 == ps_codec->s_parse.i4_ctb_tile_x) in ihevcd_parse_slice_data()
2606 s_job.i2_ctb_x = (WORD16)ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data()
2607 s_job.i2_ctb_y = (WORD16)ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
2608 s_job.i2_slice_idx = (WORD16)ps_codec->s_parse.i4_cur_slice_idx; in ihevcd_parse_slice_data()
2609 s_job.i4_tu_coeff_data_ofst = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data - in ihevcd_parse_slice_data()
2610 (UWORD8 *)ps_codec->s_parse.pv_pic_tu_coeff_data; in ihevcd_parse_slice_data()
2611 … ret = ihevcd_jobq_queue((jobq_t *)ps_codec->s_parse.pv_proc_jobq, &s_job, sizeof(proc_job_t), 1); in ihevcd_parse_slice_data()
2619 WORD32 tu_coeff_data_ofst = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data - in ihevcd_parse_slice_data()
2620 (UWORD8 *)ps_codec->s_parse.pv_pic_tu_coeff_data; in ihevcd_parse_slice_data()
2628 ps_proc->i4_ctb_x = ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data()
2629 ps_proc->i4_ctb_y = ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
2630 ps_proc->i4_cur_slice_idx = ps_codec->s_parse.i4_cur_slice_idx; in ihevcd_parse_slice_data()
2641 if(0 == ps_codec->s_parse.i4_ctb_x && 0 == ps_codec->i4_slice_error) in ihevcd_parse_slice_data()
2646 … if((0 == ps_codec->s_parse.i4_ctb_slice_y) && (!ps_slice_hdr->i1_dependent_slice_flag)) in ihevcd_parse_slice_data()
2651 ps_codec->s_parse.u4_qp = slice_qp; in ihevcd_parse_slice_data()
2655 ret = ihevcd_cabac_init(&ps_codec->s_parse.s_cabac, in ihevcd_parse_slice_data()
2656 &ps_codec->s_parse.s_bitstrm, in ihevcd_parse_slice_data()
2671 ret = ihevcd_cabac_init(&ps_codec->s_parse.s_cabac, in ihevcd_parse_slice_data()
2672 &ps_codec->s_parse.s_bitstrm, in ihevcd_parse_slice_data()
2675 … (const UWORD8 *)&ps_codec->s_parse.s_cabac.au1_ctxt_models_sync); in ihevcd_parse_slice_data()
2696 sao_t *ps_sao = ps_codec->s_parse.ps_pic_sao + in ihevcd_parse_slice_data()
2697 ps_codec->s_parse.i4_ctb_x + in ihevcd_parse_slice_data()
2698 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
2711 … ctb_indx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
2712 … ps_codec->s_parse.s_bs_ctxt.pu1_pic_qp_const_in_ctb[ctb_indx >> 3] |= (1 << (ctb_indx & 7)); in ihevcd_parse_slice_data()
2714 UWORD16 *pu1_slice_idx = ps_codec->s_parse.pu1_slice_idx; in ihevcd_parse_slice_data()
2715 pu1_slice_idx[ctb_indx] = ps_codec->s_parse.i4_cur_independent_slice_idx; in ihevcd_parse_slice_data()
2721 tu_t *ps_tu = ps_codec->s_parse.ps_tu; in ihevcd_parse_slice_data()
2722 WORD32 i4_tu_cnt = ps_codec->s_parse.s_cu.i4_tu_cnt; in ihevcd_parse_slice_data()
2723 WORD32 i4_pic_tu_idx = ps_codec->s_parse.i4_pic_tu_idx; in ihevcd_parse_slice_data()
2725 pu_t *ps_pu = ps_codec->s_parse.ps_pu; in ihevcd_parse_slice_data()
2726 WORD32 i4_pic_pu_idx = ps_codec->s_parse.i4_pic_pu_idx; in ihevcd_parse_slice_data()
2728 UWORD8 *pu1_tu_coeff_data = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data; in ihevcd_parse_slice_data()
2731 … (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size), in ihevcd_parse_slice_data()
2732 … (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size), in ihevcd_parse_slice_data()
2741 ps_codec->s_parse.ps_tu = ps_tu; in ihevcd_parse_slice_data()
2742 ps_codec->s_parse.s_cu.i4_tu_cnt = i4_tu_cnt; in ihevcd_parse_slice_data()
2743 ps_codec->s_parse.i4_pic_tu_idx = i4_pic_tu_idx; in ihevcd_parse_slice_data()
2745 ps_codec->s_parse.ps_pu = ps_pu; in ihevcd_parse_slice_data()
2746 ps_codec->s_parse.i4_pic_pu_idx = i4_pic_pu_idx; in ihevcd_parse_slice_data()
2748 … tu_coeff_data_reset_size = (UWORD8 *)ps_codec->s_parse.pv_tu_coeff_data - pu1_tu_coeff_data; in ihevcd_parse_slice_data()
2750 ps_codec->s_parse.pv_tu_coeff_data = (void *)pu1_tu_coeff_data; in ihevcd_parse_slice_data()
2768 …d_of_slice_flag = ihevcd_cabac_decode_terminate(&ps_codec->s_parse.s_cabac, &ps_codec->s_parse.s_b… in ihevcd_parse_slice_data()
2770 AEV_TRACE("end_of_slice_flag", end_of_slice_flag, ps_codec->s_parse.s_cabac.u4_range); in ihevcd_parse_slice_data()
2782 if(1 == ps_codec->s_parse.i4_ctb_x) in ihevcd_parse_slice_data()
2784 WORD32 size = sizeof(ps_codec->s_parse.s_cabac.au1_ctxt_models); in ihevcd_parse_slice_data()
2785 …memcpy(&ps_codec->s_parse.s_cabac.au1_ctxt_models_sync, &ps_codec->s_parse.s_cabac.au1_ctxt_models… in ihevcd_parse_slice_data()
2790 if((ps_codec->s_parse.i4_ctb_tile_x + 1) == (ps_tile->u2_wd)) in ihevcd_parse_slice_data()
2793 if((ps_codec->s_parse.i4_ctb_tile_y + 1) == ps_tile->u2_ht) in ihevcd_parse_slice_data()
2801 …_stream_one_bit = ihevcd_cabac_decode_terminate(&ps_codec->s_parse.s_cabac, &ps_codec->s_parse.s_b… in ihevcd_parse_slice_data()
2802 …AEV_TRACE("end_of_sub_stream_one_bit", end_of_sub_stream_one_bit, ps_codec->s_parse.s_cabac.u4_ran… in ihevcd_parse_slice_data()
2806 if(ps_codec->s_parse.s_bitstrm.u4_bit_ofst % 8) in ihevcd_parse_slice_data()
2807 ihevcd_bits_flush_to_byte_boundary(&ps_codec->s_parse.s_bitstrm); in ihevcd_parse_slice_data()
2815 ctb_addr = ps_codec->s_parse.i4_ctb_y * num_ctb_in_row + ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data()
2822 …if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_… in ihevcd_parse_slice_data()
2824 …ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) … in ihevcd_parse_slice_data()
2825 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1)) in ihevcd_parse_slice_data()
2834 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1; in ihevcd_parse_slice_data()
2840 ps_codec->s_parse.pu4_pic_pu_idx[ctb_indx] = ps_codec->s_parse.i4_pic_pu_idx; in ihevcd_parse_slice_data()
2841 ps_codec->s_parse.i4_next_pu_ctb_cnt = ctb_indx; in ihevcd_parse_slice_data()
2843 ps_codec->s_parse.pu1_pu_map += num_min4x4_in_ctb; in ihevcd_parse_slice_data()
2852 …if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_… in ihevcd_parse_slice_data()
2854 …ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) … in ihevcd_parse_slice_data()
2855 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1)) in ihevcd_parse_slice_data()
2865 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1; in ihevcd_parse_slice_data()
2870 ps_codec->s_parse.i4_next_tu_ctb_cnt = ctb_indx; in ihevcd_parse_slice_data()
2871 ps_codec->s_parse.pu4_pic_tu_idx[ctb_indx] = ps_codec->s_parse.i4_pic_tu_idx; in ihevcd_parse_slice_data()
2876 …if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_… in ihevcd_parse_slice_data()
2878 …ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) … in ihevcd_parse_slice_data()
2879 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1)) in ihevcd_parse_slice_data()
2888 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1; in ihevcd_parse_slice_data()
2893 ps_codec->s_parse.i4_next_tu_ctb_cnt = ctb_indx; in ihevcd_parse_slice_data()
2894 ps_codec->s_parse.pu4_pic_tu_idx[ctb_indx] = ps_codec->s_parse.i4_pic_tu_idx; in ihevcd_parse_slice_data()
2896 ps_codec->s_parse.pu1_tu_map += num_min4x4_in_ctb; in ihevcd_parse_slice_data()
2904 bs_ctxt_t *ps_bs_ctxt = &ps_codec->s_parse.s_bs_ctxt; in ihevcd_parse_slice_data()
2915 … cur_ctb_idx = ps_codec->s_parse.i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
2918 …pu1_qp = ps_bs_ctxt->pu1_pic_qp + ((ps_codec->s_parse.i4_ctb_x + ps_codec->s_parse.i4_ctb_y * qp_s… in ihevcd_parse_slice_data()
2922 next_ctb_idx = ps_codec->s_parse.i4_next_tu_ctb_cnt; in ihevcd_parse_slice_data()
2925 i4_ctb_tu_cnt = ps_codec->s_parse.pu4_pic_tu_idx[next_ctb_idx] - in ihevcd_parse_slice_data()
2926 ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx % RESET_TU_BUF_NCTB]; in ihevcd_parse_slice_data()
2928 cur_tu_idx = ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx % RESET_TU_BUF_NCTB]; in ihevcd_parse_slice_data()
2932 i4_ctb_tu_cnt = ps_codec->s_parse.pu4_pic_tu_idx[next_ctb_idx] - in ihevcd_parse_slice_data()
2933 ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
2935 cur_tu_idx = ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
2938 ps_tu = &ps_codec->s_parse.ps_pic_tu[cur_tu_idx]; in ihevcd_parse_slice_data()
3001 if((0 == ps_codec->s_parse.i4_ctb_y) || (0 == ps_codec->s_parse.i4_ctb_tile_y)) in ihevcd_parse_slice_data()
3008 if((0 == ps_codec->s_parse.i4_ctb_x) || (0 == ps_codec->s_parse.i4_ctb_tile_x)) in ihevcd_parse_slice_data()
3012 … if((0 == ps_codec->s_parse.i4_ctb_slice_y) || (0 == ps_codec->s_parse.i4_ctb_tile_y)) in ihevcd_parse_slice_data()
3015 … if((i2_wd_in_ctb - 1) != ps_codec->s_parse.i4_ctb_slice_x) //TODO: For tile, not implemented in ihevcd_parse_slice_data()
3022 else if(ps_codec->s_parse.i4_ctb_x > 0) in ihevcd_parse_slice_data()
3024 … if((0 == ps_codec->s_parse.i4_ctb_slice_y) || (0 == ps_codec->s_parse.i4_ctb_tile_y)) in ihevcd_parse_slice_data()
3028 if(0 == ps_codec->s_parse.i4_ctb_slice_x) in ihevcd_parse_slice_data()
3032 if((i2_wd_in_ctb - 1) != ps_codec->s_parse.i4_ctb_slice_x) in ihevcd_parse_slice_data()
3037 … else if((1 == ps_codec->s_parse.i4_ctb_slice_y) && (0 == ps_codec->s_parse.i4_ctb_slice_x)) in ihevcd_parse_slice_data()
3043 …((ps_sps->i2_pic_wd_in_ctb - 1) == ps_codec->s_parse.i4_ctb_x) || ((ps_tile->u2_wd - 1) == ps_code… in ihevcd_parse_slice_data()
3061 cur_ctb_idx = ps_codec->s_parse.i4_ctb_x in ihevcd_parse_slice_data()
3062 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3063 next_ctb_idx = ps_codec->s_parse.i4_next_pu_ctb_cnt; in ihevcd_parse_slice_data()
3064 i4_ctb_pu_cnt = ps_codec->s_parse.pu4_pic_pu_idx[next_ctb_idx] in ihevcd_parse_slice_data()
3065 - ps_codec->s_parse.pu4_pic_pu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
3067 cur_pu_idx = ps_codec->s_parse.pu4_pic_pu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
3070 + (ps_codec->s_parse.i4_ctb_x * ctb_size / MIN_PU_SIZE); in ihevcd_parse_slice_data()
3079 s_mv_ctxt.i4_ctb_x = ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data()
3080 s_mv_ctxt.i4_ctb_y = ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
3081 s_mv_ctxt.ps_pu = &ps_codec->s_parse.ps_pic_pu[cur_pu_idx]; in ihevcd_parse_slice_data()
3082 s_mv_ctxt.ps_pic_pu = ps_codec->s_parse.ps_pic_pu; in ihevcd_parse_slice_data()
3085 s_mv_ctxt.pu4_pic_pu_idx = ps_codec->s_parse.pu4_pic_pu_idx; in ihevcd_parse_slice_data()
3086 s_mv_ctxt.pu1_pic_pu_map = ps_codec->s_parse.pu1_pic_pu_map; in ihevcd_parse_slice_data()
3102 UWORD8 *pu1_pic_pu_map_ctb = ps_codec->s_parse.pu1_pic_pu_map + in ihevcd_parse_slice_data()
3103 …(ps_codec->s_parse.i4_ctb_x + ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb) * num_minpu_i… in ihevcd_parse_slice_data()
3119 cur_ctb_idx = ps_codec->s_parse.i4_ctb_x in ihevcd_parse_slice_data()
3120 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3121 next_ctb_idx = ps_codec->s_parse.i4_next_pu_ctb_cnt; in ihevcd_parse_slice_data()
3122 num_pu_per_ctb = ps_codec->s_parse.pu4_pic_pu_idx[next_ctb_idx] in ihevcd_parse_slice_data()
3123 - ps_codec->s_parse.pu4_pic_pu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
3124 ctb_start_pu_idx = ps_codec->s_parse.pu4_pic_pu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
3125 ps_pu = &ps_codec->s_parse.ps_pic_pu[ctb_start_pu_idx]; in ihevcd_parse_slice_data()
3146 - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_parse_slice_data()
3151 …ps_proc->u4_ctb_top_left_pu_idx = ps_proc->pu4_pic_pu_idx_top[(ps_codec->s_parse.i4_ctb_x * ctb_si… in ihevcd_parse_slice_data()
3160 … ps_proc->pu4_pic_pu_idx_top[(ps_codec->s_parse.i4_ctb_x * ctb_size / MIN_PU_SIZE) + i] = in ihevcd_parse_slice_data()
3172 … - (ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size)) / MIN_PU_SIZE), ctb_size_in_min_pu); in ihevcd_parse_slice_data()
3174 … - (ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size)) / MIN_PU_SIZE), ctb_size_in_min_pu); in ihevcd_parse_slice_data()
3211 cur_ctb_idx = ps_codec->s_parse.i4_ctb_x in ihevcd_parse_slice_data()
3212 + ps_codec->s_parse.i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3214 cur_pu_idx = ps_codec->s_parse.pu4_pic_pu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
3215 next_ctb_idx = ps_codec->s_parse.i4_next_tu_ctb_cnt; in ihevcd_parse_slice_data()
3218 i4_ctb_tu_cnt = ps_codec->s_parse.pu4_pic_tu_idx[next_ctb_idx] - in ihevcd_parse_slice_data()
3219 … ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx % RESET_TU_BUF_NCTB]; in ihevcd_parse_slice_data()
3221 … cur_tu_idx = ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx % RESET_TU_BUF_NCTB]; in ihevcd_parse_slice_data()
3225 i4_ctb_tu_cnt = ps_codec->s_parse.pu4_pic_tu_idx[next_ctb_idx] - in ihevcd_parse_slice_data()
3226 ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
3228 cur_tu_idx = ps_codec->s_parse.pu4_pic_tu_idx[cur_ctb_idx]; in ihevcd_parse_slice_data()
3231 ps_codec->s_parse.s_bs_ctxt.ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_slice_data()
3232 ps_codec->s_parse.s_bs_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3233 ps_codec->s_parse.s_bs_ctxt.ps_codec = ps_codec; in ihevcd_parse_slice_data()
3234 ps_codec->s_parse.s_bs_ctxt.i4_ctb_tu_cnt = i4_ctb_tu_cnt; in ihevcd_parse_slice_data()
3235 ps_codec->s_parse.s_bs_ctxt.i4_ctb_x = ps_codec->s_parse.i4_ctb_x; in ihevcd_parse_slice_data()
3236 ps_codec->s_parse.s_bs_ctxt.i4_ctb_y = ps_codec->s_parse.i4_ctb_y; in ihevcd_parse_slice_data()
3237 ps_codec->s_parse.s_bs_ctxt.i4_ctb_tile_x = ps_codec->s_parse.i4_ctb_tile_x; in ihevcd_parse_slice_data()
3238 ps_codec->s_parse.s_bs_ctxt.i4_ctb_tile_y = ps_codec->s_parse.i4_ctb_tile_y; in ihevcd_parse_slice_data()
3239 ps_codec->s_parse.s_bs_ctxt.i4_ctb_slice_x = ps_codec->s_parse.i4_ctb_slice_x; in ihevcd_parse_slice_data()
3240 ps_codec->s_parse.s_bs_ctxt.i4_ctb_slice_y = ps_codec->s_parse.i4_ctb_slice_y; in ihevcd_parse_slice_data()
3241 ps_codec->s_parse.s_bs_ctxt.ps_tu = &ps_codec->s_parse.ps_pic_tu[cur_tu_idx]; in ihevcd_parse_slice_data()
3242 ps_codec->s_parse.s_bs_ctxt.ps_pu = &ps_codec->s_parse.ps_pic_pu[cur_pu_idx]; in ihevcd_parse_slice_data()
3243 ps_codec->s_parse.s_bs_ctxt.pu4_pic_pu_idx_map = ps_proc->pu4_pic_pu_idx_map; in ihevcd_parse_slice_data()
3244 … ps_codec->s_parse.s_bs_ctxt.i4_next_pu_ctb_cnt = ps_codec->s_parse.i4_next_pu_ctb_cnt; in ihevcd_parse_slice_data()
3245 … ps_codec->s_parse.s_bs_ctxt.i4_next_tu_ctb_cnt = ps_codec->s_parse.i4_next_tu_ctb_cnt; in ihevcd_parse_slice_data()
3246 ps_codec->s_parse.s_bs_ctxt.pu1_slice_idx = ps_codec->s_parse.pu1_slice_idx; in ihevcd_parse_slice_data()
3247 ps_codec->s_parse.s_bs_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()
3248 ps_codec->s_parse.s_bs_ctxt.ps_tile = ps_codec->s_parse.ps_tile; in ihevcd_parse_slice_data()
3252 ihevcd_ctb_boundary_strength_islice(&ps_codec->s_parse.s_bs_ctxt); in ihevcd_parse_slice_data()
3256 ihevcd_ctb_boundary_strength_pbslice(&ps_codec->s_parse.s_bs_ctxt); in ihevcd_parse_slice_data()
3265 … UWORD32 *pu4_vert_bs = (UWORD32 *)((UWORD8 *)ps_codec->s_parse.s_bs_ctxt.pu4_pic_vert_bs + in ihevcd_parse_slice_data()
3266 ps_codec->s_parse.i4_ctb_x * (ctb_size * ctb_size / 8 / 16) + in ihevcd_parse_slice_data()
3267 ps_codec->s_parse.i4_ctb_y * bs_strd); in ihevcd_parse_slice_data()
3268 … UWORD32 *pu4_horz_bs = (UWORD32 *)((UWORD8 *)ps_codec->s_parse.s_bs_ctxt.pu4_pic_horz_bs + in ihevcd_parse_slice_data()
3269 ps_codec->s_parse.i4_ctb_x * (ctb_size * ctb_size / 8 / 16) + in ihevcd_parse_slice_data()
3270 ps_codec->s_parse.i4_ctb_y * bs_strd); in ihevcd_parse_slice_data()
3283 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3286 idx = (ps_codec->s_parse.i4_ctb_x); in ihevcd_parse_slice_data()
3287 idx += ((ps_codec->s_parse.i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_parse_slice_data()
3293 ps_codec->s_parse.i4_ctb_tile_x++; in ihevcd_parse_slice_data()
3294 ps_codec->s_parse.i4_ctb_x++; in ihevcd_parse_slice_data()
3295 ps_codec->s_parse.i4_ctb_slice_x++; in ihevcd_parse_slice_data()
3309 if(ps_codec->s_parse.i4_ctb_slice_x == (ps_tile->u1_pos_x + ps_tile->u2_wd)) in ihevcd_parse_slice_data()
3312 ps_codec->s_parse.i4_ctb_slice_y++; in ihevcd_parse_slice_data()
3313 ps_codec->s_parse.i4_ctb_slice_x = ps_tile->u1_pos_x; //todo:Check in ihevcd_parse_slice_data()
3317 else if(ps_codec->s_parse.i4_ctb_slice_x == (ps_tile->u2_wd)) in ihevcd_parse_slice_data()
3319 ps_codec->s_parse.i4_ctb_slice_y++; in ihevcd_parse_slice_data()
3320 ps_codec->s_parse.i4_ctb_slice_x = 0; in ihevcd_parse_slice_data()
3325 if(ps_codec->s_parse.i4_ctb_slice_x == ps_tile->u2_wd) in ihevcd_parse_slice_data()
3328 ps_codec->s_parse.i4_ctb_slice_y++; in ihevcd_parse_slice_data()
3329 ps_codec->s_parse.i4_ctb_slice_x = 0; in ihevcd_parse_slice_data()
3334 if(ps_codec->s_parse.i4_ctb_tile_x == (ps_tile->u2_wd)) in ihevcd_parse_slice_data()
3337 ps_codec->s_parse.i4_ctb_tile_x = 0; in ihevcd_parse_slice_data()
3338 ps_codec->s_parse.i4_ctb_x = ps_tile->u1_pos_x; in ihevcd_parse_slice_data()
3340 ps_codec->s_parse.i4_ctb_tile_y++; in ihevcd_parse_slice_data()
3341 ps_codec->s_parse.i4_ctb_y++; in ihevcd_parse_slice_data()
3343 if(ps_codec->s_parse.i4_ctb_tile_y == (ps_tile->u2_ht)) in ihevcd_parse_slice_data()
3346 ps_codec->s_parse.i4_ctb_tile_y = 0; in ihevcd_parse_slice_data()
3347 ps_codec->s_parse.i4_ctb_tile_x = 0; in ihevcd_parse_slice_data()
3348 ps_codec->s_parse.ps_tile++; in ihevcd_parse_slice_data()
3354 ps_codec->s_parse.i4_ctb_x = 0; in ihevcd_parse_slice_data()
3355 ps_codec->s_parse.i4_ctb_y = ps_sps->i2_pic_ht_in_ctb; in ihevcd_parse_slice_data()
3360 ps_tile = ps_codec->s_parse.ps_tile; in ihevcd_parse_slice_data()
3361 ps_codec->s_parse.i4_ctb_x = ps_tile->u1_pos_x; in ihevcd_parse_slice_data()
3362 ps_codec->s_parse.i4_ctb_y = ps_tile->u1_pos_y; in ihevcd_parse_slice_data()
3363 ps_codec->s_parse.i4_ctb_tile_y = 0; in ihevcd_parse_slice_data()
3364 ps_codec->s_parse.i4_ctb_tile_x = 0; in ihevcd_parse_slice_data()
3365 ps_codec->s_parse.i4_ctb_slice_x = ps_tile->u1_pos_x; in ihevcd_parse_slice_data()
3366 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y; in ihevcd_parse_slice_data()
3373 ps_codec->s_parse.i4_next_ctb_indx = ps_codec->s_parse.i4_ctb_x + in ihevcd_parse_slice_data()
3374 ps_codec->s_parse.i4_ctb_y * ps_sps->i2_pic_wd_in_ctb; in ihevcd_parse_slice_data()
3384 if(ps_codec->s_parse.i4_next_ctb_indx == next_slice_addr) in ihevcd_parse_slice_data()
3391 if((1 == ps_codec->i4_num_cores) && (ps_codec->s_parse.i4_ctb_tile_x == 0)) in ihevcd_parse_slice_data()
3402 if((UWORD8 *)ps_codec->s_parse.s_bitstrm.pu1_buf_max + BITSTRM_OFF_THRS < in ihevcd_parse_slice_data()
3403 … ((UWORD8 *)ps_codec->s_parse.s_bitstrm.pu4_buf + (ps_codec->s_parse.s_bitstrm.u4_bit_ofst / 8))) in ihevcd_parse_slice_data()
3426 parse_slice_idx = ps_codec->s_parse.i4_cur_slice_idx; in ihevcd_parse_slice_data()
3433 ps_codec->s_parse.i4_cur_slice_idx = parse_slice_idx; in ihevcd_parse_slice_data()
3450 ps_codec->s_parse.i4_cur_slice_idx = parse_slice_idx; in ihevcd_parse_slice_data()
3490 ps_codec->s_parse.s_deblk_ctxt.ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_slice_data()
3491 ps_codec->s_parse.s_deblk_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3492 ps_codec->s_parse.s_deblk_ctxt.ps_codec = ps_codec; in ihevcd_parse_slice_data()
3493 ps_codec->s_parse.s_deblk_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()
3494 …ps_codec->s_parse.s_deblk_ctxt.is_chroma_yuv420sp_vu = (ps_codec->e_ref_chroma_fmt == IV_YUV_420SP… in ihevcd_parse_slice_data()
3496 ps_codec->s_parse.s_sao_ctxt.ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_slice_data()
3497 ps_codec->s_parse.s_sao_ctxt.ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_slice_data()
3498 ps_codec->s_parse.s_sao_ctxt.ps_codec = ps_codec; in ihevcd_parse_slice_data()
3499 ps_codec->s_parse.s_sao_ctxt.ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr; in ihevcd_parse_slice_data()
3501 ihevcd_ilf_pad_frame(&ps_codec->s_parse.s_deblk_ctxt, &ps_codec->s_parse.s_sao_ctxt); in ihevcd_parse_slice_data()
3505 ps_codec->s_parse.i4_end_of_frame = 1; in ihevcd_parse_slice_data()