FFmpeg
Functions
nvdec_mjpeg.c File Reference
#include "avcodec.h"
#include "internal.h"
#include "mjpegdec.h"
#include "nvdec.h"
#include "decode.h"

Go to the source code of this file.

Functions

static int nvdec_mjpeg_start_frame (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int nvdec_mjpeg_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int nvdec_mjpeg_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
 

Function Documentation

◆ nvdec_mjpeg_start_frame()

static int nvdec_mjpeg_start_frame ( AVCodecContext avctx,
const uint8_t *  buffer,
uint32_t  size 
)
static

Definition at line 29 of file nvdec_mjpeg.c.

◆ nvdec_mjpeg_decode_slice()

static int nvdec_mjpeg_decode_slice ( AVCodecContext avctx,
const uint8_t *  buffer,
uint32_t  size 
)
static

Definition at line 60 of file nvdec_mjpeg.c.

◆ nvdec_mjpeg_frame_params()

static int nvdec_mjpeg_frame_params ( AVCodecContext avctx,
AVBufferRef hw_frames_ctx 
)
static

Definition at line 65 of file nvdec_mjpeg.c.