FFmpeg
Data Fields
DdagrabContext Struct Reference

Data Fields

const AVClassclass
 
AVBufferRefdevice_ref
 
AVHWDeviceContextdevice_ctx
 
AVD3D11VADeviceContextdevice_hwctx
 
AVBufferRefframes_ref
 
AVHWFramesContextframes_ctx
 
AVD3D11VAFramesContextframes_hwctx
 
DXGI_OUTPUT_DESC output_desc
 
IDXGIOutputDuplication * dxgi_outdupl
 
AVFramelast_frame
 
int mouse_x
 
int mouse_y
 
ID3D11Texture2D * mouse_texture
 
ID3D11ShaderResourceView * mouse_resource_view
 
ID3D11Texture2D * mouse_xor_texture
 
ID3D11ShaderResourceView * mouse_xor_resource_view
 
AVRational time_base
 
int64_t time_frame
 
int64_t time_timeout
 
int64_t first_pts
 
DXGI_FORMAT raw_format
 
int raw_width
 
int raw_height
 
ID3D11Texture2D * probed_texture
 
ID3D11Texture2D * buffer_texture
 
ID3D11VertexShader * vertex_shader
 
ID3D11InputLayout * input_layout
 
ID3D11PixelShader * pixel_shader
 
ID3D11Buffer * const_buffer
 
ID3D11SamplerState * sampler_state
 
ID3D11BlendState * blend_state
 
ID3D11BlendState * blend_state_xor
 
int output_idx
 
int draw_mouse
 
AVRational framerate
 
int width
 
int height
 
int offset_x
 
int offset_y
 
int out_fmt
 
int allow_fallback
 
int force_fmt
 
int dup_frames
 

Detailed Description

Definition at line 55 of file vsrc_ddagrab.c.

Field Documentation

◆ class

const AVClass* DdagrabContext::class

Definition at line 56 of file vsrc_ddagrab.c.

◆ device_ref

AVBufferRef* DdagrabContext::device_ref

Definition at line 58 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), ddagrab_uninit(), and init_hwframes_ctx().

◆ device_ctx

AVHWDeviceContext* DdagrabContext::device_ctx

Definition at line 59 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props().

◆ device_hwctx

AVD3D11VADeviceContext* DdagrabContext::device_hwctx

◆ frames_ref

AVBufferRef* DdagrabContext::frames_ref

Definition at line 62 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), ddagrab_uninit(), and init_hwframes_ctx().

◆ frames_ctx

AVHWFramesContext* DdagrabContext::frames_ctx

Definition at line 63 of file vsrc_ddagrab.c.

Referenced by init_hwframes_ctx().

◆ frames_hwctx

AVD3D11VAFramesContext* DdagrabContext::frames_hwctx

Definition at line 64 of file vsrc_ddagrab.c.

Referenced by init_hwframes_ctx().

◆ output_desc

DXGI_OUTPUT_DESC DdagrabContext::output_desc

Definition at line 66 of file vsrc_ddagrab.c.

Referenced by init_dxgi_dda(), and update_mouse_pointer().

◆ dxgi_outdupl

IDXGIOutputDuplication* DdagrabContext::dxgi_outdupl

◆ last_frame

AVFrame* DdagrabContext::last_frame

Definition at line 68 of file vsrc_ddagrab.c.

Referenced by ddagrab_init(), ddagrab_request_frame(), and ddagrab_uninit().

◆ mouse_x

int DdagrabContext::mouse_x

Definition at line 70 of file vsrc_ddagrab.c.

Referenced by ddagrab_init(), and update_mouse_pointer().

◆ mouse_y

int DdagrabContext::mouse_y

Definition at line 70 of file vsrc_ddagrab.c.

Referenced by ddagrab_init(), and update_mouse_pointer().

◆ mouse_texture

ID3D11Texture2D* DdagrabContext::mouse_texture

Definition at line 71 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and update_mouse_pointer().

◆ mouse_resource_view

