FFmpeg
Loading...
Searching...
No Matches
nvdec_vp8.c File Reference
#include "config_components.h"
#include "avcodec.h"
#include "nvdec.h"
#include "decode.h"
#include "hwaccel_internal.h"
#include "internal.h"
#include "vp8.h"

Go to the source code of this file.

Functions

static unsigned char safe_get_ref_idx (VP8Frame *frame)
 
static int nvdec_vp8_start_frame (AVCodecContext *avctx, const AVBufferRef *buffer_ref, const uint8_t *buffer, uint32_t size)
 
static int nvdec_vp8_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx, enum AVPixelFormat hw_format)
 

Function Documentation

◆ safe_get_ref_idx()

static unsigned char safe_get_ref_idx ( VP8Frame * frame)
static

Definition at line 32 of file nvdec_vp8.c.

Referenced by nvdec_vp8_start_frame().

◆ nvdec_vp8_start_frame()

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

Definition at line 37 of file nvdec_vp8.c.

◆ nvdec_vp8_frame_params()

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

Definition at line 91 of file nvdec_vp8.c.