FFmpeg
|
#include "config.h"
#include <stdint.h>
#include <string.h>
#include <vdpau/vdpau.h>
#include "buffer.h"
#include "common.h"
#include "hwcontext.h"
#include "hwcontext_internal.h"
#include "hwcontext_vdpau.h"
#include "mem.h"
#include "pixfmt.h"
#include "pixdesc.h"
Go to the source code of this file.
Data Structures | |
struct | VDPAUDeviceContext |
struct | VDPAUFramesContext |
struct | VDPAUPixFmtMap |
Macros | |
#define | GET_CALLBACK(id, result) |
Functions | |
static int | count_pixfmts (const VDPAUPixFmtMap *map) |
static int | vdpau_init_pixmfts (AVHWDeviceContext *ctx) |
static int | vdpau_device_init (AVHWDeviceContext *ctx) |
static void | vdpau_device_uninit (AVHWDeviceContext *ctx) |
static void | vdpau_buffer_free (void *opaque, uint8_t *data) |
static AVBufferRef * | vdpau_pool_alloc (void *opaque, int size) |
static int | vdpau_frames_init (AVHWFramesContext *ctx) |
static int | vdpau_get_buffer (AVHWFramesContext *ctx, AVFrame *frame) |
static int | vdpau_transfer_get_formats (AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats) |
static int | vdpau_transfer_data_from (AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src) |
static int | vdpau_transfer_data_to (AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src) |
Variables | |
static const VDPAUPixFmtMap | pix_fmts_420 [] |
static const VDPAUPixFmtMap | pix_fmts_422 [] |
static const VDPAUPixFmtMap | pix_fmts_444 [] |
struct { | |
VdpChromaType chroma_type | |
const VDPAUPixFmtMap * map | |
} | vdpau_pix_fmts [] |
const HWContextType | ff_hwcontext_type_vdpau |
#define GET_CALLBACK | ( | id, | |
result | |||
) |
Referenced by vdpau_device_init().
|
static |
Definition at line 89 of file hwcontext_vdpau.c.
Referenced by vdpau_init_pixmfts().
|
static |
Definition at line 99 of file hwcontext_vdpau.c.
Referenced by vdpau_device_init().
|
static |
Definition at line 130 of file hwcontext_vdpau.c.
|
static |
Definition at line 164 of file hwcontext_vdpau.c.
Definition at line 173 of file hwcontext_vdpau.c.
Referenced by vdpau_pool_alloc().
|
static |
Definition at line 182 of file hwcontext_vdpau.c.
Referenced by vdpau_frames_init().
|
static |
Definition at line 210 of file hwcontext_vdpau.c.
|
static |
Definition at line 253 of file hwcontext_vdpau.c.
|
static |
Definition at line 267 of file hwcontext_vdpau.c.
|
static |
Definition at line 291 of file hwcontext_vdpau.c.
|
static |
Definition at line 342 of file hwcontext_vdpau.c.
|
static |
Definition at line 61 of file hwcontext_vdpau.c.
|
static |
Definition at line 67 of file hwcontext_vdpau.c.
|
static |
Definition at line 75 of file hwcontext_vdpau.c.
VdpChromaType chroma_type |
Definition at line 81 of file hwcontext_vdpau.c.
Referenced by vdpau_frames_init().
const VDPAUPixFmtMap* map |
Definition at line 82 of file hwcontext_vdpau.c.
Referenced by av_get_pcm_codec(), bidir_refine(), create_map(), decode_frame(), epzs_motion_search_internal(), ff_huff_gen_len_table(), ff_opus_parse_extradata(), fill_colmap(), fill_rgb2yuv_table(), filter_frame(), fps_umf2avr(), generate_joint_tables(), get_channel_label(), init(), ls_encode_regular(), ls_encode_runterm(), ls_get_code_runterm(), match_streams(), new_audio_stream(), open_output_file(), opt_map(), opus_decode_packet(), qpel_motion_search(), read_map(), sab_diamond_search(), set_frame(), small_diamond_search(), vaapi_map_frame(), vaapi_transfer_data_from(), vaapi_transfer_data_to(), vaapi_unmap_frame(), vdpau_init_pixmfts(), vdpau_transfer_data_from(), vdpau_transfer_data_to(), and wmv2_get_cbp_table_index().
const { ... } vdpau_pix_fmts[] |
Referenced by vdpau_frames_init(), vdpau_init_pixmfts(), vdpau_transfer_data_from(), and vdpau_transfer_data_to().
const HWContextType ff_hwcontext_type_vdpau |
Definition at line 469 of file hwcontext_vdpau.c.