Home | History | Annotate | Download | only in decoder

Lines Matching defs:ps_tile

2204     tile_t *ps_tile, *ps_tile_prev;
2257 ps_codec->s_parse.ps_tile = ps_pps->ps_tile + tile_idx;
2259 ps_tile = ps_codec->s_parse.ps_tile;
2261 ps_tile_prev = ps_tile - 1;
2263 ps_tile_prev = ps_tile;
2428 && (!((ps_tile->u1_pos_x == 0) && (ps_tile->u1_pos_y == 0)))
2441 ps_codec->s_parse.ps_tile = ps_pps->ps_tile + tile_idx;
2443 ps_tile_prev = ps_tile - 1;
2445 tile_start_ctb_idx = ps_tile->u1_pos_x
2446 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
2457 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y - ps_slice_hdr->i2_ctb_y;
2458 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
2460 if(ps_slice_hdr->i2_ctb_y <= ps_tile->u1_pos_y)
2463 if(ps_slice_hdr->i2_ctb_x > ps_tile->u1_pos_x)
2469 /*ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y - ps_slice_hdr->i2_ctb_y;
2470 if (ps_slice_hdr->i2_ctb_y <= ps_tile->u1_pos_y)
2473 if (ps_slice_hdr->i2_ctb_x > ps_tile->u1_pos_x )
2509 s_job.i2_ctb_cnt = (WORD16)ps_tile->u2_wd;
2531 ps_proc->i4_ctb_cnt = ps_tile->u2_wd;
2769 if((ps_codec->s_parse.i4_ctb_tile_x + 1) == (ps_tile->u2_wd))
2772 if((ps_codec->s_parse.i4_ctb_tile_y + 1) == ps_tile->u2_ht)
2801 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))
2803 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.
2804 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1))
2807 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)))
2813 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1;
2831 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))
2833 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.
2834 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1))
2837 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)))
2844 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1;
2855 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))
2857 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.
2858 if(ps_tile->u2_ht == (ps_codec->s_parse.i4_ctb_tile_y + 1))
2861 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)))
2867 tile_t *ps_next_tile = ps_codec->s_parse.ps_tile + 1;
2964 tile_start_ctb_idx = ps_tile->u1_pos_x
2965 + ps_tile
2977 i2_wd_in_ctb = ps_tile->u2_wd;
3022 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))
3062 s_mv_ctxt.ps_tile = ps_tile;
3210 ps_codec->s_parse.s_bs_ctxt.ps_tile = ps_codec->s_parse.ps_tile;
3263 tile_start_ctb_idx = ps_tile->u1_pos_x
3264 + ps_tile->u1_pos_y * (ps_sps->i2_pic_wd_in_ctb);
3271 if(ps_codec->s_parse.i4_ctb_slice_x == (ps_tile->u1_pos_x + ps_tile->u2_wd))
3275 ps_codec->s_parse.i4_ctb_slice_x = ps_tile->u1_pos_x; //todo:Check
3279 else if(ps_codec->s_parse.i4_ctb_slice_x == (ps_tile->u2_wd))
3287 if(ps_codec->s_parse.i4_ctb_slice_x == ps_tile->u2_wd)
3296 ps_tile->u2_wd))
3300 ps_codec->s_parse.i4_ctb_x = ps_tile->u1_pos_x;
3305 if(ps_codec->s_parse.i4_ctb_tile_y == (ps_tile->u2_ht))
3310 ps_codec->s_parse.ps_tile++;
3312 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))
3322 ps_tile = ps_codec->s_parse.ps_tile;
3323 ps_codec->s_parse.i4_ctb_x = ps_tile->u1_pos_x;
3324 ps_codec->s_parse.i4_ctb_y = ps_tile->u1_pos_y;
3327 ps_codec->s_parse.i4_ctb_slice_x = ps_tile->u1_pos_x;
3328 ps_codec->s_parse.i4_ctb_slice_y = ps_tile->u1_pos_y;
3357 ps_proc->i4_ctb_cnt = ps_proc->ps_tile->u2_wd;