#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.
|
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, size_t 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) |
|
◆ GET_CALLBACK
Value:do { \
err = hwctx->get_proc_address(hwctx->device,
id, &
tmp); \
if (err != VDP_STATUS_OK) { \
} \
} while (0)
Definition at line 147 of file hwcontext_vdpau.c.
◆ count_pixfmts()
◆ vdpau_init_pixmfts()
◆ vdpau_device_init()
◆ vdpau_device_uninit()
◆ vdpau_frames_get_constraints()
◆ vdpau_buffer_free()
static void vdpau_buffer_free |
( |
void * |
opaque, |
|
|
uint8_t * |
data |
|
) |
| |
|
static |
◆ vdpau_pool_alloc()
static AVBufferRef* vdpau_pool_alloc |
( |
void * |
opaque, |
|
|
size_t |
size |
|
) |
| |
|
static |
◆ vdpau_frames_init()
◆ vdpau_get_buffer()
◆ vdpau_transfer_get_formats()
◆ vdpau_transfer_data_from()
◆ vdpau_transfer_data_to()
◆ pix_fmts_420
◆ pix_fmts_422
◆ pix_fmts_444
◆ chroma_type
VdpChromaType chroma_type |
◆ frames_sw_format
◆ map
Definition at line 71 of file hwcontext_vdpau.c.
Referenced by ac3_decode_frame(), ambisonic_order(), aptx_insert_sync(), av_get_pcm_codec(), av_spherical_tile_bounds(), bidir_refine(), colormap_insert(), colormap_nearest_node(), count_pixfmts(), create_map(), d3d11va_transfer_data(), decode_alcd(), decode_avcf(), decode_frame(), decode_inter_block(), decode_inter_blocks(), decode_inter_plane(), decode_intra_block(), decode_intra_blocks(), decode_motion_vectors(), disp_node(), 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(), ff_tx_fft(), ff_tx_fft_inplace(), ff_vk_create_imageview(), fill_colmap(), fill_rgb2yuv_table(), fill_texture_ptrs(), filter_frame(), fits_decode_frame(), fits_encode_frame(), fps_umf2avr(), generate_joint_tables(), get_aac_tag(), get_channel(), get_channel_idx(), get_channel_label(), get_vs_prop_int(), gif_image_write_image(), hwmap_filter_frame(), init(), ls_encode_regular(), ls_encode_runterm(), ls_get_code_runterm(), make_block_map(), make_horizontal_map(), make_vertical_map(), map_init(), map_manual(), map_uninit(), match_streams(), mov_read_kind(), mov_write_track_kinds(), new_audio_stream(), opencl_map_frame(), opencl_unmap_frame(), opt_map(), opus_decode_packet(), parse_mapping(), parse_maps(), print_ctl_info(), qpel_motion_search(), read_code(), read_map(), remap_frame_to_palette(), sab_diamond_search(), set_default_ctl_value(), shrink_palette(), small_diamond_search(), tonemap(), 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(), vp6_build_huff_tree(), vt_transfer_data_from(), vt_transfer_data_to(), vulkan_map_frame_to_mem(), vulkan_unmap_frame(), and wmv2_get_cbp_table_index().
◆ vdpau_pix_fmts
const { ... } vdpau_pix_fmts[] |
◆ ff_hwcontext_type_vdpau
static int vdpau_frames_init(AVHWFramesContext *ctx)
This struct is allocated as AVHWDeviceContext.hwctx.
static const VDPAUPixFmtMap pix_fmts_422[]
static const VDPAUPixFmtMap pix_fmts_420[]
static int vdpau_frames_get_constraints(AVHWDeviceContext *ctx, const void *hwconfig, AVHWFramesConstraints *constraints)
static void vdpau_device_uninit(AVHWDeviceContext *ctx)
static int vdpau_transfer_data_to(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)
static int vdpau_transfer_get_formats(AVHWFramesContext *ctx, enum AVHWFrameTransferDirection dir, enum AVPixelFormat **formats)
static const VDPAUPixFmtMap pix_fmts_444[]
static int vdpau_transfer_data_from(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src)
static int vdpau_device_init(AVHWDeviceContext *ctx)
static int vdpau_get_buffer(AVHWFramesContext *ctx, AVFrame *frame)