FFmpeg
4.0
|
Go to the source code of this file.
Macros | |
#define | __stdcall |
#define | __cdecl |
#define | noreturn |
#define | __declspec(x) |
#define | STDAPI extern "C" HRESULT |
#define | STDMETHODIMP HRESULT __stdcall |
#define | STDMETHODIMP_(x) x __stdcall |
#define | STDMETHOD(x) virtual HRESULT x |
#define | STDMETHOD_(a, x) virtual a x |
#define | TRUE true |
#define | FALSE false |
#define | S_OK (0x00000000) |
#define | S_FALSE (0x00000001) |
#define | E_NOINTERFACE (0X80004002) |
#define | E_POINTER (0x80004003) |
#define | E_FAIL (0x80004005) |
#define | E_OUTOFMEMORY (0x8007000E) |
#define | INVALID_HANDLE_VALUE ((HANDLE)((LONG_PTR)-1)) |
#define | FAILED(hr) ((hr) & 0x80000000) |
#define | SUCCEEDED(hr) (!FAILED(hr)) |
#define | MAKEDWORD(a, b, c, d) (((a) << 24) | ((b) << 16) | ((c) << 8) | (d)) |
#define | MAKEWORD(a, b) (((a) << 8) | (b)) |
#define | lstrlen strlen |
#define | lstrcpy strcpy |
#define | lstrcmpi strcasecmp |
#define | _stricmp strcasecmp |
#define | InterlockedIncrement(x) __sync_fetch_and_add((x), 1) |
#define | InterlockedDecrement(x) __sync_fetch_and_sub((x), 1) |
#define | InterlockedCompareExchange(x, y, z) __sync_val_compare_and_swap(x,z,y) |
#define | UInt32x32To64(a, b) ( (uint64_t) ( ((uint64_t)((uint32_t)(a))) * ((uint32_t)(b)) ) ) |
#define | Int64ShrlMod32(a, b) ( (uint64_t) ( (uint64_t)(a) >> (b) ) ) |
#define | Int32x32To64(a, b) ((__int64)(((__int64)((long)(a))) * ((long)(b)))) |
#define | MulDiv(nNumber, nNumerator, nDenominator) (int32_t) (((int64_t) (nNumber) * (int64_t) (nNumerator) + (int64_t) ((nDenominator)/2)) / (int64_t) (nDenominator)) |
#define __stdcall |
Definition at line 21 of file windows2linux.h.
#define __cdecl |
Definition at line 22 of file windows2linux.h.
#define noreturn |
Definition at line 23 of file windows2linux.h.
#define __declspec | ( | x | ) |
Definition at line 24 of file windows2linux.h.
#define STDAPI extern "C" HRESULT |
Definition at line 25 of file windows2linux.h.
Definition at line 26 of file windows2linux.h.
#define STDMETHODIMP_ | ( | x | ) | x __stdcall |
Definition at line 27 of file windows2linux.h.
#define STDMETHOD | ( | x | ) | virtual HRESULT x |
Definition at line 29 of file windows2linux.h.
Definition at line 30 of file windows2linux.h.
#define TRUE true |
Definition at line 33 of file windows2linux.h.
Referenced by d3d11va_device_create(), ff_videotoolbox_uninit(), filter_frame(), gen_sub_text(), handler(), init(), setup_crossbar_options(), sigterm_handler(), term_init(), twolame_encode_init(), uninit(), and videostream_cb().
#define FALSE false |
Definition at line 37 of file windows2linux.h.
Referenced by amf_load_library(), d3d11va_default_lock(), dxva_get_decoder_configuration(), ff_dxva2_lock(), fill_data_unit_head(), gdigrab_region_wnd_init(), gen_sub_text(), init(), opencl_device_derive(), pthread_cond_init(), pthread_once(), receive_frame(), setup_crossbar_options(), sigterm_handler(), and videostream_cb().
#define S_OK (0x00000000) |
Definition at line 40 of file windows2linux.h.
Referenced by decklink_autodetect(), decklink_select_input(), decklink_setup_audio(), decklink_setup_video(), decklink_write_audio_packet(), decklink_write_video_packet(), DECLARE_QUERYINTERFACE(), dshow_cycle_formats(), dshow_cycle_pins(), dshow_open_device(), dshow_read_close(), dshow_read_header(), dshow_set_audio_buffer_size(), dshow_show_filter_properties(), dshow_try_setup_crossbar_options(), ff_copy_dshow_media_type(), ff_decklink_get_display_name(), ff_decklink_init_device(), ff_decklink_list_devices(), ff_decklink_list_formats(), ff_decklink_read_header(), ff_decklink_set_configs(), ff_decklink_set_format(), ff_decklink_write_header(), get_pkt_pts(), decklink_frame::GetBytes(), libAVEnumMediaTypes_Clone(), libAVEnumMediaTypes_Reset(), libAVEnumMediaTypes_Skip(), libAVEnumPins_Clone(), libAVEnumPins_Reset(), libAVEnumPins_Skip(), libAVFilter_EnumPins(), libAVFilter_FindPin(), libAVFilter_GetState(), libAVFilter_GetSyncSource(), libAVFilter_JoinFilterGraph(), libAVFilter_Pause(), libAVFilter_QueryFilterInfo(), libAVFilter_Run(), libAVFilter_SetSyncSource(), libAVFilter_Stop(), libAVMemInputPin_NotifyAllocator(), libAVMemInputPin_Receive(), libAVMemInputPin_ReceiveMultiple(), libAVPin_BeginFlush(), libAVPin_ConnectedTo(), libAVPin_Disconnect(), libAVPin_EndFlush(), libAVPin_EndOfStream(), libAVPin_EnumMediaTypes(), libAVPin_NewSegment(), libAVPin_QueryDirection(), libAVPin_QueryId(), libAVPin_QueryPinInfo(), libAVPin_ReceiveConnection(), decklink_output_callback::ScheduledFrameCompleted(), decklink_output_callback::ScheduledPlaybackHasStopped(), setup_crossbar_options(), decklink_input_callback::VideoInputFormatChanged(), and decklink_input_callback::VideoInputFrameArrived().
#define S_FALSE (0x00000001) |
Definition at line 41 of file windows2linux.h.
Referenced by DECLARE_QUERYINTERFACE(), dshow_read_header(), decklink_frame::GetAncillaryData(), decklink_frame::GetTimecode(), libAVEnumMediaTypes_Skip(), libAVEnumPins_Skip(), libAVMemInputPin_ReceiveCanBlock(), libAVPin_Disconnect(), and libAVPin_QueryAccept().
#define E_NOINTERFACE (0X80004002) |
Definition at line 42 of file windows2linux.h.
Referenced by decklink_frame::QueryInterface(), decklink_output_callback::QueryInterface(), and decklink_input_callback::QueryInterface().
#define E_POINTER (0x80004003) |
Definition at line 43 of file windows2linux.h.
Referenced by DECLARE_QUERYINTERFACE(), libAVEnumMediaTypes_Clone(), libAVEnumPins_Clone(), libAVFilter_EnumPins(), libAVFilter_FindPin(), libAVFilter_GetState(), libAVFilter_GetSyncSource(), libAVFilter_QueryFilterInfo(), libAVFilter_QueryVendorInfo(), libAVMemInputPin_Receive(), libAVPin_ConnectedTo(), libAVPin_ConnectionMediaType(), libAVPin_EnumMediaTypes(), libAVPin_QueryDirection(), libAVPin_QueryId(), libAVPin_QueryPinInfo(), and libAVPin_ReceiveConnection().
#define E_FAIL (0x80004005) |
Definition at line 44 of file windows2linux.h.
Referenced by DECLARE_QUERYINTERFACE().
#define E_OUTOFMEMORY (0x8007000E) |
Definition at line 45 of file windows2linux.h.
Referenced by DECLARE_QUERYINTERFACE(), ff_copy_dshow_media_type(), libAVEnumMediaTypes_Clone(), libAVEnumPins_Clone(), libAVFilter_EnumPins(), and libAVPin_EnumMediaTypes().
Definition at line 47 of file windows2linux.h.
Referenced by check_color_terminal(), color_printf(), d3d11va_device_init(), d3d11va_device_uninit(), dxva2_device_create(), dxva2_device_free(), dxva2_frames_init(), dxva2_frames_uninit(), ff_dxva2_decode_init(), ff_dxva2_lock(), and ff_dxva2_unlock().
#define FAILED | ( | hr | ) | ((hr) & 0x80000000) |
Definition at line 48 of file windows2linux.h.
Referenced by amf_load_library(), bufref_wrap_interface(), commit_bitstream_and_slice_buffer(), d3d11va_alloc_single(), d3d11va_create_staging_texture(), d3d11va_device_create(), d3d11va_device_init(), d3d11va_frames_init(), d3d11va_transfer_data(), dxva2_device_create(), dxva2_device_create9(), dxva2_device_create9ex(), dxva2_init_pool(), dxva2_map_frame(), ff_dxva2_commit_buffer(), ff_dxva2_common_end_frame(), and opencl_device_derive().
#define SUCCEEDED | ( | hr | ) | (!FAILED(hr)) |
Definition at line 49 of file windows2linux.h.
Referenced by amf_load_library(), d3d11va_device_create(), d3d11va_frames_get_constraints(), dxva_get_decoder_configuration(), and opencl_device_derive().
Definition at line 55 of file windows2linux.h.
Definition at line 56 of file windows2linux.h.
Referenced by ff_network_init().
#define lstrlen strlen |
Definition at line 58 of file windows2linux.h.
#define lstrcpy strcpy |
Definition at line 59 of file windows2linux.h.
#define lstrcmpi strcasecmp |
Definition at line 60 of file windows2linux.h.
#define _stricmp strcasecmp |
Definition at line 61 of file windows2linux.h.
#define InterlockedIncrement | ( | x | ) | __sync_fetch_and_add((x), 1) |
Definition at line 62 of file windows2linux.h.
#define InterlockedDecrement | ( | x | ) | __sync_fetch_and_sub((x), 1) |
Definition at line 63 of file windows2linux.h.
#define InterlockedCompareExchange | ( | x, | |
y, | |||
z | |||
) | __sync_val_compare_and_swap(x,z,y) |
Definition at line 65 of file windows2linux.h.
Definition at line 67 of file windows2linux.h.
Definition at line 68 of file windows2linux.h.
Definition at line 69 of file windows2linux.h.
#define MulDiv | ( | nNumber, | |
nNumerator, | |||
nDenominator | |||
) | (int32_t) (((int64_t) (nNumber) * (int64_t) (nNumerator) + (int64_t) ((nDenominator)/2)) / (int64_t) (nDenominator)) |
Definition at line 71 of file windows2linux.h.