FFmpeg
Loading...
Searching...
No Matches
nvdec_av1.c File Reference
#include "config_components.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "nvdec.h"
#include "decode.h"
#include "hwaccel_internal.h"
#include "internal.h"
#include "av1dec.h"

Go to the source code of this file.

Functions

static int get_bit_depth_from_seq (const AV1RawSequenceHeader *seq)
 
static int nvdec_av1_start_frame (AVCodecContext *avctx, const AVBufferRef *buffer_ref, const uint8_t *buffer, uint32_t size)
 
static int nvdec_av1_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
 
static int nvdec_av1_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx, enum AVPixelFormat hw_format)
 

Function Documentation

◆ get_bit_depth_from_seq()

static int get_bit_depth_from_seq ( const AV1RawSequenceHeader * seq)
static

Definition at line 34 of file nvdec_av1.c.

Referenced by nvdec_av1_start_frame().

◆ nvdec_av1_start_frame()

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

Definition at line 44 of file nvdec_av1.c.

◆ nvdec_av1_decode_slice()

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

Definition at line 291 of file nvdec_av1.c.

◆ nvdec_av1_frame_params()

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

Definition at line 338 of file nvdec_av1.c.