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

Function nvdec_mpeg12_frame_params

libavcodec/nvdec_mpeg12.c:98–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98static int nvdec_mpeg12_frame_params(AVCodecContext *avctx,
99 AVBufferRef *hw_frames_ctx)
100{
101 // Each frame can at most have one P and one B reference
102 return ff_nvdec_frame_params(avctx, hw_frames_ctx, 2, 0);
103}
104
105#if CONFIG_MPEG2_NVDEC_HWACCEL
106const FFHWAccel ff_mpeg2_nvdec_hwaccel = {

Callers

nothing calls this directly

Calls 1

ff_nvdec_frame_paramsFunction · 0.85

Tested by

no test coverage detected