#include <limits.h>
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "h264.h"
#include "vc1.h"
#include <assert.h>
#include "vdpau.h"
#include "vdpau_internal.h"
Go to the source code of this file.
|
static int | vdpau_error (VdpStatus status) |
|
AVVDPAUContext * | av_alloc_vdpaucontext (void) |
| allocation function for AVVDPAUContext
|
|
int | ff_vdpau_common_init (AVCodecContext *avctx, VdpDecoderProfile profile, int level) |
|
int | ff_vdpau_common_uninit (AVCodecContext *avctx) |
|
static int | ff_vdpau_common_reinit (AVCodecContext *avctx) |
|
int | ff_vdpau_common_start_frame (struct vdpau_picture_context *pic_ctx, av_unused const uint8_t *buffer, av_unused uint32_t size) |
|
int | ff_vdpau_common_end_frame (AVCodecContext *avctx, AVFrame *frame, struct vdpau_picture_context *pic_ctx) |
|
int | ff_vdpau_add_buffer (struct vdpau_picture_context *pic_ctx, const uint8_t *buf, uint32_t size) |
|
void | ff_vdpau_h264_set_reference_frames (H264Context *h) |
|
void | ff_vdpau_add_data_chunk (uint8_t *data, const uint8_t *buf, int buf_size) |
|
int | av_vdpau_get_profile (AVCodecContext *avctx, VdpDecoderProfile *profile) |
| Get a decoder profile that should be used for initializing a VDPAU decoder.
|
|
AVVDPAUContext * | av_vdpau_alloc_context (void) |
| Allocate an AVVDPAUContext.
|
|
int | av_vdpau_bind_context (AVCodecContext *avctx, VdpDevice device, VdpGetProcAddress *get_proc, unsigned flags) |
| Associate a VDPAU device with a codec context for hardware acceleration.
|
|
#define H264_RF_COUNT FF_ARRAY_ELEMS(render->info.h264.referenceFrames) |