public class avdevice extends avdevice
Modifier and Type | Field and Description |
---|---|
static int |
AV_APP_TO_DEV_GET_MUTE |
static int |
AV_APP_TO_DEV_GET_VOLUME |
static int |
AV_APP_TO_DEV_MUTE |
static int |
AV_APP_TO_DEV_NONE |
static int |
AV_APP_TO_DEV_PAUSE |
static int |
AV_APP_TO_DEV_PLAY |
static int |
AV_APP_TO_DEV_SET_VOLUME |
static int |
AV_APP_TO_DEV_TOGGLE_MUTE |
static int |
AV_APP_TO_DEV_TOGGLE_PAUSE |
static int |
AV_APP_TO_DEV_UNMUTE |
static int |
AV_APP_TO_DEV_WINDOW_REPAINT |
static int |
AV_APP_TO_DEV_WINDOW_SIZE |
static int |
AV_DEV_TO_APP_BUFFER_OVERFLOW |
static int |
AV_DEV_TO_APP_BUFFER_READABLE |
static int |
AV_DEV_TO_APP_BUFFER_UNDERFLOW |
static int |
AV_DEV_TO_APP_BUFFER_WRITABLE |
static int |
AV_DEV_TO_APP_CREATE_WINDOW_BUFFER |
static int |
AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER |
static int |
AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER |
static int |
AV_DEV_TO_APP_MUTE_STATE_CHANGED |
static int |
AV_DEV_TO_APP_NONE |
static int |
AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER |
static int |
AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED |
Constructor and Description |
---|
avdevice() |
public static final int AV_APP_TO_DEV_NONE
public static final int AV_APP_TO_DEV_WINDOW_SIZE
public static final int AV_APP_TO_DEV_WINDOW_REPAINT
public static final int AV_APP_TO_DEV_PAUSE
public static final int AV_APP_TO_DEV_PLAY
public static final int AV_APP_TO_DEV_TOGGLE_PAUSE
public static final int AV_APP_TO_DEV_SET_VOLUME
public static final int AV_APP_TO_DEV_MUTE
public static final int AV_APP_TO_DEV_UNMUTE
public static final int AV_APP_TO_DEV_TOGGLE_MUTE
public static final int AV_APP_TO_DEV_GET_VOLUME
public static final int AV_APP_TO_DEV_GET_MUTE
public static final int AV_DEV_TO_APP_NONE
public static final int AV_DEV_TO_APP_CREATE_WINDOW_BUFFER
public static final int AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER
public static final int AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER
public static final int AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER
public static final int AV_DEV_TO_APP_BUFFER_OVERFLOW
public static final int AV_DEV_TO_APP_BUFFER_UNDERFLOW
public static final int AV_DEV_TO_APP_BUFFER_READABLE
public static final int AV_DEV_TO_APP_BUFFER_WRITABLE
public static final int AV_DEV_TO_APP_MUTE_STATE_CHANGED
public static final int AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED
@NoException @Cast(value="unsigned") public static int avdevice_version()
@NoException @Cast(value="const char*") public static BytePointer avdevice_configuration()
@NoException @Cast(value="const char*") public static BytePointer avdevice_license()
@NoException public static void avdevice_register_all()
@NoException public static AVInputFormat av_input_audio_device_next(AVInputFormat d)
@NoException public static AVInputFormat av_input_video_device_next(AVInputFormat d)
@NoException public static AVOutputFormat av_output_audio_device_next(AVOutputFormat d)
@NoException public static AVOutputFormat av_output_video_device_next(AVOutputFormat d)
@MemberGetter public static int AV_APP_TO_DEV_NONE()
@MemberGetter public static int AV_APP_TO_DEV_WINDOW_SIZE()
@MemberGetter public static int AV_APP_TO_DEV_WINDOW_REPAINT()
@MemberGetter public static int AV_APP_TO_DEV_PAUSE()
@MemberGetter public static int AV_APP_TO_DEV_PLAY()
@MemberGetter public static int AV_APP_TO_DEV_TOGGLE_PAUSE()
@MemberGetter public static int AV_APP_TO_DEV_SET_VOLUME()
@MemberGetter public static int AV_APP_TO_DEV_MUTE()
@MemberGetter public static int AV_APP_TO_DEV_UNMUTE()
@MemberGetter public static int AV_APP_TO_DEV_TOGGLE_MUTE()
@MemberGetter public static int AV_APP_TO_DEV_GET_VOLUME()
@MemberGetter public static int AV_APP_TO_DEV_GET_MUTE()
@MemberGetter public static int AV_DEV_TO_APP_NONE()
@MemberGetter public static int AV_DEV_TO_APP_CREATE_WINDOW_BUFFER()
@MemberGetter public static int AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER()
@MemberGetter public static int AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER()
@MemberGetter public static int AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER()
@MemberGetter public static int AV_DEV_TO_APP_BUFFER_OVERFLOW()
@MemberGetter public static int AV_DEV_TO_APP_BUFFER_UNDERFLOW()
@MemberGetter public static int AV_DEV_TO_APP_BUFFER_READABLE()
@MemberGetter public static int AV_DEV_TO_APP_BUFFER_WRITABLE()
@MemberGetter public static int AV_DEV_TO_APP_MUTE_STATE_CHANGED()
@MemberGetter public static int AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED()
@NoException public static int avdevice_app_to_dev_control_message(AVFormatContext s, @Cast(value="AVAppToDevMessageType") int type, Pointer data, @Cast(value="size_t") long data_size)
s
- device context.type
- message type.data
- message data. Exact type depends on message type.data_size
- size of message data.@NoException public static int avdevice_dev_to_app_control_message(AVFormatContext s, @Cast(value="AVDevToAppMessageType") int type, Pointer data, @Cast(value="size_t") long data_size)
s
- device context.type
- message type.data
- message data. Can be NULL.data_size
- size of message data.@NoException public static int avdevice_capabilities_create(@Cast(value="AVDeviceCapabilitiesQuery**") PointerPointer caps, AVFormatContext s, @Cast(value="AVDictionary**") PointerPointer device_options)
caps
- [out] Device capabilities data. Pointer to a NULL pointer must be passed.s
- Context of the device.device_options
- An AVDictionary filled with device-private options.
On return this parameter will be destroyed and replaced with a dict
containing options that were not found. May be NULL.
The same options must be passed later to avformat_write_header() for output
devices or avformat_open_input() for input devices, or at any other place
that affects device-private options.@NoException public static int avdevice_capabilities_create(@ByPtrPtr AVDeviceCapabilitiesQuery caps, AVFormatContext s, @ByPtrPtr AVDictionary device_options)
@NoException public static void avdevice_capabilities_free(@Cast(value="AVDeviceCapabilitiesQuery**") PointerPointer caps, AVFormatContext s)
caps
- Device capabilities data to be freed.s
- Context of the device.@NoException public static void avdevice_capabilities_free(@ByPtrPtr AVDeviceCapabilitiesQuery caps, AVFormatContext s)
@NoException public static int avdevice_list_devices(AVFormatContext s, @Cast(value="AVDeviceInfoList**") PointerPointer device_list)
s
- device context.device_list
- [out] list of autodetected devices.@NoException public static int avdevice_list_devices(AVFormatContext s, @ByPtrPtr AVDeviceInfoList device_list)
@NoException public static void avdevice_free_list_devices(@Cast(value="AVDeviceInfoList**") PointerPointer device_list)
devices
- device list to be freed.@NoException public static void avdevice_free_list_devices(@ByPtrPtr AVDeviceInfoList device_list)
@NoException public static int avdevice_list_input_sources(AVInputFormat device, @Cast(value="const char*") BytePointer device_name, AVDictionary device_options, @Cast(value="AVDeviceInfoList**") PointerPointer device_list)
device
- device format. May be NULL if device name is set.device_name
- device name. May be NULL if device format is set.device_options
- An AVDictionary filled with device-private options. May be NULL.
The same options must be passed later to avformat_write_header() for output
devices or avformat_open_input() for input devices, or at any other place
that affects device-private options.device_list
- [out] list of autodetected devices@NoException public static int avdevice_list_input_sources(AVInputFormat device, @Cast(value="const char*") BytePointer device_name, AVDictionary device_options, @ByPtrPtr AVDeviceInfoList device_list)
@NoException public static int avdevice_list_input_sources(AVInputFormat device, String device_name, AVDictionary device_options, @ByPtrPtr AVDeviceInfoList device_list)
@NoException public static int avdevice_list_output_sinks(AVOutputFormat device, @Cast(value="const char*") BytePointer device_name, AVDictionary device_options, @Cast(value="AVDeviceInfoList**") PointerPointer device_list)
@NoException public static int avdevice_list_output_sinks(AVOutputFormat device, @Cast(value="const char*") BytePointer device_name, AVDictionary device_options, @ByPtrPtr AVDeviceInfoList device_list)
@NoException public static int avdevice_list_output_sinks(AVOutputFormat device, String device_name, AVDictionary device_options, @ByPtrPtr AVDeviceInfoList device_list)
Copyright © 2020. All rights reserved.