FFmpeg
Functions
nvdec_hevc.c File Reference
#include "config_components.h"
#include <stdint.h>
#include <string.h>
#include "libavutil/mem.h"
#include "avcodec.h"
#include "nvdec.h"
#include "decode.h"
#include "internal.h"
#include "hevc/hevcdec.h"
#include "hevc/data.h"
#include "hwaccel_internal.h"

Go to the source code of this file.

Functions

static void dpb_add (CUVIDHEVCPICPARAMS *pp, int idx, const HEVCFrame *src)
 
static void fill_scaling_lists (CUVIDHEVCPICPARAMS *ppc, const HEVCContext *s)
 
static int nvdec_hevc_start_frame (AVCodecContext *avctx, const AVBufferRef *buffer_ref, const uint8_t *buffer, uint32_t size)
 
static int nvdec_hevc_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int nvdec_hevc_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx, enum AVPixelFormat hw_format)
 
static int nvdec_hevc_decode_init (AVCodecContext *avctx)
 

Function Documentation

◆ dpb_add()

static void dpb_add ( CUVIDHEVCPICPARAMS *  pp,
int  idx,
const HEVCFrame src 
)
static

Definition at line 37 of file nvdec_hevc.c.

Referenced by nvdec_hevc_start_frame().

◆ fill_scaling_lists()

static void fill_scaling_lists ( CUVIDHEVCPICPARAMS *  ppc,
const HEVCContext s 
)
static

Definition at line 47 of file nvdec_hevc.c.

Referenced by nvdec_hevc_start_frame().

◆ nvdec_hevc_start_frame()

static int nvdec_hevc_start_frame ( AVCodecContext avctx,
const AVBufferRef buffer_ref,
const uint8_t *  buffer,
uint32_t  size 
)
static

Definition at line 74 of file nvdec_hevc.c.

◆ nvdec_hevc_decode_slice()

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

Definition at line 276 of file nvdec_hevc.c.

◆ nvdec_hevc_frame_params()

static int nvdec_hevc_frame_params ( AVCodecContext avctx,
AVBufferRef hw_frames_ctx,
enum AVPixelFormat  hw_format 
)
static

Definition at line 303 of file nvdec_hevc.c.

◆ nvdec_hevc_decode_init()

static int nvdec_hevc_decode_init ( AVCodecContext avctx)
static

Definition at line 314 of file nvdec_hevc.c.