|
FFmpeg
4.4.6
|
#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 | VDPAUPixFmtMap |
| struct | VDPAUDeviceContext |
| struct | VDPAUFramesContext |
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, buffer_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) |
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 147 of file hwcontext_vdpau.c.
|
static |
Definition at line 106 of file hwcontext_vdpau.c.
Referenced by vdpau_init_pixmfts().
|
static |
Definition at line 116 of file hwcontext_vdpau.c.
Referenced by vdpau_device_init().
|
static |
Definition at line 158 of file hwcontext_vdpau.c.
|
static |
Definition at line 181 of file hwcontext_vdpau.c.
|
static |
Definition at line 190 of file hwcontext_vdpau.c.
Definition at line 219 of file hwcontext_vdpau.c.
Referenced by vdpau_pool_alloc().
|
static |
Definition at line 228 of file hwcontext_vdpau.c.
Referenced by vdpau_frames_init().
|
static |
Definition at line 256 of file hwcontext_vdpau.c.
|
static |
Definition at line 291 of file hwcontext_vdpau.c.
|
static |
Definition at line 305 of file hwcontext_vdpau.c.
|
static |
Definition at line 329 of file hwcontext_vdpau.c.
|
static |
Definition at line 387 of file hwcontext_vdpau.c.
|
static |
Definition at line 40 of file hwcontext_vdpau.c.
|
static |
Definition at line 50 of file hwcontext_vdpau.c.
|
static |
Definition at line 58 of file hwcontext_vdpau.c.
| VdpChromaType chroma_type |
Definition at line 69 of file hwcontext_vdpau.c.
| enum AVPixelFormat frames_sw_format |
Definition at line 69 of file hwcontext_vdpau.c.
Referenced by vdpau_frames_init().
| const VDPAUPixFmtMap* map |
Definition at line 71 of file hwcontext_vdpau.c.
Referenced by ac3_decode_frame(), aptx_insert_sync(), 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_audio_data_copy(), ff_huff_gen_len_table(), ff_opus_parse_extradata(), 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_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(), match_streams(), new_audio_stream(), open_output_file(), opencl_map_frame(), opencl_unmap_frame(), opt_map(), opus_decode_packet(), parse_mapping(), 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(), 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().
| 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 507 of file hwcontext_vdpau.c.