Lines Matching refs:num_entry_point_offsets

905     sh->num_entry_point_offsets = 0;
907 unsigned num_entry_point_offsets = get_ue_golomb_long(gb);
909 if (num_entry_point_offsets > get_bits_left(gb)) {
910 av_log(s->avctx, AV_LOG_ERROR, "num_entry_point_offsets %d is invalid\n", num_entry_point_offsets);
914 sh->num_entry_point_offsets = num_entry_point_offsets;
915 if (sh->num_entry_point_offsets > 0) {
919 sh->num_entry_point_offsets = 0;
927 sh->entry_point_offset = av_malloc_array(sh->num_entry_point_offsets, sizeof(unsigned));
928 sh->offset = av_malloc_array(sh->num_entry_point_offsets, sizeof(int));
929 sh->size = av_malloc_array(sh->num_entry_point_offsets, sizeof(int));
931 sh->num_entry_point_offsets = 0;
935 for (i = 0; i < sh->num_entry_point_offsets; i++) {
2601 if (!more_data && (x_ctb+ctb_size) < s->ps.sps->width && ctb_row != s->sh.num_entry_point_offsets) {
2634 int *ret = av_malloc_array(s->sh.num_entry_point_offsets + 1, sizeof(int));
2635 int *arg = av_malloc_array(s->sh.num_entry_point_offsets + 1, sizeof(int));
2646 if (s->sh.slice_ctb_addr_rs + s->sh.num_entry_point_offsets * s->ps.sps->ctb_width >= s->ps.sps->ctb_width * s->ps.sps->ctb_height) {
2648 s->sh.slice_ctb_addr_rs, s->sh.num_entry_point_offsets,
2655 ff_alloc_entries(s->avctx, s->sh.num_entry_point_offsets + 1);
2681 for (i = 1; i < s->sh.num_entry_point_offsets; i++) {
2694 if (s->sh.num_entry_point_offsets != 0) {
2695 offset += s->sh.entry_point_offset[s->sh.num_entry_point_offsets - 1] - cmpt;
2701 s->sh.size[s->sh.num_entry_point_offsets - 1] = length - offset;
2702 s->sh.offset[s->sh.num_entry_point_offsets - 1] = offset;
2717 for (i = 0; i <= s->sh.num_entry_point_offsets; i++) {
2723 s->avctx->execute2(s->avctx, hls_decode_entry_wpp, arg, ret, s->sh.num_entry_point_offsets + 1);
2725 for (i = 0; i <= s->sh.num_entry_point_offsets; i++)
3257 if (s->threads_number > 1 && s->sh.num_entry_point_offsets > 0)