Lines Matching defs:ps_tile
2179 tile_t *ps_tile, *ps_tile_prev;
2232 ps_codec->s_parse.ps_tile = ps_pps->ps_tile + tile_idx;
2234 ps_tile = ps_codec->s_parse.ps_tile;
2236 ps_tile_prev = ps_tile - 1;
2238 ps_tile_prev = ps_tile;
2397 && (!((ps_tile->u1_pos_x == 0) && (ps_tile->u1_pos_y == 0)))
2410 ps_codec->s_parse.ps_tile = ps_pps->ps_tile + tile_idx;
2412 ps_tile_prev = ps_tile - 1;
2414 tile_start_ctb_idx = ps_tile->u1_pos_x
2415 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
2426 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y - ps_slice_hdr->i2_ctb_y;
2427 if(!(((ps_slice_hdr->i2_ctb_x + ps_tile_prev->u2_wd) % ps_sps->i2_pic_wd_in_ctb) == ps_tile->u1_pos_x)) //Case 2
2429 if(ps_slice_hdr->i2_ctb_y <= ps_tile->u1_pos_y)
2432 if(ps_slice_hdr->i2_ctb_x > ps_tile->u1_pos_x)
2438 /*ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y - ps_slice_hdr->i2_ctb_y;
2439 if (ps_slice_hdr->i2_ctb_y <= ps_tile->u1_pos_y)
2442 if (ps_slice_hdr->i2_ctb_x > ps_tile->u1_pos_x )
2472 s_job.i2_ctb_cnt = (WORD16)ps_tile->u2_wd;
2494 ps_proc->i4_ctb_cnt = ps_tile->u2_wd;
2646 if((ps_codec->s_parse.i4_ctb_tile_x + 1) == (ps_tile->u2_wd))
2649 if((ps_codec->s_parse.i4_ctb_tile_y + 1) == ps_tile->u2_ht)
2678 if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb))
2680 ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) + ps_tile->u1_pos_x; //idx is the beginning of next row in current tile.
2681 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1))
2684 if((ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb)))
2690 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1;
2708 if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb))
2710 ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) + ps_tile->u1_pos_x; //idx is the beginning of next row in current tile.
2711 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1))
2714 if((ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb)))
2721 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1;
2732 if((ps_tile->u2_wd == (ps_codec->s_parse.i4_ctb_tile_x + 1)) && (ps_tile->u2_wd != ps_sps->i2_pic_wd_in_ctb))
2734 ctb_indx = (ps_sps->i2_pic_wd_in_ctb * (ps_codec->s_parse.i4_ctb_tile_y + 1 + ps_tile->u1_pos_y)) + ps_tile->u1_pos_x; //idx is the beginning of next row in current tile.
2735 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1))
2738 if((ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb) && ((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb)))
2744 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1;
2841 tile_start_ctb_idx = ps_tile->u1_pos_x
2842 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
2854 i2_wd_in_ctb = ps_tile->u2_wd;
2899 if(((ps_sps->i2_pic_wd_in_ctb - 1) == ps_codec->s_parse.i4_ctb_x) || ((ps_tile->u2_wd - 1) == ps_codec->s_parse.i4_ctb_tile_x))
2939 s_mv_ctxt.ps_tile = ps_tile;
3087 ps_codec->s_parse.s_bs_ctxt.ps_tile = ps_codec->s_parse.ps_tile;
3139 tile_start_ctb_idx = ps_tile->u1_pos_x
3140 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
3147 if(ps_codec->s_parse.i4_ctb_slice_x == (ps_tile->u1_pos_x + ps_tile->u2_wd))
3151 ps_codec->s_parse.i4_ctb_slice_x = ps_tile->u1_pos_x; //todo:Check
3155 else if(ps_codec->s_parse.i4_ctb_slice_x == (ps_tile->u2_wd))
3163 if(ps_codec->s_parse.i4_ctb_slice_x == ps_tile->u2_wd)
3172 if(ps_codec->s_parse.i4_ctb_tile_x == (ps_tile->u2_wd))
3176 ps_codec->s_parse.i4_ctb_x = ps_tile->u1_pos_x;
3181 if(ps_codec->s_parse.i4_ctb_tile_y == (ps_tile->u2_ht))
3186 ps_codec->s_parse.ps_tile++;
3188 if((ps_tile->u2_ht + ps_tile->u1_pos_y == ps_sps->i2_pic_ht_in_ctb) && (ps_tile->u2_wd + ps_tile->u1_pos_x == ps_sps->i2_pic_wd_in_ctb))
3198 ps_tile = ps_codec->s_parse.ps_tile;
3199 ps_codec->s_parse.i4_ctb_x = ps_tile->u1_pos_x;
3200 ps_codec->s_parse.i4_ctb_y = ps_tile->u1_pos_y;
3203 ps_codec->s_parse.i4_ctb_slice_x = ps_tile->u1_pos_x;
3204 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y;
3233 ps_proc->i4_ctb_cnt = ps_proc->ps_tile->u2_wd;