| 66 | } |
| 67 | |
| 68 | static 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 | |
| 75 | const FFHWAccel ff_mjpeg_nvdec_hwaccel = { |
| 76 | .p.name = "mjpeg_nvdec", |
nothing calls this directly
no test coverage detected