Lines Matching defs:ps_tu
244 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
268 /* Initialize ps_tu to default values */
270 ps_tu->b1_cb_cbf = 0;
271 ps_tu->b1_cr_cbf = 0;
272 ps_tu->b1_y_cbf = 0;
273 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
274 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
275 ps_tu->b1_transquant_bypass = ps_codec->s_parse.s_cu.i4_cu_transquant_bypass;
276 ps_tu->b3_size = (log2_trafo_size - 2);
277 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
279 ps_tu->b6_luma_intra_mode = intra_pred_mode;
280 ps_tu->b3_chroma_intra_mode_idx = ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx;
337 ps_tu->b1_y_cbf = 1;
358 ps_tu->b1_cb_cbf = 1;
364 ps_tu->b1_cr_cbf = 1;
372 ps_tu->b1_cb_cbf = 1;
378 ps_tu->b1_cr_cbf = 1;
384 //ps_tu->b1_chroma_present = 0;
385 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
392 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
398 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
399 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
401 ps_tu->b1_first_tu_in_cu = 1;
405 ps_tu->b1_first_tu_in_cu = 0;
408 ps_codec->s_parse.ps_tu++;
552 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
558 UNUSED(ps_tu);
972 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
1017 ps_tu = ps_codec->s_parse.ps_tu;
1018 ps_tu->b1_cb_cbf = 1;
1019 ps_tu->b1_cr_cbf = 1;
1020 ps_tu->b1_y_cbf = 1;
1021 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
1022 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
1023 ps_tu->b1_transquant_bypass = 1;
1024 ps_tu->b3_size = (log2_cb_size - 2);
1025 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1026 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
1027 ps_tu->b6_luma_intra_mode = INTRA_PRED_NONE;
1031 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
1032 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
1034 ps_tu->b1_first_tu_in_cu = 1;
1038 ps_tu->b1_first_tu_in_cu = 0;
1075 /* Increment ps_tu and tu_idx */
1076 ps_codec->s_parse.ps_tu++;
1179 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
1210 /* Update transquant_bypass in ps_tu */
1330 ps_tu->b1_cb_cbf = 0;
1331 ps_tu->b1_cr_cbf = 0;
1332 ps_tu->b1_y_cbf = 0;
1333 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
1334 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
1335 ps_tu->b1_transquant_bypass = 0;
1336 ps_tu->b3_size = (log2_cb_size - 2);
1337 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1338 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
1339 ps_tu->b6_luma_intra_mode = INTRA_PRED_NONE;
1343 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
1344 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
1346 ps_tu->b1_first_tu_in_cu = 1;
1350 ps_tu->b1_first_tu_in_cu = 0;
1354 ps_codec->s_parse.ps_tu++;
1623 ps_tu = ps_codec->s_parse.ps_tu;
1624 ps_tu->b1_cb_cbf = 0;
1625 ps_tu->b1_cr_cbf = 0;
1626 ps_tu->b1_y_cbf = 0;
1627 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
1628 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
1629 ps_tu->b1_transquant_bypass = 0;
1630 ps_tu->b3_size = (log2_cb_size - 2);
1631 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1632 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
1633 ps_tu->b6_luma_intra_mode = ps_codec->s_parse.s_cu.ai4_intra_luma_pred_mode[0];
1637 if((ps_codec->s_parse.s_cu.i4_pos_x << 3) == (ps_tu->b4_pos_x << 2) &&
1638 (ps_codec->s_parse.s_cu.i4_pos_y << 3) == (ps_tu->b4_pos_y << 2))
1640 ps_tu->b1_first_tu_in_cu = 1;
1644 ps_tu->b1_first_tu_in_cu = 0;
1647 ps_codec->s_parse.ps_tu++;
1885 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
1928 ps_tu_tmp = ps_tu - ps_codec->s_parse.s_cu.i4_tu_cnt;
1929 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1930 while(ps_tu_tmp != ps_tu)
2411 ps_codec->s_parse.ps_tu = ps_codec->s_parse.ps_pic_tu;
2625 tu_t *ps_tups_tu;
2656 ps_codec->s_parse.ps_tu = ps_tu;
2663 ps_tu->b1_cb_cbf = 0;
2664 ps_tu->b1_cr_cbf = 0;
2665 ps_tu->b1_y_cbf = 0;
2666 ps_tu->b4_pos_x = 0;
2667 ps_tu->b4_pos_y = 0;
2668 ps_tu->b1_transquant_bypass = 0;
2669 ps_tu->b3_size = (ps_sps->i1_log2_ctb_size - 2);
2670 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
2671 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
2672 ps_tu->b6_luma_intra_mode = INTRA_PRED_NONE;
2673 ps_tu->b1_first_tu_in_cu = 1;
2679 ps_codec->s_parse.ps_tu++;
2709 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
2712 ps_tu->b1_cb_cbf = 0;
2713 ps_tu->b1_cr_cbf = 0;
2714 ps_tu->b1_y_cbf = 0;
2715 ps_tu->b4_pos_x = 0;
2716 ps_tu->b4_pos_y = 0;
2717 ps_tu->b1_transquant_bypass = 0;
2718 ps_tu->b3_size = (ps_sps->i1_log2_ctb_size - 2);
2719 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
2720 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
2721 ps_tu->b6_luma_intra_mode = INTRA_PRED_NONE;
2722 ps_tu->b1_first_tu_in_cu = 1;
2724 ps_codec->s_parse.ps_tu++;
2892 tu_t *ps_tu;
2917 ps_tu = &ps_codec->s_parse.ps_pic_tu[cur_tu_idx];
2921 pu1_qp[0] = ps_tu->b7_qp;
2925 for(i = 0; i < i4_ctb_tu_cnt; i++, ps_tu++)
2932 start_pos_x = ps_tu->b4_pos_x;
2933 start_pos_y = ps_tu->b4_pos_y;
2935 tu_size = 1 << (ps_tu->b3_size + 2);
2945 pu1_qp[(row >> 1) * qp_strd + (col >> 1)] = ps_tu->b7_qp;
3203 ps_codec->s_parse.s_bs_ctxt.ps_tu = &ps_codec->s_parse.ps_pic_tu[cur_tu_idx];