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

Function wmv2_decode_init

libavcodec/wmv2dec.c:462–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460}
461
462static av_cold int wmv2_decode_init(AVCodecContext *avctx){
463 Wmv2Context * const w= avctx->priv_data;
464
465 if(avctx->idct_algo==FF_IDCT_AUTO){
466 avctx->idct_algo=FF_IDCT_WMV2;
467 }
468
469 if(ff_msmpeg4_decode_init(avctx) < 0)
470 return -1;
471
472 ff_wmv2_common_init(w);
473
474 ff_intrax8_common_init(&w->x8,&w->s);
475
476 return 0;
477}
478
479static av_cold int wmv2_decode_end(AVCodecContext *avctx)
480{

Callers

nothing calls this directly

Calls 3

ff_msmpeg4_decode_initFunction · 0.85
ff_wmv2_common_initFunction · 0.85
ff_intrax8_common_initFunction · 0.85

Tested by

no test coverage detected