#include "avcodec.h"
#include "internal.h"
#include "mjpegdec.h"
#include "nvdec.h"
#include "decode.h"
#include "hwaccel_internal.h"
Go to the source code of this file.
◆ nvdec_mjpeg_start_frame()
| static int nvdec_mjpeg_start_frame |
( |
AVCodecContext * | avctx, |
|
|
const AVBufferRef * | buffer_ref, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
|
static |
◆ nvdec_mjpeg_decode_slice()
| static int nvdec_mjpeg_decode_slice |
( |
AVCodecContext * | avctx, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
|
static |
◆ nvdec_mjpeg_frame_params()
◆ ff_mjpeg_nvdec_hwaccel
Initial value:= {
.p.name = "mjpeg_nvdec",
}
int ff_nvdec_simple_end_frame(AVCodecContext *avctx)
int ff_nvdec_decode_init(AVCodecContext *avctx)
int ff_nvdec_decode_uninit(AVCodecContext *avctx)
static int nvdec_mjpeg_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
static int nvdec_mjpeg_start_frame(AVCodecContext *avctx, const AVBufferRef *buffer_ref, const uint8_t *buffer, uint32_t size)
static int nvdec_mjpeg_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
@ AV_PIX_FMT_CUDA
HW acceleration through CUDA.
Definition at line 75 of file nvdec_mjpeg.c.