MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_decode_internal_sync

Function ff_decode_internal_sync

libavcodec/decode.c:2351–2364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2349}
2350
2351av_cold void ff_decode_internal_sync(AVCodecContext *dst, const AVCodecContext *src)
2352{
2353 const DecodeContext *src_dc = decode_ctx(src->internal);
2354 DecodeContext *dst_dc = decode_ctx(dst->internal);
2355
2356 dst_dc->initial_pict_type = src_dc->initial_pict_type;
2357 dst_dc->intra_only_flag = src_dc->intra_only_flag;
2358 dst_dc->side_data_pref_mask = src_dc->side_data_pref_mask;
2359#if CONFIG_LIBLCEVC_DEC
2360 av_refstruct_replace(&dst_dc->lcevc.ctx, src_dc->lcevc.ctx);
2361 dst_dc->lcevc.width = src_dc->lcevc.width;
2362 dst_dc->lcevc.height = src_dc->lcevc.height;
2363#endif
2364}
2365
2366av_cold void ff_decode_internal_uninit(AVCodecContext *avctx)
2367{

Callers 2

init_threadFunction · 0.85

Calls 2

decode_ctxFunction · 0.85
av_refstruct_replaceFunction · 0.85

Tested by

no test coverage detected