Home
last modified time | relevance | path

Searched refs:slice_offsets (Results 1 – 7 of 7) 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.c356 int ret, slice_number, slice_offsets[5]; in decode_speedhq_field() local
369 slice_offsets[0] = start; in decode_speedhq_field()
370 slice_offsets[4] = end; in decode_speedhq_field()
374 last_offset = slice_offsets[slice_number - 1]; in decode_speedhq_field()
376 slice_offsets[slice_number] = last_offset + slice_len; in decode_speedhq_field()
378 if (slice_len < 3 || slice_offsets[slice_number] > end - 3) in decode_speedhq_field()
386 slice_begin = slice_offsets[slice_number]; in decode_speedhq_field()
387 slice_end = slice_offsets[slice_number + 1]; in decode_speedhq_field()
Dnvdec.c272 av_freep(&ctx->slice_offsets); in ff_nvdec_decode_uninit()
650 pp->pSliceDataOffsets = ctx->slice_offsets; in ff_nvdec_end_frame()
680 tmp = av_fast_realloc(ctx->slice_offsets, &ctx->slice_offsets_allocated, in ff_nvdec_simple_decode_slice()
681 (ctx->nb_slices + 1) * sizeof(*ctx->slice_offsets)); in ff_nvdec_simple_decode_slice()
684 ctx->slice_offsets = tmp; in ff_nvdec_simple_decode_slice()
689 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.c2047 uint32_t *slice_offsets = NULL; in process_output_surface() local
2066 slice_offsets = av_mallocz(slice_mode_data * sizeof(*slice_offsets)); in process_output_surface()
2068 if (!slice_offsets) { in process_output_surface()
2077 lock_params.sliceOffsets = slice_offsets; in process_output_surface()
2148 av_free(slice_offsets); in process_output_surface()
2156 av_free(slice_offsets); in process_output_surface()