Home | History | Annotate | Download | only in decoder

Lines Matching refs:ps_tu

237             tu_t *ps_tu = ps_codec->s_parse.ps_tu;
261 /* Initialize ps_tu to default values */
263 ps_tu->b1_cb_cbf = 0;
264 ps_tu->b1_cr_cbf = 0;
265 ps_tu->b1_y_cbf = 0;
266 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
267 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
268 ps_tu->b1_transquant_bypass = ps_codec->s_parse.s_cu.i4_cu_transquant_bypass;
269 ps_tu->b3_size = (log2_trafo_size - 2);
270 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
272 ps_tu->b6_luma_intra_mode = intra_pred_mode;
273 ps_tu->b3_chroma_intra_mode_idx = ps_codec->s_parse.s_cu.i4_intra_chroma_pred_mode_idx;
324 ps_tu->b1_y_cbf = 1;
345 ps_tu->b1_cb_cbf = 1;
351 ps_tu->b1_cr_cbf = 1;
359 ps_tu->b1_cb_cbf = 1;
365 ps_tu->b1_cr_cbf = 1;
371 //ps_tu->b1_chroma_present = 0;
372 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
379 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
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))
388 ps_tu->b1_first_tu_in_cu = 1;
392 ps_tu->b1_first_tu_in_cu = 0;
395 ps_codec->s_parse.ps_tu++;
539 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
545 UNUSED(ps_tu);
959 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
1004 ps_tu = ps_codec->s_parse.ps_tu;
1005 ps_tu->b1_cb_cbf = 1;
1006 ps_tu->b1_cr_cbf = 1;
1007 ps_tu->b1_y_cbf = 1;
1008 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
1009 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
1010 ps_tu->b1_transquant_bypass = 1;
1011 ps_tu->b3_size = (log2_cb_size - 2);
1012 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1013 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
1014 ps_tu->b6_luma_intra_mode = INTRA_PRED_NONE;
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))
1021 ps_tu->b1_first_tu_in_cu = 1;
1025 ps_tu->b1_first_tu_in_cu = 0;
1062 /* Increment ps_tu and tu_idx */
1063 ps_codec->s_parse.ps_tu++;
1166 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
1197 /* Update transquant_bypass in ps_tu */
1317 ps_tu->b1_cb_cbf = 0;
1318 ps_tu->b1_cr_cbf = 0;
1319 ps_tu->b1_y_cbf = 0;
1320 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
1321 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
1322 ps_tu->b1_transquant_bypass = 0;
1323 ps_tu->b3_size = (log2_cb_size - 2);
1324 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1325 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
1326 ps_tu->b6_luma_intra_mode = INTRA_PRED_NONE;
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))
1333 ps_tu->b1_first_tu_in_cu = 1;
1337 ps_tu->b1_first_tu_in_cu = 0;
1341 ps_codec->s_parse.ps_tu++;
1609 ps_tu = ps_codec->s_parse.ps_tu;
1610 ps_tu->b1_cb_cbf = 0;
1611 ps_tu->b1_cr_cbf = 0;
1612 ps_tu->b1_y_cbf = 0;
1613 ps_tu->b4_pos_x = ((x0 - ctb_x_base) >> 2);
1614 ps_tu->b4_pos_y = ((y0 - ctb_y_base) >> 2);
1615 ps_tu->b1_transquant_bypass = 0;
1616 ps_tu->b3_size = (log2_cb_size - 2);
1617 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1618 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
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))
1626 ps_tu->b1_first_tu_in_cu = 1;
1630 ps_tu->b1_first_tu_in_cu = 0;
1633 ps_codec->s_parse.ps_tu++;
1860 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
1903 ps_tu_tmp = ps_tu - ps_codec->s_parse.s_cu.i4_tu_cnt;
1904 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
1905 while(ps_tu_tmp != ps_tu)
2381 ps_codec->s_parse.ps_tu = ps_codec->s_parse.ps_pic_tu;
2584 tu_t *ps_tu = ps_codec->s_parse.ps_tu;
2587 ps_tu->b1_cb_cbf = 0;
2588 ps_tu->b1_cr_cbf = 0;
2589 ps_tu->b1_y_cbf = 0;
2590 ps_tu->b4_pos_x = 0;
2591 ps_tu->b4_pos_y = 0;
2592 ps_tu->b1_transquant_bypass = 0;
2593 ps_tu->b3_size = (ps_sps->i1_log2_ctb_size - 2);
2594 ps_tu->b7_qp = ps_codec->s_parse.u4_qp;
2595 ps_tu->b3_chroma_intra_mode_idx = INTRA_PRED_CHROMA_IDX_NONE;
2596 ps_tu->b6_luma_intra_mode = INTRA_PRED_NONE;
2597 ps_tu->b1_first_tu_in_cu = 1;
2599 ps_codec->s_parse.ps_tu++;
3005 ps_codec->s_parse.s_bs_ctxt.ps_tu = &ps_codec->s_parse.ps_pic_tu[cur_tu_idx];