FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
nvdec.h File Reference
#include "compat/cuda/dynlink_loader.h"
#include <stdint.h>
#include "libavutil/buffer.h"
#include "libavutil/frame.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  NVDECFrame
 
struct  NVDECContext
 

Functions

int ff_nvdec_decode_init (AVCodecContext *avctx)
 
int ff_nvdec_decode_uninit (AVCodecContext *avctx)
 
int ff_nvdec_start_frame (AVCodecContext *avctx, AVFrame *frame)
 
int ff_nvdec_end_frame (AVCodecContext *avctx)
 
int ff_nvdec_simple_end_frame (AVCodecContext *avctx)
 
int ff_nvdec_simple_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
int ff_nvdec_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx, int dpb_size)
 
int ff_nvdec_get_ref_idx (AVFrame *frame)
 

Function Documentation

int ff_nvdec_decode_init ( AVCodecContext avctx)

Definition at line 263 of file nvdec.c.

int ff_nvdec_decode_uninit ( AVCodecContext avctx)

Definition at line 245 of file nvdec.c.

Referenced by ff_nvdec_decode_init().

int ff_nvdec_start_frame ( AVCodecContext avctx,
AVFrame frame 
)
int ff_nvdec_end_frame ( AVCodecContext avctx)

Definition at line 459 of file nvdec.c.

Referenced by ff_nvdec_simple_end_frame().

int ff_nvdec_simple_end_frame ( AVCodecContext avctx)

Definition at line 493 of file nvdec.c.

int ff_nvdec_simple_decode_slice ( AVCodecContext avctx,
const uint8_t buffer,
uint32_t  size 
)

Definition at line 501 of file nvdec.c.

Referenced by nvdec_mpeg4_start_frame().

int ff_nvdec_frame_params ( AVCodecContext avctx,
AVBufferRef hw_frames_ctx,
int  dpb_size 
)
int ff_nvdec_get_ref_idx ( AVFrame frame)