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

Function nvdec_mjpeg_frame_params

libavcodec/nvdec_mjpeg.c:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68static int nvdec_mjpeg_frame_params(AVCodecContext *avctx,
69 AVBufferRef *hw_frames_ctx)
70{
71 // Only need storage for the current frame
72 return ff_nvdec_frame_params(avctx, hw_frames_ctx, 1, 0);
73}
74
75const FFHWAccel ff_mjpeg_nvdec_hwaccel = {
76 .p.name = "mjpeg_nvdec",

Callers

nothing calls this directly

Calls 1

ff_nvdec_frame_paramsFunction · 0.85

Tested by

no test coverage detected