Lines Matching refs:s_cu
135 max_trafo_depth = ps_codec->s_parse.s_cu.i4_max_trafo_depth;
138 intra_split_flag = ps_codec->s_parse.s_cu.i4_intra_split_flag;
161 (PRED_MODE_INTER == ps_codec->s_parse.s_cu.i4_pred_mode) &&
162 (PART_2Nx2N != ps_codec->s_parse.s_cu.i4_part_mode) &&
178 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = 0;
179 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] = 0;
183 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] = ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth - 1];
184 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth - 1];
190 if((trafo_depth == 0) || ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth - 1])
195 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] = value;
198 if((trafo_depth == 0) || ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth - 1])
203 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = value;
216 intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0];
219 intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[1];
222 intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[2];
225 intra_pred_mode_tmp = trafo_depth ? intra_pred_mode : ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[3];
242 if((ps_codec->s_parse.s_cu.i4_pred_mode == PRED_MODE_INTRA) ||
244 (ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth]) ||
245 (ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth]))
254 ps_codec->s_parse.s_cu.i1_cbf_luma = value;
258 ps_codec->s_parse.s_cu.i1_cbf_luma = 1;
268 ps_tu->b1_transquant_bypass = ps_codec->s_parse.s_cu.i4_cu_transquant_bypass;
273 ps_tu->b3_chroma_intra_mode_idx = ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx;
276 if(ps_codec->s_parse.s_cu.i1_cbf_luma ||
277 ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth] ||
278 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth])
318 ps_codec->s_parse.s_cu.i4_cu_qp_delta = cu_qp_delta_abs;
322 if(ps_codec->s_parse.s_cu.i1_cbf_luma)
328 if(4 == ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx)
329 intra_pred_mode_chroma = ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0];
332 intra_pred_mode_chroma = gau1_intra_pred_chroma_modes[ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx];
335 ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0])
343 if(ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth])
349 if(ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth])
357 if(ps_codec->s_parse.s_cu.ai1_cbf_cb[trafo_depth])
363 if(ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth])
385 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
386 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
396 ps_codec->s_parse.s_cu.i4_tu_cnt++;
833 ps_pu->b3_part_mode = ps_codec->s_parse.s_cu.i4_part_mode;
835 if(PRED_MODE_SKIP == ps_codec->s_parse.s_cu.i4_pred_mode)
958 WORD32 part_mode = ps_codec->s_parse.s_cu.i4_part_mode;
1018 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
1019 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
1031 + (ps_codec->s_parse.s_cu.i4_pos_x * 2);
1034 + (ps_codec->s_parse.s_cu.i4_pos_y * 2);
1064 ps_codec->s_parse.s_cu.i4_tu_cnt++;
1083 ps_codec->s_parse.s_cu.ai4_prev_intra_luma_pred_flag[i] =
1090 if(ps_codec->s_parse.s_cu.ai4_prev_intra_luma_pred_flag[cnt])
1094 ps_codec->s_parse.s_cu.ai4_mpm_idx[cnt] = value;
1101 ps_codec->s_parse.s_cu.ai4_rem_intra_luma_pred_mode[cnt] =
1110 ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx = 4;
1113 ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx =
1118 ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx,
1175 ps_codec->s_parse.s_cu.i4_tu_cnt = 0;
1179 cu_pos_x = ps_codec->s_parse.s_cu.i4_pos_x;
1180 cu_pos_y = ps_codec->s_parse.s_cu.i4_pos_y;
1189 ps_codec->s_parse.s_cu.i4_cu_transquant_bypass = 0;
1194 ps_codec->s_parse.s_cu.i4_cu_transquant_bypass =
1199 AEV_TRACE("cu_transquant_bypass_flag", ps_codec->s_parse.s_cu.i4_cu_transquant_bypass,
1202 if(ps_codec->s_parse.s_cu.i4_cu_transquant_bypass)
1330 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
1331 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
1342 ps_codec->s_parse.s_cu.i4_tu_cnt++;
1345 ps_codec->s_parse.s_cu.i4_pred_mode = PRED_MODE_SKIP;
1346 ps_codec->s_parse.s_cu.i4_part_mode = PART_2Nx2N;
1398 ps_codec->s_parse.s_cu.i4_pred_mode = pred_mode;
1457 ps_codec->s_parse.s_cu.i4_part_mode = part_mode;
1459 if((PRED_MODE_INTRA == ps_codec->s_parse.s_cu.i4_pred_mode) &&
1460 (PART_NxN == ps_codec->s_parse.s_cu.i4_part_mode))
1464 ps_codec->s_parse.s_cu.i4_part_mode = part_mode;
1465 ps_codec->s_parse.s_cu.i4_intra_split_flag = intra_split_flag;
1594 ps_codec->s_parse.s_cu.i4_max_trafo_depth = (pred_mode == PRED_MODE_INTRA) ?
1599 ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0]);
1619 ps_tu->b6_luma_intra_mode = ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0];
1623 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
1624 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
1634 ps_codec->s_parse.s_cu.i4_tu_cnt++;
1693 ps_codec->s_parse.s_cu.i4_pos_x = cu_pos_x;
1694 ps_codec->s_parse.s_cu.i4_pos_y = cu_pos_y;
1696 ps_codec->s_parse.s_cu.i4_log2_cb_size = log2_cb_size;
1832 WORD32 cu_pos_x = ps_codec->s_parse.s_cu.i4_pos_x << 3;
1833 WORD32 cu_pos_y = ps_codec->s_parse.s_cu.i4_pos_y << 3;
1843 ps_codec->s_parse.s_cu.i4_cu_qp_delta = 0;
1861 WORD32 cb_size = 1 << ps_codec->s_parse.s_cu.i4_log2_cb_size;
1863 cu_pos_x = ps_codec->s_parse.s_cu.i4_pos_x << 3;
1864 cu_pos_y = ps_codec->s_parse.s_cu.i4_pos_y << 3;
1883 /* Since qp_pred + ps_codec->s_parse.s_cu.i4_cu_qp_delta can be negative,
1885 qp = (qp_pred + ps_codec->s_parse.s_cu.i4_cu_qp_delta + 52) % 52;
1897 ps_codec->s_parse.s_cu.i4_qp = qp;
1903 ps_tu_tmp = ps_tu - ps_codec->s_parse.s_cu.i4_tu_cnt;
1912 if(ps_codec->s_parse.s_cu.i4_cu_qp_delta)
2600 ps_codec->s_parse.s_cu.i4_tu_cnt++;
2603 ps_codec->s_parse.s_cu.i4_pred_mode = PRED_MODE_SKIP;
2604 ps_codec->s_parse.s_cu.i4_part_mode = PART_2Nx2N;
2612 ps_pu->b3_part_mode = ps_codec->s_parse.s_cu.i4_part_mode;