| 2349 | } |
| 2350 | |
| 2351 | av_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 | |
| 2366 | av_cold void ff_decode_internal_uninit(AVCodecContext *avctx) |
| 2367 | { |
no test coverage detected