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 int | vdpau_frames_get_constraints (AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints) |
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 | |
enum AVPixelFormat frames_sw_format | |
const VDPAUPixFmtMap * map | |
} | vdpau_pix_fmts [] |
const HWContextType | ff_hwcontext_type_vdpau |
#define GET_CALLBACK | ( | id, | |
result | |||
) |
Definition at line 131 of file hwcontext_vdpau.c.
Referenced by vdpau_device_init().
|
static |
Definition at line 90 of file hwcontext_vdpau.c.
Referenced by vdpau_init_pixmfts().
|
static |
Definition at line 100 of file hwcontext_vdpau.c.
Referenced by vdpau_device_init().
|
static |
Definition at line 142 of file hwcontext_vdpau.c.
|
static |
Definition at line 165 of file hwcontext_vdpau.c.
|
static |
Definition at line 174 of file hwcontext_vdpau.c.
Definition at line 203 of file hwcontext_vdpau.c.
Referenced by vdpau_pool_alloc().
|
static |
Definition at line 212 of file hwcontext_vdpau.c.
Referenced by vdpau_frames_init().
|
static |
Definition at line 240 of file hwcontext_vdpau.c.
|
static |
Definition at line 275 of file hwcontext_vdpau.c.
|
static |
Definition at line 289 of file hwcontext_vdpau.c.
|
static |
Definition at line 313 of file hwcontext_vdpau.c.
|
static |
Definition at line 364 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.
enum AVPixelFormat frames_sw_format |
Definition at line 82 of file hwcontext_vdpau.c.
Referenced by vdpau_frames_init().
const VDPAUPixFmtMap* map |
Definition at line 83 of file hwcontext_vdpau.c.
Referenced by ac3_decode_frame(), aptx_insert_sync(), av_get_pcm_codec(), bidir_refine(), create_map(), d3d11va_transfer_data(), decode_frame(), drm_map_frame(), drm_transfer_data_from(), drm_transfer_data_to(), drm_unmap_frame(), dxva2_map_frame(), dxva2_transfer_data_from(), dxva2_transfer_data_to(), epzs_motion_search_internal(), ff_huff_gen_len_table(), ff_opus_parse_extradata(), fill_colmap(), fill_rgb2yuv_table(), filter_frame(), fits_decode_frame(), fits_encode_frame(), fps_umf2avr(), generate_joint_tables(), get_channel_label(), hwmap_filter_frame(), init(), ls_encode_regular(), ls_encode_runterm(), ls_get_code_runterm(), match_streams(), new_audio_stream(), open_output_file(), opencl_map_frame(), opencl_unmap_frame(), opt_map(), opus_decode_packet(), qpel_motion_search(), read_map(), sab_diamond_search(), 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(), vt_transfer_data_from(), vt_transfer_data_to(), and wmv2_get_cbp_table_index().
const { ... } vdpau_pix_fmts[] |
Referenced by vdpau_frames_get_constraints(), vdpau_frames_init(), vdpau_init_pixmfts(), vdpau_transfer_data_from(), and vdpau_transfer_data_to().
const HWContextType ff_hwcontext_type_vdpau |
Definition at line 480 of file hwcontext_vdpau.c.