ID3D11ShaderResourceView* DdagrabContext::mouse_resource_view

Definition at line 72 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and update_mouse_pointer().

◆ mouse_xor_texture

ID3D11Texture2D* DdagrabContext::mouse_xor_texture

Definition at line 73 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and update_mouse_pointer().

◆ mouse_xor_resource_view

ID3D11ShaderResourceView* DdagrabContext::mouse_xor_resource_view

Definition at line 74 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and update_mouse_pointer().

◆ time_base

AVRational DdagrabContext::time_base

Definition at line 76 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and ddagrab_request_frame().

◆ time_frame

int64_t DdagrabContext::time_frame

Definition at line 77 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and ddagrab_request_frame().

◆ time_timeout

int64_t DdagrabContext::time_timeout

Definition at line 78 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and next_frame_internal().

◆ first_pts

int64_t DdagrabContext::first_pts

Definition at line 79 of file vsrc_ddagrab.c.

Referenced by ddagrab_request_frame().

◆ raw_format

DXGI_FORMAT DdagrabContext::raw_format

◆ raw_width

int DdagrabContext::raw_width

Definition at line 82 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), ddagrab_request_frame(), and probe_output_format().

◆ raw_height

int DdagrabContext::raw_height

Definition at line 83 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), ddagrab_request_frame(), and probe_output_format().

◆ probed_texture

ID3D11Texture2D* DdagrabContext::probed_texture

Definition at line 85 of file vsrc_ddagrab.c.

Referenced by ddagrab_request_frame(), ddagrab_uninit(), and probe_output_format().

◆ buffer_texture

ID3D11Texture2D* DdagrabContext::buffer_texture

Definition at line 86 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and next_frame_internal().

◆ vertex_shader

ID3D11VertexShader* DdagrabContext::vertex_shader

Definition at line 88 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and init_render_resources().

◆ input_layout

ID3D11InputLayout* DdagrabContext::input_layout

Definition at line 89 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and init_render_resources().

◆ pixel_shader

ID3D11PixelShader* DdagrabContext::pixel_shader

Definition at line 90 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and init_render_resources().

◆ const_buffer

ID3D11Buffer* DdagrabContext::const_buffer

Definition at line 91 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and init_render_resources().

◆ sampler_state

ID3D11SamplerState* DdagrabContext::sampler_state

Definition at line 92 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and init_render_resources().

◆ blend_state

ID3D11BlendState* DdagrabContext::blend_state

Definition at line 93 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and init_render_resources().

◆ blend_state_xor

ID3D11BlendState* DdagrabContext::blend_state_xor

Definition at line 94 of file vsrc_ddagrab.c.

Referenced by ddagrab_uninit(), and init_render_resources().

◆ output_idx

int DdagrabContext::output_idx

Definition at line 96 of file vsrc_ddagrab.c.

Referenced by init_dxgi_dda().

◆ draw_mouse

int DdagrabContext::draw_mouse

◆ framerate

AVRational DdagrabContext::framerate

Definition at line 98 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props().

◆ width

int DdagrabContext::width

◆ height

int DdagrabContext::height

◆ offset_x

int DdagrabContext::offset_x

Definition at line 101 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and ddagrab_request_frame().

◆ offset_y

int DdagrabContext::offset_y

Definition at line 102 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and ddagrab_request_frame().

◆ out_fmt

int DdagrabContext::out_fmt

Definition at line 103 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and init_dxgi_dda().

◆ allow_fallback

int DdagrabContext::allow_fallback

Definition at line 104 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and init_dxgi_dda().

◆ force_fmt

int DdagrabContext::force_fmt

Definition at line 105 of file vsrc_ddagrab.c.

Referenced by ddagrab_config_props(), and init_dxgi_dda().

◆ dup_frames

int DdagrabContext::dup_frames

Definition at line 106 of file vsrc_ddagrab.c.

Referenced by ddagrab_request_frame().


The documentation for this struct was generated from the following file: