#include <stdint.h>
#include <vdpau/vdpau.h>
#include "libavutil/frame.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_vdpau.h"
#include "libavutil/refstruct.h"
#include "avcodec.h"
#include "vdpau.h"
Go to the source code of this file.
|
| static uintptr_t | ff_vdpau_get_surface_id (AVFrame *pic) |
| | Extract VdpVideoSurface from an AVFrame.
|
| |
| int | ff_vdpau_common_init (AVCodecContext *avctx, VdpDecoderProfile profile, int level) |
| |
| int | ff_vdpau_common_uninit (AVCodecContext *avctx) |
| |
| int | ff_vdpau_common_start_frame (struct vdpau_picture_context *pic, const uint8_t *buffer, uint32_t size) |
| |
| int | ff_vdpau_common_end_frame (AVCodecContext *avctx, AVFrame *frame, struct vdpau_picture_context *pic) |
| |
| void | ff_vdpau_free_frame_priv (AVRefStructOpaque hwctx, void *data) |
| |
| int | ff_vdpau_mpeg_end_frame (AVCodecContext *avctx) |
| |
| int | ff_vdpau_add_buffer (struct vdpau_picture_context *pic, const uint8_t *buf, uint32_t buf_size) |
| |
| int | ff_vdpau_common_frame_params (AVCodecContext *avctx, AVBufferRef *hw_frames_ctx) |
| |
◆ ff_vdpau_get_surface_id()
| static uintptr_t ff_vdpau_get_surface_id |
( |
AVFrame * | pic | ) |
|
|
inlinestatic |
◆ ff_vdpau_common_start_frame()
| int ff_vdpau_common_start_frame |
( |
struct vdpau_picture_context * | pic, |
|
|
const uint8_t * | buffer, |
|
|
uint32_t | size ) |
◆ ff_vdpau_mpeg_end_frame()