#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 "h264dec.h"
#include "hwaccel_internal.h"
Go to the source code of this file.
|
| static void | dpb_add (const H264Context *h, CUVIDH264DPBENTRY *dst, const H264Picture *src, int frame_idx) |
| |
| static int | nvdec_h264_start_frame (AVCodecContext *avctx, const AVBufferRef *buffer_ref, const uint8_t *buffer, uint32_t size) |
| |
| static int | nvdec_h264_decode_slice (AVCodecContext *avctx, const uint8_t *buffer, uint32_t size) |
| |
| static int | nvdec_h264_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx, enum AVPixelFormat hw_format) |
| |
◆ dpb_add()
| static void dpb_add |
( |
const H264Context * |
h, |
|
|
CUVIDH264DPBENTRY * |
dst, |
|
|
const H264Picture * |
src, |
|
|
int |
frame_idx |
|
) |
| |
|
static |
◆ nvdec_h264_start_frame()
| static int nvdec_h264_start_frame |
( |
AVCodecContext * |
avctx, |
|
|
const AVBufferRef * |
buffer_ref, |
|
|
const uint8_t * |
buffer, |
|
|
uint32_t |
size |
|
) |
| |
|
static |
◆ nvdec_h264_decode_slice()
| static int nvdec_h264_decode_slice |
( |
AVCodecContext * |
avctx, |
|
|
const uint8_t * |
buffer, |
|
|
uint32_t |
size |
|
) |
| |
|
static |
◆ nvdec_h264_frame_params()