Home
last modified time | relevance | path

Searched refs:slice_idx (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/trace_processor/
Dslice_tracker.cc82 size_t slice_idx = in StartSlice() local
85 stack->emplace_back(slice_idx); in StartSlice()
87 slices->set_stack_id(slice_idx, GetStackHash(*stack)); in StartSlice()
123 size_t slice_idx = stack.back(); in End() local
127 if (cat && slices->cats()[slice_idx] != cat) in End()
129 if (name && slices->names()[slice_idx] != name) in End()
132 PERFETTO_DCHECK(slices->durations()[slice_idx] == kPendingDuration); in End()
133 slices->set_duration(slice_idx, timestamp - slices->start_ns()[slice_idx]); in End()
147 size_t slice_idx = (*stack)[static_cast<size_t>(i)]; in MaybeCloseStack() local
149 int64_t start_ts = slices.start_ns()[slice_idx]; in MaybeCloseStack()
[all …]
Devent_tracker.cc77 size_t slice_idx = prev_slice->storage_index; in PushSchedSwitch() local
78 if (slice_idx < std::numeric_limits<size_t>::max()) { in PushSchedSwitch()
81 int64_t duration = ts - slices->start_ns()[slice_idx]; in PushSchedSwitch()
82 slices->set_duration(slice_idx, duration); in PushSchedSwitch()
87 slices->set_end_state(slice_idx, ftrace_utils::TaskState( in PushSchedSwitch()
/external/libhevc/decoder/
Dihevcd_boundary_strength.c359 WORD32 slice_idx, left_slice_idx = -1, top_slice_idx = -1; in ihevcd_ctb_boundary_strength_islice() local
380 slice_idx = ps_bs_ctxt->pu1_slice_idx[ctb_addr]; in ihevcd_ctb_boundary_strength_islice()
387 … if(!((ps_bs_ctxt->ps_slice_hdr->i1_dependent_slice_flag == 1) && (slice_idx == left_slice_idx))) in ihevcd_ctb_boundary_strength_islice()
391 … ((slice_idx != left_slice_idx) && 0 == ps_bs_ctxt->i4_ctb_slice_y) || in ihevcd_ctb_boundary_strength_islice()
392 … ((0 == ps_bs_ctxt->i4_ctb_tile_x) && (slice_idx != left_slice_idx)))) || in ihevcd_ctb_boundary_strength_islice()
402 slice_idx = ps_bs_ctxt->pu1_slice_idx[ctb_addr]; in ihevcd_ctb_boundary_strength_islice()
412 … || (0 == i1_loop_filter_across_slices_enabled_flag && ((slice_idx != top_slice_idx))) in ihevcd_ctb_boundary_strength_islice()
915 WORD32 slice_idx, left_slice_idx = -1, top_slice_idx = -1; in ihevcd_ctb_boundary_strength_pbslice() local
936 slice_idx = ps_bs_ctxt->pu1_slice_idx[ctb_addr]; in ihevcd_ctb_boundary_strength_pbslice()
944 … if(!((ps_bs_ctxt->ps_slice_hdr->i1_dependent_slice_flag == 1) && (slice_idx == left_slice_idx))) in ihevcd_ctb_boundary_strength_pbslice()
[all …]
Dihevcd_mv_merge.c294 WORD32 slice_idx; in ihevcd_collocated_mvp() local
311slice_idx = *(ps_mv_buf_col->pu1_pic_slice_map + col_ctb_x + col_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_collocated_mvp()
312 slice_idx &= (MAX_SLICE_HDR_CNT - 1); in ihevcd_collocated_mvp()
316 ps_mv_buf_col->ai4_l0_collocated_poc[slice_idx][au4_ref_idx_col[0]]; in ihevcd_collocated_mvp()
318 … (ps_mv_buf_col->ai1_l0_collocated_poc_lt[slice_idx][au4_ref_idx_col[0]] == LONG_TERM_REF); in ihevcd_collocated_mvp()
323 ps_mv_buf_col->ai4_l1_collocated_poc[slice_idx][au4_ref_idx_col[0]]; in ihevcd_collocated_mvp()
325 … (ps_mv_buf_col->ai1_l1_collocated_poc_lt[slice_idx][au4_ref_idx_col[0]] == LONG_TERM_REF); in ihevcd_collocated_mvp()
361 … ps_mv_buf_col->ai4_l0_collocated_poc[slice_idx][au4_ref_idx_col[1]]; in ihevcd_collocated_mvp()
363 … (ps_mv_buf_col->ai1_l0_collocated_poc_lt[slice_idx][au4_ref_idx_col[1]] == LONG_TERM_REF); in ihevcd_collocated_mvp()
368 … ps_mv_buf_col->ai4_l1_collocated_poc[slice_idx][au4_ref_idx_col[1]]; in ihevcd_collocated_mvp()
[all …]
Dihevcd_parse_headers.h40 void ihevcd_copy_slice_hdr(codec_t *ps_codec, WORD32 slice_idx, WORD32 slice_idx_ref);
Dihevcd_utils.c863 WORD32 slice_idx; in ihevcd_parse_pic_init() local
868 for(slice_idx = slice_start_idx; slice_idx < MAX_SLICE_HDR_CNT; slice_idx++) in ihevcd_parse_pic_init()
870 slice_header_t *ps_slice_hdr_tmp = ps_codec->ps_slice_hdr_base + slice_idx; in ihevcd_parse_pic_init()
Dihevcd_parse_headers.c3286 void ihevcd_copy_slice_hdr(codec_t *ps_codec, WORD32 slice_idx, WORD32 slice_idx_ref) in ihevcd_copy_slice_hdr() argument
3291 ps_slice_hdr = ps_codec->s_parse.ps_slice_hdr_base + slice_idx; in ihevcd_copy_slice_hdr()
/external/libavc/encoder/
Dih264e_utils.c1934 WORD32 i4_mb_y = 0, slice_idx = 0, cnt; in ih264e_pic_init() local
1948 memset(pu1_slice_idx, slice_idx, cnt); in ih264e_pic_init()
1949 slice_idx++; in ih264e_pic_init()