Home
last modified time | relevance | path

Searched refs:slice_offsets (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dnvdec_av1.c296 tmp = av_fast_realloc(ctx->slice_offsets, &ctx->slice_offsets_allocated, in nvdec_av1_decode_slice()
297 ctx->nb_slices * 2 * sizeof(*ctx->slice_offsets)); in nvdec_av1_decode_slice()
301 ctx->slice_offsets = tmp; in nvdec_av1_decode_slice()
309 ctx->slice_offsets[i*2 ] = s->tile_group_info[i].tile_offset; in nvdec_av1_decode_slice()
310 ctx->slice_offsets[i*2 + 1] = ctx->slice_offsets[i*2] + s->tile_group_info[i].tile_size; in nvdec_av1_decode_slice()
326 …ctx->slice_offsets[tile_num*2 ] = ctx->bitstream_len + s->tile_group_info[tile_num].tile_offset; in nvdec_av1_decode_slice()
327 …ctx->slice_offsets[tile_num*2 + 1] = ctx->slice_offsets[tile_num*2] + s->tile_group_info[tile_num]… in nvdec_av1_decode_slice()
Dnvdec_h264.c146 tmp = av_fast_realloc(ctx->slice_offsets, &ctx->slice_offsets_allocated, in nvdec_h264_decode_slice()
147 (ctx->nb_slices + 1) * sizeof(*ctx->slice_offsets)); in nvdec_h264_decode_slice()
150 ctx->slice_offsets = tmp; in nvdec_h264_decode_slice()
154 ctx->slice_offsets[ctx->nb_slices] = ctx->bitstream_len ; in nvdec_h264_decode_slice()
Dspeedhq.c353 int ret, slice_number, slice_offsets[5]; in decode_speedhq_field() local
366 slice_offsets[0] = start; in decode_speedhq_field()
367 slice_offsets[4] = end; in decode_speedhq_field()
371 last_offset = slice_offsets[slice_number - 1]; in decode_speedhq_field()
373 slice_offsets[slice_number] = last_offset + slice_len; in decode_speedhq_field()
375 if (slice_len < 3 || slice_offsets[slice_number] > end - 3) in decode_speedhq_field()
383 slice_begin = slice_offsets[slice_number]; in decode_speedhq_field()
384 slice_end = slice_offsets[slice_number + 1]; in decode_speedhq_field()
Dnvdec.c271 av_freep(&ctx->slice_offsets); in ff_nvdec_decode_uninit()
649 pp->pSliceDataOffsets = ctx->slice_offsets; in ff_nvdec_end_frame()
679 tmp = av_fast_realloc(ctx->slice_offsets, &ctx->slice_offsets_allocated, in ff_nvdec_simple_decode_slice()
680 (ctx->nb_slices + 1) * sizeof(*ctx->slice_offsets)); in ff_nvdec_simple_decode_slice()
683 ctx->slice_offsets = tmp; in ff_nvdec_simple_decode_slice()
688 ctx->slice_offsets[ctx->nb_slices] = buffer - ctx->bitstream; in ff_nvdec_simple_decode_slice()
Dnvdec_hevc.c282 tmp = av_fast_realloc(ctx->slice_offsets, &ctx->slice_offsets_allocated, in nvdec_hevc_decode_slice()
283 (ctx->nb_slices + 1) * sizeof(*ctx->slice_offsets)); in nvdec_hevc_decode_slice()
286 ctx->slice_offsets = tmp; in nvdec_hevc_decode_slice()
290 ctx->slice_offsets[ctx->nb_slices] = ctx->bitstream_len ; in nvdec_hevc_decode_slice()
Dnvdec.h64 unsigned *slice_offsets; member
Dnvenc.c1940 uint32_t *slice_offsets = NULL; in process_output_surface() local
1959 slice_offsets = av_mallocz(slice_mode_data * sizeof(*slice_offsets)); in process_output_surface()
1961 if (!slice_offsets) { in process_output_surface()
1970 lock_params.sliceOffsets = slice_offsets; in process_output_surface()
2047 av_free(slice_offsets); in process_output_surface()
2055 av_free(slice_offsets); in process_output_surface()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvh264dec.c103 guint *slice_offsets; member
295 g_clear_pointer (&self->slice_offsets, g_free); in gst_nv_h264_dec_close()
819 self->slice_offsets = (guint *) g_realloc_n (self->slice_offsets, in gst_nv_h264_dec_decode_slice()
822 self->slice_offsets[self->num_slices] = self->bitstream_buffer_offset; in gst_nv_h264_dec_decode_slice()
824 self->slice_offsets[self->num_slices], self->num_slices); in gst_nv_h264_dec_decode_slice()
861 params->pSliceDataOffsets = self->slice_offsets; in gst_nv_h264_dec_end_picture()
Dgstnvh265dec.c103 guint *slice_offsets; member
247 g_clear_pointer (&self->slice_offsets, g_free); in gst_nv_h265_dec_close()
866 self->slice_offsets = (guint *) g_realloc_n (self->slice_offsets, in gst_nv_h265_dec_decode_slice()
869 self->slice_offsets[self->num_slices] = self->bitstream_buffer_offset; in gst_nv_h265_dec_decode_slice()
871 self->slice_offsets[self->num_slices], self->num_slices); in gst_nv_h265_dec_decode_slice()
904 params->pSliceDataOffsets = self->slice_offsets; in gst_nv_h265_dec_end_picture()